19 #define DEBUG_TYPE "mips-isel"
30 return "MIPS DAG->DAG Pattern Instruction Selection";
44 bool MipsModuleDAGToDAGISel::runOnMachineFunction(
MachineFunction &MF) {
45 DEBUG(
errs() <<
"In MipsModuleDAGToDAGISel::runMachineFunction\n");
46 auto &
TPC = getAnalysis<TargetPassConfig>();
53 return new MipsModuleDAGToDAGISel();
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
void resetSubtarget(MachineFunction *MF)
Reset the subtarget for the Mips target.
AnalysisUsage & addRequired()
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
Target-Independent Code Generator Pass Configuration Options.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
FunctionPass * createMipsModuleISelDagPass()
StringRef - Represent a constant reference to a string, i.e.