llvm/llvm/unittests/SandboxIR/TrackerTest.cpp

//===- TrackerTest.cpp ----------------------------------------------------===//
//
// 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 "llvm/AsmParser/Parser.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Module.h"
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Instruction.h"
#include "llvm/Support/SourceMgr.h"
#include "gmock/gmock-matchers.h"
#include "gtest/gtest.h"

usingnamespacellvm;

struct TrackerTest : public testing::Test {};

TEST_F(TrackerTest, SetOperand) {}

TEST_F(TrackerTest, SetUse) {}

TEST_F(TrackerTest, SwapOperands) {}

TEST_F(TrackerTest, RUWIf_RAUW_RUOW) {}

// TODO: Test multi-instruction patterns.
TEST_F(TrackerTest, EraseFromParent) {}

// TODO: Test multi-instruction patterns.
TEST_F(TrackerTest, RemoveFromParent) {}

// TODO: Test multi-instruction patterns.
TEST_F(TrackerTest, MoveInstr) {}

// TODO: Test multi-instruction patterns.
TEST_F(TrackerTest, InsertIntoBB) {}

// TODO: Test multi-instruction patterns.
TEST_F(TrackerTest, CreateAndInsertInst) {}

TEST_F(TrackerTest, FenceInstSetters) {}

TEST_F(TrackerTest, CallBaseSetters) {}

TEST_F(TrackerTest, InvokeSetters) {}

TEST_F(TrackerTest, CatchSwitchInst) {}

TEST_F(TrackerTest, LandingPadInstSetters) {}

TEST_F(TrackerTest, CatchReturnInstSetters) {}

TEST_F(TrackerTest, CleanupReturnInstSetters) {}

TEST_F(TrackerTest, SwitchInstSetters) {}

TEST_F(TrackerTest, SelectInst) {}

TEST_F(TrackerTest, ShuffleVectorInst) {}

TEST_F(TrackerTest, PossiblyDisjointInstSetters) {}

TEST_F(TrackerTest, PossiblyNonNegInstSetters) {}

TEST_F(TrackerTest, AtomicRMWSetters) {}

TEST_F(TrackerTest, AtomicCmpXchgSetters) {}

TEST_F(TrackerTest, AllocaInstSetters) {}

TEST_F(TrackerTest, CallBrSetters) {}

TEST_F(TrackerTest, FuncletPadInstSetters) {}

TEST_F(TrackerTest, PHINodeSetters) {}

void checkCmpInst(sandboxir::Context &Ctx, sandboxir::CmpInst *Cmp) {}

TEST_F(TrackerTest, CmpInst) {}

TEST_F(TrackerTest, GlobalValueSetters) {}

TEST_F(TrackerTest, GlobalIFuncSetters) {}

TEST_F(TrackerTest, GlobalVariableSetters) {}

TEST_F(TrackerTest, GlobalAliasSetters) {}

TEST_F(TrackerTest, SetVolatile) {}

TEST_F(TrackerTest, Flags) {}