Searched refs:IndexedInstrProfReader (Results 1 – 11 of 11) sorted by relevance
51 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 …]
186 IndexedInstrProfReader &ProfileReader) { in load()240 auto ProfileReaderOrErr = IndexedInstrProfReader::create(ProfileFilename); in load()
333 class IndexedInstrProfReader : public InstrProfReader {342 IndexedInstrProfReader(const IndexedInstrProfReader &) = delete;343 IndexedInstrProfReader &operator=(const IndexedInstrProfReader &) = delete;347 IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedInstrProfReader() function371 static ErrorOr<std::unique_ptr<IndexedInstrProfReader>>374 static ErrorOr<std::unique_ptr<IndexedInstrProfReader>>
30 class IndexedInstrProfReader; variable408 IndexedInstrProfReader &ProfileReader);
95 void applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,97 void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
31 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()
46 class IndexedInstrProfReader; variable290 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader;534 llvm::IndexedInstrProfReader *getPGOReader() const { return PGOReader.get(); } in getPGOReader()
152 llvm::IndexedInstrProfReader::create(CodeGenOpts.InstrProfileInput); in CodeGenModule()
132 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()
89 std::unique_ptr<IndexedInstrProfReader> ProfileReader;138 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts()
37 std::unique_ptr<IndexedInstrProfReader> Reader;40 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()