HomeSort by: relevance | last modified time | path
    Searched refs:instrprof_error (Results 1 - 11 of 11) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/
InstrProfReader.cpp 67 return make_error<InstrProfError>(instrprof_error::too_large);
70 return make_error<InstrProfError>(instrprof_error::empty_raw_profile);
83 return make_error<InstrProfError>(instrprof_error::unrecognized_format);
118 return make_error<InstrProfError>(instrprof_error::too_large);
122 return make_error<InstrProfError>(instrprof_error::bad_magic);
174 return error(instrprof_error::bad_header);
188 return error(instrprof_error::truncated);
191 return error(instrprof_error::malformed);
207 return error(instrprof_error::malformed);
213 return error(instrprof_error::malformed)
    [all...]
InstrProf.cpp 77 static std::string getInstrProfErrString(instrprof_error Err) {
79 case instrprof_error::success:
81 case instrprof_error::eof:
83 case instrprof_error::unrecognized_format:
85 case instrprof_error::bad_magic:
87 case instrprof_error::bad_header:
89 case instrprof_error::unsupported_version:
91 case instrprof_error::unsupported_hash_type:
93 case instrprof_error::too_large:
95 case instrprof_error::truncated
    [all...]
InstrProfWriter.cpp 236 auto MapWarn = [&](instrprof_error E) {
422 return make_error<InstrProfError>(instrprof_error::invalid_prof);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
InstrProf.h 282 enum class instrprof_error { class in namespace:llvm
305 inline std::error_code make_error_code(instrprof_error E) {
311 InstrProfError(instrprof_error Err) : Err(Err) {
312 assert(Err != instrprof_error::success && "Not an error");
323 instrprof_error get() const { return Err; }
327 static instrprof_error take(Error E) {
328 auto Err = instrprof_error::success;
330 assert(Err == instrprof_error::success && "Multiple errors encountered");
339 instrprof_error Err;
347 instrprof_error FirstError = instrprof_error::success
    [all...]
InstrProfReader.h 73 instrprof_error LastError = instrprof_error::success;
114 Error error(instrprof_error Err) {
116 if (Err == instrprof_error::success)
124 Error success() { return error(instrprof_error::success); }
128 bool isEOF() { return LastError == instrprof_error::eof; }
131 bool hasError() { return LastError != instrprof_error::success && !isEOF(); }
InstrProfWriter.h 95 return make_error<InstrProfError>(instrprof_error::unsupported_version);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 79 instrprof_error instrError = IPE.get();
81 if (instrError == instrprof_error::unrecognized_format) {
117 auto IPE = instrprof_error::success;
127 if (IPE != instrprof_error::success) {
129 case instrprof_error::hash_mismatch:
130 case instrprof_error::count_mismatch:
131 case instrprof_error::value_site_count_mismatch:
198 SmallSet<instrprof_error, 4> &WriterErrorCodes;
201 SmallSet<instrprof_error, 4> &WriterErrorCodes)
216 instrprof_error IPE = InstrProfError::take(std::move(E))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp 248 instrprof_error IPE = InstrProfError::take(std::move(E));
249 if (IPE == instrprof_error::hash_mismatch) {
253 } else if (IPE != instrprof_error::unknown_function)
CoverageMappingReader.cpp 570 return make_error<InstrProfError>(instrprof_error::malformed);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenPGO.cpp 1029 if (IPE == llvm::instrprof_error::unknown_function)
1031 else if (IPE == llvm::instrprof_error::hash_mismatch)
1033 else if (IPE == llvm::instrprof_error::malformed)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
PGOInstrumentation.cpp 1286 if (Err == instrprof_error::unknown_function) {
1290 } else if (Err == instrprof_error::hash_mismatch ||
1291 Err == instrprof_error::malformed) {

Completed in 25 milliseconds