Searched refs:IndexedInstrProfReader (Results 1 – 12 of 12) sorted by relevance
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 …]
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() function405 static Expected<std::unique_ptr<IndexedInstrProfReader>>408 static Expected<std::unique_ptr<IndexedInstrProfReader>>
102 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,104 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
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()
48 class IndexedInstrProfReader; variable295 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader;540 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
142 auto ReaderOrErr = llvm::IndexedInstrProfReader::create( in CodeGenModule()
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()
74 class IndexedInstrProfReader; variable443 IndexedInstrProfReader &ProfileReader);
188 IndexedInstrProfReader &ProfileReader) { in load()247 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
106 std::unique_ptr<IndexedInstrProfReader> ProfileReader;192 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
46 std::unique_ptr<IndexedInstrProfReader> Reader;51 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()
405 auto ReaderOrErr = llvm::IndexedInstrProfReader::create(ProfileName); in setPGOUseInstrumentor()412 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader = in setPGOUseInstrumentor()