HomeSort by relevance Sort by last modified time
    Searched refs:instrprof_error (Results 1 - 10 of 10) sorted by null

  /external/llvm/lib/ProfileData/
InstrProf.cpp 36 std::string getInstrProfErrString(instrprof_error Err) {
38 case instrprof_error::success:
40 case instrprof_error::eof:
42 case instrprof_error::unrecognized_format:
44 case instrprof_error::bad_magic:
46 case instrprof_error::bad_header:
48 case instrprof_error::unsupported_version:
50 case instrprof_error::unsupported_hash_type:
52 case instrprof_error::too_large:
54 case instrprof_error::truncated
    [all...]
InstrProfReader.cpp 47 return make_error<InstrProfError>(instrprof_error::too_large);
60 return make_error<InstrProfError>(instrprof_error::unrecognized_format);
83 return make_error<InstrProfError>(instrprof_error::too_large);
87 return make_error<InstrProfError>(instrprof_error::bad_magic);
131 return error(instrprof_error::bad_header);
143 return error(instrprof_error::truncated);
146 return error(instrprof_error::malformed);
162 return error(instrprof_error::malformed);
168 return error(instrprof_error::malformed);
209 return error(instrprof_error::eof)
    [all...]
  /external/llvm/include/llvm/ProfileData/
InstrProfWriter.h 69 instrprof_error::unsupported_version);
InstrProf.h 279 enum class instrprof_error { class in namespace:llvm
299 inline std::error_code make_error_code(instrprof_error E) {
305 InstrProfError(instrprof_error Err) : Err(Err) {
306 assert(Err != instrprof_error::success && "Not an error");
317 instrprof_error get() const { return Err; }
321 static instrprof_error take(Error E) {
322 auto Err = instrprof_error::success;
324 assert(Err == instrprof_error::success && "Multiple errors encountered");
333 instrprof_error Err;
341 instrprof_error FirstError
    [all...]
InstrProfReader.h 53 instrprof_error LastError;
56 InstrProfReader() : LastError(instrprof_error::success), Symtab() {}
83 Error error(instrprof_error Err) {
85 if (Err == instrprof_error::success)
92 Error success() { return error(instrprof_error::success); }
96 bool isEOF() { return LastError == instrprof_error::eof; }
98 bool hasError() { return LastError != instrprof_error::success && !isEOF(); }
  /external/llvm/tools/llvm-profdata/
llvm-profdata.cpp 53 instrprof_error instrError = IPE.get();
55 if (instrError == instrprof_error::unrecognized_format) {
82 auto IPE = instrprof_error::success;
92 if (IPE != instrprof_error::success) {
94 case instrprof_error::hash_mismatch:
95 case instrprof_error::count_mismatch:
96 case instrprof_error::value_site_count_mismatch:
135 SmallSet<instrprof_error, 4> WriterErrorCodes;
149 instrprof_error IPE = InstrProfError::take(std::move(E));
  /external/llvm/unittests/ProfileData/
InstrProfTest.cpp 29 static ::testing::AssertionResult ErrorEquals(instrprof_error Expected,
31 instrprof_error Found;
111 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError()));
114 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError()));
137 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1)));
140 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2)));
571 instrprof_error::success);
577 instrprof_error::counter_overflow);
582 instrprof_error::success);
590 instrprof_error::success)
    [all...]
  /external/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp 198 instrprof_error IPE = InstrProfError::take(std::move(E));
199 if (IPE == instrprof_error::hash_mismatch) {
202 } else if (IPE != instrprof_error::unknown_function)
  /external/clang/lib/CodeGen/
CodeGenPGO.cpp 809 if (IPE == llvm::instrprof_error::unknown_function)
811 else if (IPE == llvm::instrprof_error::hash_mismatch)
813 else if (IPE == llvm::instrprof_error::malformed)
  /external/llvm/lib/Transforms/Instrumentation/
PGOInstrumentation.cpp 595 if (Err == instrprof_error::unknown_function) {
598 } else if (Err == instrprof_error::hash_mismatch ||
599 Err == instrprof_error::malformed) {
    [all...]

Completed in 83 milliseconds