21#define DEBUG_TYPE "mips-isel"
32 return "MIPS DAG->DAG Pattern Instruction Selection";
44 char MipsModuleDAGToDAGISel::ID = 0;
48 LLVM_DEBUG(
errs() <<
"In MipsModuleDAGToDAGISel::runMachineFunction\n");
49 auto &TPC = getAnalysis<TargetPassConfig>();
51 TM.resetSubtarget(&MF);
56 return new MipsModuleDAGToDAGISel();
Target-Independent Code Generator Pass Configuration Options pass.
Represent the analysis usage information of a pass.
AnalysisUsage & addRequired()
AnalysisUsage & addPreserved()
Add the specified Pass class to the set of analyses preserved by this pass.
FunctionPass class - This class is used to implement most global optimizations.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
virtual bool runOnMachineFunction(MachineFunction &MF)=0
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
virtual StringRef getPassName() const
getPassName - Return a nice clean name for a pass.
StringRef - Represent a constant reference to a string, i.e.
Target-Independent Code Generator Pass Configuration Options.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createMipsModuleISelDagPass()
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.