Lines Matching refs:PGOReader
35 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName() local
38 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()
144 static PGOHashVersion getPGOHashVersion(llvm::IndexedInstrProfReader *PGOReader, in getPGOHashVersion() argument
146 if (PGOReader->getVersion() <= 4) in getPGOHashVersion()
148 if (PGOReader->getVersion() <= 5) in getPGOHashVersion()
797 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters() local
798 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()
823 if (PGOReader) { in assignRegionCounters()
825 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
827 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()
836 if (auto *PGOReader = CGM.getPGOReader()) { in mapRegionCounters() local
837 HashVersion = getPGOHashVersion(PGOReader, CGM); in mapRegionCounters()
838 ProfileVersion = PGOReader->getVersion(); in mapRegionCounters()
933 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes() argument
1002 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in valueProfile() local
1003 if (PGOReader && haveRegionCounts()) { in valueProfile()
1021 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts() argument
1026 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()