#include "AArch64Subtarget.h"
#include "AArch64TargetMachine.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "gtest/gtest.h"
#include <initializer_list>
#include <memory>
usingnamespacellvm;
namespace {
struct AddrMode : public TargetLowering::AddrMode { … };
struct TestCase { … };
const std::initializer_list<TestCase> Tests = …;
struct SVETestCase { … };
const std::initializer_list<SVETestCase> SVETests = …;
}
TEST(AddressingModes, AddressingModes) { … }