llvm/llvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp

//===-- TargetTest.cpp ------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "Target.h"

#include <cassert>
#include <memory>

#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "TestBase.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

namespace llvm {
namespace exegesis {
namespace {

AllOf;
ElementsAre;
Eq;
Matcher;
Property;

Matcher<MCOperand> IsImm(int64_t Value) {}

Matcher<MCOperand> IsReg(unsigned Reg) {}

Matcher<MCInst> OpcodeIs(unsigned Opcode) {}

Matcher<MCInst> IsLoadLow16BitImm(unsigned Reg, int64_t Value, bool IsGPR32) {}

Matcher<MCInst> IsLoadHigh16BitImm(unsigned Reg, int64_t Value, bool IsGPR32) {}

Matcher<MCInst> IsShift(unsigned Reg, uint16_t Amount, bool IsGPR32) {}

class MipsTargetTest : public MipsTestBase {};

TEST_F(MipsTargetTest, SetGPR32RegTo16BitValue) {}

TEST_F(MipsTargetTest, SetGPR64RegTo16BitValue) {}

TEST_F(MipsTargetTest, SetGPR32RegTo32BitValue) {}

TEST_F(MipsTargetTest, SetGPR64RegTo32BitValue) {}

TEST_F(MipsTargetTest, DefaultPfmCounters) {}

} // namespace
} // namespace exegesis
} // namespace llvm