Searched refs:PGOReader (Results 1 - 5 of 5) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.h95 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
97 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
H A DCodeGenPGO.cpp31 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); local
34 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version);
611 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); local
612 if (!InstrumentRegions && !PGOReader)
632 if (PGOReader) {
634 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation()));
636 applyFunctionAttributes(PGOReader, Fn);
719 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, argument
743 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, argument
[all...]
H A DCodeGenModule.h290 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; member in class:clang::CodeGen::CodeGenModule
534 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); }
H A DCodeGenModule.cpp93 NoObjCARCExceptionsMetadata(nullptr), PGOReader(nullptr),
159 PGOReader = std::move(ReaderOrErr.get());
382 if (PGOReader) {
383 getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount());
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp132 std::unique_ptr<IndexedInstrProfReader> PGOReader; member in class:__anon3157::PGOInstrumentationUse
449 bool readCounters(IndexedInstrProfReader *PGOReader);
512 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader) { argument
515 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash);
544 ProgramMaxCount = PGOReader->getMaximumFunctionCount();
682 IndexedInstrProfReader *PGOReader) {
683 if (Func.readCounters(PGOReader)) {
700 PGOReader = std::move(ReaderOrErr.get());
701 if (!PGOReader) {
703 "Cannot get PGOReader"));
681 setPGOCountOnFunc(PGOUseFunc &Func, IndexedInstrProfReader *PGOReader) argument
[all...]

Completed in 127 milliseconds