Searched refs:InstrProfError (Results 1 – 11 of 11) sorted by relevance
67 return make_error<InstrProfError>(instrprof_error::too_large); 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()322 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()326 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()329 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()333 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()575 return make_error<InstrProfError>(instrprof_error::malformed); in getRecords()584 return make_error<InstrProfError>(instrprof_error::eof); in getRecords()[all …]
209 std::string InstrProfError::message() const { in message()213 char InstrProfError::ID = 0;413 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()452 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()460 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()739 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()742 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()747 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()750 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()762 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()[all …]
199 Warn(make_error<InstrProfError>(E)); in addRecord()
67 if (E.isA<InstrProfError>()) { in exitWithError()68 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()100 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()221 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()223 WC->Err = make_error<InstrProfError>(IPE); in loadInput()248 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()257 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()259 WC->Err = make_error<InstrProfError>(IPE); in loadInput()350 if (!WC->Err.isA<InstrProfError>()) in mergeInstrProfile()353 instrprof_error IPE = InstrProfError::take(std::move(WC->Err)); in mergeInstrProfile()[all …]
306 class InstrProfError : public ErrorInfo<InstrProfError> {308 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError() function326 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()388 auto E = make_error<InstrProfError>(FirstError); in takeError()474 return make_error<InstrProfError>(instrprof_error::malformed); in addFuncName()
101 return make_error<InstrProfError>(Err); in error()104 Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); } in error()119 return make_error<InstrProfError>(LastError); in getError()
85 : make_error<InstrProfError>( in setIsIRLevelProfile()
215 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()220 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
427 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
973 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
1022 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()