Home
last modified time | relevance | path

Searched refs:PGOReader (Results 1 – 4 of 4) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenPGO.cpp662 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters() local
663 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()
673 if (PGOReader) { in assignRegionCounters()
675 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
677 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()
760 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes() argument
765 uint64_t MaxFunctionCount = PGOReader->getMaximumFunctionCount(); in applyFunctionAttributes()
794 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts() argument
799 PGOReader->getFunctionCounts(FuncName, FunctionHash, RegionCounts)) { in loadRegionCounts()
HDCodeGenPGO.h98 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
100 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
HDCodeGenModule.h313 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable
548 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
HDCodeGenModule.cpp90 NoObjCARCExceptionsMetadata(nullptr), RRData(nullptr), PGOReader(nullptr), in CodeGenModule()
155 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()
358 if (PGOReader && PGOStats.hasDiagnostics()) in Release()