Searched refs:PGOReader (Results 1 – 6 of 6) sorted by relevance
36 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName() local39 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()147 if (PGOReader->getVersion() <= 4) in getPGOHashVersion()149 if (PGOReader->getVersion() <= 5) in getPGOHashVersion()807 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()834 if (PGOReader) { in assignRegionCounters()838 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()847 if (auto *PGOReader = CGM.getPGOReader()) { in mapRegionCounters() local848 HashVersion = getPGOHashVersion(PGOReader, CGM); in mapRegionCounters()849 ProfileVersion = PGOReader->getVersion(); in mapRegionCounters()[all …]
100 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,102 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
336 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable665 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
193 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()552 if (PGOReader) { in Release()554 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release()
1044 bool readMemprof(IndexedInstrProfReader *PGOReader);1309 PGOReader->getMemProfRecord(FuncGUID); in readMemprof()2079 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions() local2081 if (!PGOReader) { in annotateAllFunctions()2086 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()2090 if (!PGOReader->isIRLevelProfile() && !PGOReader->hasMemoryProfile()) { in annotateAllFunctions()2095 if (PGOReader->hasSingleByteCoverage()) { in annotateAllFunctions()2101 if (PGOReader->functionEntryOnly()) { in annotateAllFunctions()2139 if (PGOReader->hasMemoryProfile()) in annotateAllFunctions()2140 Func.readMemprof(PGOReader.get()); in annotateAllFunctions()[all …]
1317 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor() local1322 if (PGOReader->isIRLevelProfile() || PGOReader->hasMemoryProfile()) { in setPGOUseInstrumentor()1323 if (PGOReader->hasCSIRLevelProfile()) in setPGOUseInstrumentor()