Home
last modified time | relevance | path

Searched refs:PGOReader (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp965 bool readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros);
1141 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros) { in readCounters() argument
1144 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters()
1206 ProgramMaxCount = PGOReader->getMaximumFunctionCount(IsCS); in readCounters()
1537 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions() local
1539 if (!PGOReader) { in annotateAllFunctions()
1544 if (!PGOReader->hasCSIRLevelProfile() && IsCS) in annotateAllFunctions()
1548 if (!PGOReader->isIRLevelProfile()) { in annotateAllFunctions()
1557 M.setProfileSummary(PGOReader->getSummary(IsCS).getMD(M.getContext()), in annotateAllFunctions()
1575 if (!Func.readCounters(PGOReader.get(), AllZeros)) in annotateAllFunctions()