/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 51 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/ |
D | InstrProfReader.cpp | 72 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/ |
D | InstrProfReader.h | 360 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/ |
D | InstrProfReader.h | 390 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/ |
D | CodeGenPGO.h | 102 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, 104 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
|
D | CodeGenPGO.cpp | 34 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()
|
D | CodeGenModule.h | 48 class IndexedInstrProfReader; variable 295 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader; 540 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
|
D | CodeGenModule.cpp | 142 auto ReaderOrErr = llvm::IndexedInstrProfReader::create( in CodeGenModule()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 465 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/ |
D | CoverageMapping.h | 45 class IndexedInstrProfReader; variable 519 IndexedInstrProfReader &ProfileReader); 528 IndexedInstrProfReader &ProfileReader);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 200 IndexedInstrProfReader &ProfileReader) { in loadFunctionRecord() 254 IndexedInstrProfReader &ProfileReader) { in load() 273 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 74 class IndexedInstrProfReader; variable 443 IndexedInstrProfReader &ProfileReader);
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 106 std::unique_ptr<IndexedInstrProfReader> ProfileReader; 192 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
|
D | InstrProfTest.cpp | 46 std::unique_ptr<IndexedInstrProfReader> Reader; 51 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 188 IndexedInstrProfReader &ProfileReader) { in load() 247 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 857 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/ |
D | CoverageMappingTest.cpp | 137 std::unique_ptr<IndexedInstrProfReader> ProfileReader; 227 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
|
D | InstrProfTest.cpp | 41 std::unique_ptr<IndexedInstrProfReader> Reader; 46 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 405 auto ReaderOrErr = llvm::IndexedInstrProfReader::create(ProfileName); in setPGOUseInstrumentor() 412 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor()
|