Searched refs:PGOReader (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 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() [all …]
|
H A D | CodeGenPGO.h | 104 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, 106 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
|
H A D | CodeGenModule.h | 336 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; variable 695 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
|
H A D | CodeGenModule.cpp | 428 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule() 885 if (PGOReader) { in Release() 887 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 1104 bool readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros, 1111 void populateCoverage(IndexedInstrProfReader *PGOReader); 1371 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros, in readCounters() argument 1375 Expected<InstrProfRecord> Result = PGOReader->getInstrProfRecord( in readCounters() 1415 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters() 1419 void PGOUseFunc::populateCoverage(IndexedInstrProfReader *PGOReader) { in populateCoverage() argument 1421 Expected<InstrProfRecord> Result = PGOReader->getInstrProfRecord( in populateCoverage() 2070 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions() local 2072 if (!PGOReader) { in annotateAllFunctions() 2077 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 1460 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor() local 1465 if (PGOReader->isIRLevelProfile() || PGOReader->hasMemoryProfile()) { in setPGOUseInstrumentor() 1466 if (PGOReader->hasCSIRLevelProfile()) in setPGOUseInstrumentor()
|