Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp51 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
52 Result.reset(new IndexedInstrProfReader(std::move(Buffer))); in create()
69 ErrorOr<std::unique_ptr<IndexedInstrProfReader>>
70 IndexedInstrProfReader::create(std::string Path) { in create()
75 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
79 ErrorOr<std::unique_ptr<IndexedInstrProfReader>>
80 IndexedInstrProfReader::create(std::unique_ptr<MemoryBuffer> Buffer) { in create()
86 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
88 auto Result = llvm::make_unique<IndexedInstrProfReader>(std::move(Buffer)); in create()
546 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
[all …]
DCoverageMapping.cpp186 IndexedInstrProfReader &ProfileReader) { in load()
240 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h333 class IndexedInstrProfReader : public InstrProfReader {
342 IndexedInstrProfReader(const IndexedInstrProfReader &) = delete;
343 IndexedInstrProfReader &operator=(const IndexedInstrProfReader &) = delete;
347 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedInstrProfReader() function
371 static ErrorOr<std::unique_ptr<IndexedInstrProfReader>>
374 static ErrorOr<std::unique_ptr<IndexedInstrProfReader>>
DCoverageMapping.h30 class IndexedInstrProfReader; variable
408 IndexedInstrProfReader &ProfileReader);
/external/clang/lib/CodeGen/
DCodeGenPGO.h95 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
97 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
DCodeGenPGO.cpp31 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName()
611 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters()
719 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes()
753 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts()
DCodeGenModule.h46 class IndexedInstrProfReader; variable
290 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader;
534 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
DCodeGenModule.cpp152 llvm::IndexedInstrProfReader::create(CodeGenOpts.InstrProfileInput); in CodeGenModule()
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp132 std::unique_ptr<IndexedInstrProfReader> PGOReader;
449 bool readCounters(IndexedInstrProfReader *PGOReader);
512 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader) { in readCounters()
682 IndexedInstrProfReader *PGOReader) { in setPGOCountOnFunc()
693 auto ReaderOrErr = IndexedInstrProfReader::create(ProfileFileName); in runOnModule()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp89 std::unique_ptr<IndexedInstrProfReader> ProfileReader;
138 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
DInstrProfTest.cpp37 std::unique_ptr<IndexedInstrProfReader> Reader;
40 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()