llvm/llvm/unittests/Target/AArch64/InstSizes.cpp

#include "AArch64Subtarget.h"
#include "AArch64TargetMachine.h"
#include "llvm/CodeGen/MIRParser/MIRParser.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/TargetSelect.h"

#include "gtest/gtest.h"

usingnamespacellvm;

namespace {
std::unique_ptr<LLVMTargetMachine> createTargetMachine() {}

std::unique_ptr<AArch64InstrInfo> createInstrInfo(TargetMachine *TM) {}

/// The \p InputIRSnippet is only needed for things that can't be expressed in
/// the \p InputMIRSnippet (global variables etc)
/// TODO: Some of this might be useful for other architectures as well - extract
///       the platform-independent parts somewhere they can be reused.
void runChecks(
    LLVMTargetMachine *TM, AArch64InstrInfo *II, const StringRef InputIRSnippet,
    const StringRef InputMIRSnippet,
    std::function<void(AArch64InstrInfo &, MachineFunction &)> Checks) {}

} // anonymous namespace

TEST(InstSizes, Authenticated) {}

TEST(InstSizes, STACKMAP) {}

TEST(InstSizes, PATCHPOINT) {}

TEST(InstSizes, STATEPOINT) {}

TEST(InstSizes, SPACE) {}

TEST(InstSizes, TLSDESC_CALLSEQ) {}

TEST(InstSizes, StoreSwiftAsyncContext) {}

TEST(InstSizes, SpeculationBarrierISBDSBEndBB) {}

TEST(InstSizes, SpeculationBarrierSBEndBB) {}

TEST(InstSizes, JumpTable) {}

TEST(InstSizes, MOPSMemoryPseudos) {}