Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp673 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters() local
674 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()
684 if (PGOReader) { in assignRegionCounters()
686 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
688 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()
771 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes() argument
776 uint64_t MaxFunctionCount = PGOReader->getMaximumFunctionCount(); in applyFunctionAttributes()
801 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts() argument
806 PGOReader->getFunctionCounts(FuncName, FunctionHash, RegionCounts)) { in loadRegionCounts()
DCodeGenPGO.h110 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
112 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
DCodeGenModule.h309 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable
541 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
DCodeGenModule.cpp87 NoObjCARCExceptionsMetadata(nullptr), RRData(nullptr), PGOReader(nullptr), in CodeGenModule()
151 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()
353 if (PGOReader && PGOStats.hasDiagnostics()) in Release()