Home
last modified time | relevance | path

Searched refs:instrprof_error (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/ProfileData/
DInstrProf.cpp25 instrprof_error E = static_cast<instrprof_error>(IE); in message()
27 case instrprof_error::success: in message()
29 case instrprof_error::eof: in message()
31 case instrprof_error::bad_magic: in message()
33 case instrprof_error::bad_header: in message()
35 case instrprof_error::unsupported_version: in message()
37 case instrprof_error::unsupported_hash_type: in message()
39 case instrprof_error::too_large: in message()
41 case instrprof_error::truncated: in message()
43 case instrprof_error::malformed: in message()
[all …]
DInstrProfReader.cpp49 return instrprof_error::too_large; in create()
83 return instrprof_error::too_large; in create()
87 return instrprof_error::bad_magic; in create()
108 return error(instrprof_error::eof); in readNextRecord()
115 return error(instrprof_error::truncated); in readNextRecord()
117 return error(instrprof_error::malformed); in readNextRecord()
122 return error(instrprof_error::truncated); in readNextRecord()
124 return error(instrprof_error::malformed); in readNextRecord()
126 return error(instrprof_error::malformed); in readNextRecord()
133 return error(instrprof_error::truncated); in readNextRecord()
[all …]
DCoverageMappingReader.cpp39 return error(instrprof_error::truncated); in readULEB128()
43 return error(instrprof_error::malformed); in readULEB128()
53 return error(instrprof_error::malformed); in readIntMax()
62 return error(instrprof_error::malformed); in readSize()
107 return error(instrprof_error::malformed); in decodeCounter()
113 return error(instrprof_error::malformed); in decodeCounter()
162 return error(instrprof_error::malformed); in readMappingRegionsSubArray()
173 return error(instrprof_error::malformed); in readMappingRegionsSubArray()
186 return error(instrprof_error::malformed); in readMappingRegionsSubArray()
304 return instrprof_error::success; in load()
[all …]
DInstrProfWriter.cpp87 return instrprof_error::success; in addFunctionCounts()
95 return instrprof_error::count_mismatch; in addFunctionCounts()
99 return instrprof_error::counter_overflow; in addFunctionCounts()
106 return instrprof_error::success; in addFunctionCounts()
DCoverageMapping.cpp193 if (EC == instrprof_error::hash_mismatch) { in load()
196 } else if (EC != instrprof_error::unknown_function) in load()
/external/llvm/include/llvm/ProfileData/
DInstrProf.h24 enum class instrprof_error { enum
40 inline std::error_code make_error_code(instrprof_error E) { in make_error_code()
48 struct is_error_code_enum<llvm::instrprof_error> : std::true_type {};
DInstrProfReader.h66 InstrProfReader() : LastError(instrprof_error::success) {} in InstrProfReader()
85 std::error_code success() { return error(instrprof_error::success); } in success()
89 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()
DCoverageMappingReader.h87 std::error_code success() { return error(instrprof_error::success); } in success()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp82 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, EC)); in TEST_F()
85 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, EC)); in TEST_F()
DCoverageMappingTest.cpp67 return instrprof_error::eof; in readNextRecord()
75 return instrprof_error::success; in readNextRecord()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp807 if (EC == llvm::instrprof_error::unknown_function) in loadRegionCounts()
809 else if (EC == llvm::instrprof_error::hash_mismatch) in loadRegionCounts()
811 else if (EC == llvm::instrprof_error::malformed) in loadRegionCounts()