#include "AArch64InstrInfo.h"
#include "AArch64Subtarget.h"
#include "AArch64TargetMachine.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "gtest/gtest.h"
#define GET_COMPUTE_FEATURES
#include "AArch64GenInstrInfo.inc"
usingnamespacellvm;
namespace {
std::unique_ptr<LLVMTargetMachine> createTargetMachine(const std::string &CPU) { … }
std::unique_ptr<AArch64InstrInfo> createInstrInfo(TargetMachine *TM) { … }
static bool isInstructionSupportedByCPU(unsigned Opcode,
FeatureBitset Features) { … }
void runSVEPseudoTestForCPU(const std::string &CPU) { … }
TEST(AArch64SVESchedPseudoTesta510, IsCorrect) { … }
TEST(AArch64SVESchedPseudoTestn1, IsCorrect) { … }
TEST(AArch64SVESchedPseudoTestv1, IsCorrect) { … }
TEST(AArch64SVESchedPseudoTestv2, IsCorrect) { … }
}