Home
last modified time | relevance | path

Searched refs:IndexedInstrProfReader (Results 1 – 12 of 12) 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 Expected<std::unique_ptr<IndexedInstrProfReader>>
70 IndexedInstrProfReader::create(const Twine &Path) { in create()
75 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
79 Expected<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()
566 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
[all …]
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h360 class IndexedInstrProfReader : public InstrProfReader {
369 IndexedInstrProfReader(const IndexedInstrProfReader &) = delete;
370 IndexedInstrProfReader &operator=(const IndexedInstrProfReader &) = delete;
381 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedInstrProfReader() function
405 static Expected<std::unique_ptr<IndexedInstrProfReader>>
408 static Expected<std::unique_ptr<IndexedInstrProfReader>>
/external/clang/lib/CodeGen/
DCodeGenPGO.h102 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
104 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
DCodeGenPGO.cpp34 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in setFuncName()
617 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in assignRegionCounters()
727 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes()
782 llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader(); in valueProfile()
801 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts()
DCodeGenModule.h48 class IndexedInstrProfReader; variable
295 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader;
540 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
DCodeGenModule.cpp142 auto ReaderOrErr = llvm::IndexedInstrProfReader::create( in CodeGenModule()
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp465 bool readCounters(IndexedInstrProfReader *PGOReader);
587 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader) { in readCounters()
857 auto ReaderOrErr = IndexedInstrProfReader::create(ProfileFileName); in annotateAllFunctions()
866 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h74 class IndexedInstrProfReader; variable
443 IndexedInstrProfReader &ProfileReader);
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp188 IndexedInstrProfReader &ProfileReader) { in load()
247 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp106 std::unique_ptr<IndexedInstrProfReader> ProfileReader;
192 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
DInstrProfTest.cpp46 std::unique_ptr<IndexedInstrProfReader> Reader;
51 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp405 auto ReaderOrErr = llvm::IndexedInstrProfReader::create(ProfileName); in setPGOUseInstrumentor()
412 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor()