LLVM API Documentation
#include <MipsISelDAGToDAG.h>
Public Member Functions | |
MipsDAGToDAGISel (MipsTargetMachine &TM) | |
const char * | getPassName () const override |
bool | runOnMachineFunction (MachineFunction &MF) override |
Protected Member Functions | |
SDNode * | getGlobalBaseReg () |
Protected Attributes | |
const MipsSubtarget * | Subtarget |
Definition at line 32 of file MipsISelDAGToDAG.h.
llvm::MipsDAGToDAGISel::MipsDAGToDAGISel | ( | MipsTargetMachine & | TM | ) | [inline, explicit] |
Definition at line 34 of file MipsISelDAGToDAG.h.
SDNode * MipsDAGToDAGISel::getGlobalBaseReg | ( | ) | [protected] |
getGlobalBaseReg - Output the instructions required to put the GOT address into a register.
Definition at line 60 of file MipsISelDAGToDAG.cpp.
References llvm::SelectionDAGISel::CurDAG, llvm::MachineFunction::getInfo(), llvm::SDValue::getNode(), llvm::SelectionDAG::getRegister(), llvm::SelectionDAGISel::getTargetLowering(), llvm::PPCISD::GlobalBaseReg, and llvm::SelectionDAGISel::MF.
const char* llvm::MipsDAGToDAGISel::getPassName | ( | ) | const [inline, override, virtual] |
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
Reimplemented from llvm::Pass.
Definition at line 38 of file MipsISelDAGToDAG.h.
bool MipsDAGToDAGISel::runOnMachineFunction | ( | MachineFunction & | MF | ) | [override, virtual] |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Reimplemented from llvm::SelectionDAGISel.
Definition at line 49 of file MipsISelDAGToDAG.cpp.
References llvm::TargetMachine::getSubtarget(), llvm::MipsISD::Ret, Subtarget, and llvm::SelectionDAGISel::TM.
const MipsSubtarget* llvm::MipsDAGToDAGISel::Subtarget [protected] |
Keep a pointer to the MipsSubtarget around so that we can make the right decision when generating code for different targets.
Definition at line 49 of file MipsISelDAGToDAG.h.
Referenced by runOnMachineFunction().