LLVM API Documentation
#include <MipsISelDAGToDAG.h>
Public Member Functions | |
MipsDAGToDAGISel (MipsTargetMachine &TM) | |
virtual const char * | getPassName () const |
virtual bool | runOnMachineFunction (MachineFunction &MF) |
![]() | |
SelectionDAGISel (TargetMachine &tm, CodeGenOpt::Level OL=CodeGenOpt::Default) | |
virtual | ~SelectionDAGISel () |
const TargetLowering * | getTargetLowering () const |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
virtual void | EmitFunctionEntryCode () |
virtual void | PreprocessISelDAG () |
virtual void | PostprocessISelDAG () |
virtual bool | IsProfitableToFold (SDValue N, SDNode *U, SDNode *Root) const |
bool | CheckAndMask (SDValue LHS, ConstantSDNode *RHS, int64_t DesiredMaskS) const |
bool | CheckOrMask (SDValue LHS, ConstantSDNode *RHS, int64_t DesiredMaskS) const |
virtual bool | CheckPatternPredicate (unsigned PredNo) const |
virtual bool | CheckNodePredicate (SDNode *N, unsigned PredNo) const |
virtual bool | CheckComplexPattern (SDNode *Root, SDNode *Parent, SDValue N, unsigned PatternNo, SmallVectorImpl< std::pair< SDValue, SDNode * > > &Result) |
virtual SDValue | RunSDNodeXForm (SDValue V, unsigned XFormNo) |
SDNode * | SelectCodeCommon (SDNode *NodeToMatch, const unsigned char *MatcherTable, unsigned TableSize) |
![]() | |
FunctionPass (char &pid) | |
Pass * | createPrinterPass (raw_ostream &O, const std::string &Banner) const |
createPrinterPass - Get a function printer pass. More... | |
virtual void | assignPassManager (PMStack &PMS, PassManagerType T) |
virtual PassManagerType | getPotentialPassManagerType () const |
Return what kind of Pass Manager can manage this pass. More... | |
![]() | |
Pass (PassKind K, char &pid) | |
virtual | ~Pass () |
PassKind | getPassKind () const |
AnalysisID | getPassID () const |
getPassID - Return the PassID number that corresponds to this pass. More... | |
virtual bool | doInitialization (Module &) |
virtual bool | doFinalization (Module &) |
virtual void | print (raw_ostream &O, const Module *M) const |
void | dump () const |
virtual void | preparePassManager (PMStack &) |
Check if available pass managers are suitable for this pass or not. More... | |
void | setResolver (AnalysisResolver *AR) |
AnalysisResolver * | getResolver () const |
virtual void | releaseMemory () |
virtual void * | getAdjustedAnalysisPointer (AnalysisID ID) |
virtual ImmutablePass * | getAsImmutablePass () |
virtual PMDataManager * | getAsPMDataManager () |
virtual void | verifyAnalysis () const |
virtual void | dumpPassStructure (unsigned Offset=0) |
template<typename AnalysisType > | |
AnalysisType * | getAnalysisIfAvailable () const |
bool | mustPreserveAnalysisID (char &AID) const |
template<typename AnalysisType > | |
AnalysisType & | getAnalysis () const |
template<typename AnalysisType > | |
AnalysisType & | getAnalysis (Function &F) |
template<typename AnalysisType > | |
AnalysisType & | getAnalysisID (AnalysisID PI) const |
template<typename AnalysisType > | |
AnalysisType & | getAnalysisID (AnalysisID PI, Function &F) |
Protected Member Functions | |
SDNode * | getGlobalBaseReg () |
![]() | |
void | ReplaceUses (SDValue F, SDValue T) |
void | ReplaceUses (const SDValue *F, const SDValue *T, unsigned Num) |
void | ReplaceUses (SDNode *F, SDNode *T) |
void | SelectInlineAsmMemoryOperands (std::vector< SDValue > &Ops) |
![]() | |
MachineFunctionPass (char &ID) | |
Protected Attributes | |
const MipsSubtarget & | Subtarget |
![]() | |
unsigned | DAGSize |
Definition at line 32 of file MipsISelDAGToDAG.h.
|
inlineexplicit |
Definition at line 34 of file MipsISelDAGToDAG.h.
|
protected |
getGlobalBaseReg - Output the instructions required to put the GOT address into a register.
Definition at line 58 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.
|
inlinevirtual |
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.
|
virtual |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Reimplemented from llvm::SelectionDAGISel.
Definition at line 48 of file MipsISelDAGToDAG.cpp.
References llvm::AArch64ISD::Ret, and llvm::SelectionDAGISel::runOnMachineFunction().
|
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.