Searched refs:InstrProfError (Results 1 – 11 of 11) sorted by relevance
67 return make_error<InstrProfError>(instrprof_error::too_large); in create()70 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in create()83 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create()118 return make_error<InstrProfError>(instrprof_error::too_large); in create()122 return make_error<InstrProfError>(instrprof_error::bad_magic); in create()136 InstrProfError::take(std::move(E)); in Increment()331 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()335 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()338 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()342 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()[all …]
218 std::string InstrProfError::message() const { in message()222 char InstrProfError::ID = 0;434 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()472 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()480 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()880 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()883 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()888 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()891 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()903 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()[all …]
237 Warn(make_error<InstrProfError>(E)); in addRecord()422 return make_error<InstrProfError>(instrprof_error::invalid_prof); in validateRecord()
309 class InstrProfError : public ErrorInfo<InstrProfError> {311 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError() function329 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()391 auto E = make_error<InstrProfError>(FirstError); in takeError()477 return make_error<InstrProfError>(instrprof_error::malformed); in addFuncName()
118 return make_error<InstrProfError>(Err); in error()121 Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); } in error()136 return make_error<InstrProfError>(LastError); in getError()
95 return make_error<InstrProfError>(instrprof_error::unsupported_version); in setIsIRLevelProfile()
58 if (E.isA<InstrProfError>()) { in warn()59 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in warn()77 if (E.isA<InstrProfError>()) { in exitWithError()78 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()119 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()216 instrprof_error IPE = InstrProfError::take(std::move(E)); in overlapInput()218 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), TestFilename); in overlapInput()245 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()247 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), Filename); in loadInput()277 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()[all …]
248 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()254 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
570 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
1028 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
1281 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()