Searched refs:PGOReader (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 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() [all …]
|
| H A D | CodeGenPGO.h | 99 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, 101 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
|
| H A D | CodeGenModule.h | 335 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable 639 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
|
| H A D | CodeGenModule.cpp | 176 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule() 502 if (PGOReader) { in Release() 504 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 1069 bool readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros, 1275 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros, in readCounters() argument 1279 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters() 1346 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters() 1814 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions() local 1816 if (!PGOReader) { in annotateAllFunctions() 1821 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions() 1825 if (!PGOReader->isIRLevelProfile()) { in annotateAllFunctions() 1834 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions() 1846 bool InstrumentFuncEntry = PGOReader->instrEntryBBEnabled(); in annotateAllFunctions() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 1295 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor() local 1297 if (PGOReader->isIRLevelProfile()) { in setPGOUseInstrumentor() 1298 if (PGOReader->hasCSIRLevelProfile()) in setPGOUseInstrumentor()
|