Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProf.cpp24 instrprof_error E = static_cast<instrprof_error>(IE); in message()
26 case instrprof_error::success: in message()
28 case instrprof_error::eof: in message()
30 case instrprof_error::bad_magic: in message()
32 case instrprof_error::bad_header: in message()
34 case instrprof_error::unsupported_version: in message()
36 case instrprof_error::unsupported_hash_type: in message()
38 case instrprof_error::too_large: in message()
40 case instrprof_error::truncated: in message()
42 case instrprof_error::malformed: in message()
[all …]
DInstrProfReader.cpp34 return instrprof_error::too_large; in setupMemoryBuffer()
35 return instrprof_error::success; in setupMemoryBuffer()
73 return instrprof_error::bad_magic; in create()
91 return error(instrprof_error::eof); in readNextRecord()
98 return error(instrprof_error::truncated); in readNextRecord()
100 return error(instrprof_error::malformed); in readNextRecord()
105 return error(instrprof_error::truncated); in readNextRecord()
107 return error(instrprof_error::malformed); in readNextRecord()
109 return error(instrprof_error::malformed); in readNextRecord()
116 return error(instrprof_error::truncated); in readNextRecord()
[all …]
DInstrProfWriter.cpp79 return instrprof_error::success; in addFunctionCounts()
86 return instrprof_error::hash_mismatch; in addFunctionCounts()
88 return instrprof_error::count_mismatch; in addFunctionCounts()
92 return instrprof_error::counter_overflow; in addFunctionCounts()
95 return instrprof_error::success; in addFunctionCounts()
/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()