Searched defs:PGOReader (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
H A DCodeGenPGO.cpp812 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); local
813 if (!InstrumentRegions && !PGOReader)
839 if (PGOReader) {
841 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation()));
843 applyFunctionAttributes(PGOReader, Fn);
877 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, argument
882 uint64_t MaxFunctionCount = PGOReader->getMaximumFunctionCount();
916 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, argument
921 if (PGOReader->getFunctionCounts(getFuncName(), Hash, *RegionCounts)) {
H A DCodeGenModule.h302 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; member in class:clang::CodeGen::CodeGenModule
529 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); }

Completed in 1009 milliseconds