#include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ModuleSlotTracker.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
#include "MFCommon.inc"
class LexicalScopesTest : public testing::Test { … };
TEST_F(LexicalScopesTest, FlatLayout) { … }
TEST_F(LexicalScopesTest, BlockScopes) { … }
TEST_F(LexicalScopesTest, InlinedScopes) { … }
TEST_F(LexicalScopesTest, FuncWithEmptyGap) { … }
TEST_F(LexicalScopesTest, FuncWithRealGap) { … }
TEST_F(LexicalScopesTest, NotNested) { … }
TEST_F(LexicalScopesTest, TestDominates) { … }
TEST_F(LexicalScopesTest, TestGetBlocks) { … }
TEST_F(LexicalScopesTest, TestMetaInst) { … }
}