Home
last modified time | relevance | path

Searched refs:SampleProfileReader (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/ProfileData/
DSampleProfReader.h232 class SampleProfileReader {
234 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReader() function
237 virtual ~SampleProfileReader() {} in ~SampleProfileReader()
266 static ErrorOr<std::unique_ptr<SampleProfileReader>>
270 static ErrorOr<std::unique_ptr<SampleProfileReader>>
288 class SampleProfileReaderText : public SampleProfileReader {
291 : SampleProfileReader(std::move(B), C) {} in SampleProfileReaderText()
303 class SampleProfileReaderBinary : public SampleProfileReader {
306 : SampleProfileReader(std::move(B), C), Data(nullptr), End(nullptr) {} in SampleProfileReaderBinary()
368 class SampleProfileReaderGCC : public SampleProfileReader {
[all …]
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp39 void SampleProfileReader::dumpFunctionProfile(StringRef FName, in dumpFunctionProfile()
45 void SampleProfileReader::dump(raw_ostream &OS) { in dump()
694 ErrorOr<std::unique_ptr<SampleProfileReader>>
695 SampleProfileReader::create(StringRef Filename, LLVMContext &C) { in create()
711 ErrorOr<std::unique_ptr<SampleProfileReader>>
712 SampleProfileReader::create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C) { in create()
713 std::unique_ptr<SampleProfileReader> Reader; in create()
/external/llvm/unittests/ProfileData/
DSampleProfTest.cpp33 std::unique_ptr<SampleProfileReader> Reader;
45 auto ReaderOrErr = SampleProfileReader::create(Profile, getGlobalContext()); in readProfile()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp161 SmallVector<std::unique_ptr<sampleprof::SampleProfileReader>, 5> Readers; in mergeSampleProfile()
164 SampleProfileReader::create(Input.Filename, getGlobalContext()); in mergeSampleProfile()
345 auto ReaderOrErr = SampleProfileReader::create(Filename, getGlobalContext()); in showSampleProfile()
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp191 std::unique_ptr<SampleProfileReader> Reader;
1224 auto ReaderOrErr = SampleProfileReader::create(Filename, Ctx); in INITIALIZE_PASS_DEPENDENCY()