14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSISELDAGTODAG_H 15 #define LLVM_LIB_TARGET_MIPS_MIPSISELDAGTODAG_H 39 return "MIPS DAG->DAG Pattern Instruction Selection";
55 #include "MipsGenDAGISel.inc" 100 unsigned MinSizeInBits)
const;
129 void Select(
SDNode *
N)
override;
131 virtual bool trySelect(
SDNode *Node) = 0;
140 bool SelectInlineAsmMemoryOperand(
const SDValue &
Op,
141 unsigned ConstraintID,
142 std::vector<SDValue> &OutOps)
override;
This class represents lattice values for constants.
EVT getValueType(unsigned ResNo) const
Return the type of a specified result.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
SDValue getTargetConstant(uint64_t Val, const SDLoc &DL, EVT VT, bool isOpaque=false)
const MipsSubtarget * Subtarget
Keep a pointer to the MipsSubtarget around so that we can make the right decision when generating cod...
MipsDAGToDAGISel(MipsTargetMachine &TM, CodeGenOpt::Level OL)
Represent the analysis usage information of a pass.
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
Represents one node in the SelectionDAG.
SelectionDAGISel - This is the common base class used for SelectionDAG-based pattern-matching instruc...
Class for arbitrary precision integers.
SDNode * getGlobalBaseReg()
getGlobalBaseReg - Output the instructions required to put the GOT address into a register...
StringRef - Represent a constant reference to a string, i.e.
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...