Home
last modified time | relevance | path

Searched defs:SampleProfTest (Results 1 – 1 of 1) sorted by relevance

/llvm-project/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp43 struct SampleProfTest : ::testing::Test { struct
44 LLVMContext Context;
45 std::unique_ptr<SampleProfileWriter> Writer;
46 std::unique_ptr<SampleProfileReader> Reader;
48 SampleProfTest() : Writer(), Reader() {} in SampleProfTest() argument
50 void createWriter(SampleProfileFormat Format, StringRef Profile) { in createWriter()
59 void readProfile(const Module &M, StringRef Profile, in readProfile()
70 TempFile createRemapFile() { in createRemapFile()
83 void verifyProfileSummary(ProfileSummary &Summary, Module &M, in verifyProfileSummary()
140 void testRoundTrip(SampleProfileFormat Format, bool Remap, bool UseMD5) { in testRoundTrip()
[all …]