Searched defs:SampleProfTest (Results 1 – 1 of 1) sorted by relevance
43 struct SampleProfTest : ::testing::Test { struct44 LLVMContext Context;45 std::unique_ptr<SampleProfileWriter> Writer;46 std::unique_ptr<SampleProfileReader> Reader;48 SampleProfTest() : Writer(), Reader() {} in SampleProfTest() argument50 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 …]