#include "ReduceInstructionsMIR.h"
#include "Delta.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
usingnamespacellvm;
static Register getPrevDefOfRCInMBB(MachineBasicBlock &MBB,
MachineBasicBlock::reverse_iterator &RI,
const RegClassOrRegBank &RC, LLT Ty,
SetVector<MachineInstr *> &ExcludeMIs) { … }
static bool shouldNotRemoveInstruction(const TargetInstrInfo &TII,
const MachineInstr &MI) { … }
static void extractInstrFromFunction(Oracle &O, MachineFunction &MF) { … }
static void extractInstrFromModule(Oracle &O, ReducerWorkItem &WorkItem) { … }
void llvm::reduceInstructionsMIRDeltaPass(TestRunner &Test) { … }