Home
last modified time | relevance | path

Searched refs:IndexedInstrProfReader (Results 1 – 19 of 19) 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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp72 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
73 Result.reset(new IndexedInstrProfReader(std::move(Buffer))); in create()
90 Expected<std::unique_ptr<IndexedInstrProfReader>>
91 IndexedInstrProfReader::create(const Twine &Path) { in create()
96 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
99 Expected<std::unique_ptr<IndexedInstrProfReader>>
100 IndexedInstrProfReader::create(std::unique_ptr<MemoryBuffer> Buffer) { in create()
106 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
108 auto Result = llvm::make_unique<IndexedInstrProfReader>(std::move(Buffer)); in create()
590 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h390 class IndexedInstrProfReader : public InstrProfReader {
407 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedInstrProfReader() function
409 IndexedInstrProfReader(const IndexedInstrProfReader &) = delete;
410 IndexedInstrProfReader &operator=(const IndexedInstrProfReader &) = delete;
436 static Expected<std::unique_ptr<IndexedInstrProfReader>>
439 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h45 class IndexedInstrProfReader; variable
519 IndexedInstrProfReader &ProfileReader);
528 IndexedInstrProfReader &ProfileReader);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp200 IndexedInstrProfReader &ProfileReader) { in loadFunctionRecord()
254 IndexedInstrProfReader &ProfileReader) { in load()
273 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h74 class IndexedInstrProfReader; variable
443 IndexedInstrProfReader &ProfileReader);
/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/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp188 IndexedInstrProfReader &ProfileReader) { in load()
247 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp857 bool readCounters(IndexedInstrProfReader *PGOReader);
1011 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader) { in readCounters()
1438 auto ReaderOrErr = IndexedInstrProfReader::create(ProfileFileName); in annotateAllFunctions()
1447 std::unique_ptr<IndexedInstrProfReader> PGOReader = in annotateAllFunctions()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp137 std::unique_ptr<IndexedInstrProfReader> ProfileReader;
227 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
DInstrProfTest.cpp41 std::unique_ptr<IndexedInstrProfReader> Reader;
46 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()