Lines Matching refs:PGOReader
40 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName() local
43 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()
149 static PGOHashVersion getPGOHashVersion(llvm::IndexedInstrProfReader *PGOReader, in getPGOHashVersion() argument
151 if (PGOReader->getVersion() <= 4) in getPGOHashVersion()
153 if (PGOReader->getVersion() <= 5) in getPGOHashVersion()
1024 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters() local
1025 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()
1057 if (PGOReader) { in assignRegionCounters()
1058 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
1060 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()
1069 if (auto *PGOReader = CGM.getPGOReader()) { in mapRegionCounters() local
1070 HashVersion = getPGOHashVersion(PGOReader, CGM); in mapRegionCounters()
1071 ProfileVersion = PGOReader->getVersion(); in mapRegionCounters()
1182 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes() argument
1388 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in valueProfile() local
1389 if (PGOReader && haveRegionCounts()) { in valueProfile()
1407 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts() argument
1412 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()