llvm/llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp

//===- ReduceIRReferences.cpp - Specialized Delta Pass --------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// This file implements a function which calls the Generic Delta pass in order
// to remove backreferences to the IR from MIR. In particular, this will remove
// the Value references in MachineMemOperands.
//
//===----------------------------------------------------------------------===//

#include "ReduceIRReferences.h"
#include "Delta.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfo.h"

usingnamespacellvm;

static void dropIRReferencesFromInstructions(Oracle &O, MachineFunction &MF) {}

static void stripIRFromInstructions(Oracle &O, ReducerWorkItem &WorkItem) {}

static void stripIRFromBlocks(Oracle &O, ReducerWorkItem &WorkItem) {}

static void stripIRFromFunctions(Oracle &O, ReducerWorkItem &WorkItem) {}

void llvm::reduceIRInstructionReferencesDeltaPass(TestRunner &Test) {}

void llvm::reduceIRBlockReferencesDeltaPass(TestRunner &Test) {}

void llvm::reduceIRFunctionReferencesDeltaPass(TestRunner &Test) {}