Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp51 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
52 Result.reset(new IndexedInstrProfReader(std::move(Buffer))); in create()
67 std::error_code IndexedInstrProfReader::create( in create()
68 std::string Path, std::unique_ptr<IndexedInstrProfReader> &Result) { in create()
76 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
78 Result.reset(new IndexedInstrProfReader(std::move(Buffer))); in create()
293 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
302 std::error_code IndexedInstrProfReader::readHeader() { in readHeader()
340 std::error_code IndexedInstrProfReader::getFunctionCounts( in getFunctionCounts()
369 IndexedInstrProfReader::readNextRecord(InstrProfRecord &Record) { in readNextRecord()
H A DCoverageMapping.cpp182 IndexedInstrProfReader &ProfileReader) { in load()
226 std::unique_ptr<IndexedInstrProfReader> ProfileReader; in load()
227 if (auto EC = IndexedInstrProfReader::create(ProfileFilename, ProfileReader)) in load()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h261 class IndexedInstrProfReader : public InstrProfReader {
276 IndexedInstrProfReader(const IndexedInstrProfReader &) LLVM_DELETED_FUNCTION;
277 IndexedInstrProfReader &operator=(const IndexedInstrProfReader &)
280 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedInstrProfReader() function
299 create(std::string Path, std::unique_ptr<IndexedInstrProfReader> &Result);
H A DCoverageMapping.h27 class IndexedInstrProfReader; variable
367 IndexedInstrProfReader &ProfileReader);
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.h113 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
115 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
H A DCodeGenPGO.cpp672 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters()
771 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes()
801 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts()
H A DCodeGenModule.h46 class IndexedInstrProfReader; variable
309 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader;
540 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
H A DCodeGenModule.cpp144 if (std::error_code EC = llvm::IndexedInstrProfReader::create( in CodeGenModule()