#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/BranchProbabilityInfo.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
#include "gtest/gtest.h"
extern llvm::cl::opt<bool> ScalePartialSampleProfileWorkingSetSize;
namespace llvm {
namespace {
class ProfileSummaryInfoTest : public testing::Test { … };
TEST_F(ProfileSummaryInfoTest, TestNoProfile) { … }
TEST_F(ProfileSummaryInfoTest, TestCommon) { … }
TEST_F(ProfileSummaryInfoTest, InstrProf) { … }
TEST_F(ProfileSummaryInfoTest, InstrProfNoFuncEntryCount) { … }
TEST_F(ProfileSummaryInfoTest, SampleProf) { … }
TEST_F(ProfileSummaryInfoTest, SampleProfNoFuncEntryCount) { … }
TEST_F(ProfileSummaryInfoTest, PartialSampleProfWorkingSetSize) { … }
}
}