Searched refs:PGOReader (Results 1 – 6 of 6) sorted by relevance
34 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName() local37 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()617 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters() local618 if (!InstrumentRegions && !PGOReader) in assignRegionCounters()638 if (PGOReader) { in assignRegionCounters()640 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()642 applyFunctionAttributes(PGOReader, Fn); in assignRegionCounters()727 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes() argument782 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in valueProfile() local783 if (PGOReader && haveRegionCounts()) { in valueProfile()[all …]
102 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,104 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
295 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable540 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
152 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()395 if (PGOReader) { in Release()396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release()
465 bool readCounters(IndexedInstrProfReader *PGOReader);587 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader) { in readCounters() argument590 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters()630 ProgramMaxCount = PGOReader->getMaximumFunctionCount(); in readCounters()866 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions() local868 if (!PGOReader) { in annotateAllFunctions()874 if (!PGOReader->isIRLevelProfile()) { in annotateAllFunctions()888 if (!Func.readCounters(PGOReader.get())) in annotateAllFunctions()899 M.setProfileSummary(PGOReader->getSummary().getMD(M.getContext())); in annotateAllFunctions()
412 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor() local414 if (PGOReader->isIRLevelProfile()) in setPGOUseInstrumentor()