llvm/llvm/unittests/Target/LoongArch/InstSizes.cpp

#include "LoongArchSubtarget.h"
#include "LoongArchTargetMachine.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 <optional>

#include "gtest/gtest.h"

usingnamespacellvm;

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

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

/// The \p InputIRSnippet is only needed for things that can't be expressed in
/// the \p InputMIRSnippet (global variables etc)
/// Inspired by AArch64
void runChecks(
    LLVMTargetMachine *TM, LoongArchInstrInfo *II,
    const StringRef InputIRSnippet, const StringRef InputMIRSnippet,
    std::function<void(LoongArchInstrInfo &, MachineFunction &)> Checks) {}

} // anonymous namespace

TEST(InstSizes, INLINEASM_BR) {}

TEST(InstSizes, SPACE) {}

TEST(InstSizes, AtomicPseudo) {}

TEST(InstSizes, StatePoint) {}