13 #ifndef LLVM_LIB_TARGET_MIPS_MIPSSEISELDAGTODAG_H 14 #define LLVM_LIB_TARGET_MIPS_MIPSSEISELDAGTODAG_H 35 unsigned getMSACtrlReg(
const SDValue RegIdx)
const;
39 std::pair<SDNode *, SDNode *> selectMULT(
SDNode *
N,
unsigned Opc,
48 unsigned ShiftAmount)
const;
51 SDValue &Offset)
const override;
54 SDValue &Offset)
const override;
57 SDValue &Offset)
const override;
72 SDValue &Offset)
const override;
75 SDValue &Offset)
const override;
78 SDValue &Offset)
const override;
81 SDValue &Offset)
const override;
84 SDValue &Offset)
const override;
87 SDValue &Offset)
const override;
90 SDValue &Offset)
const override;
93 SDValue &Offset)
const override;
97 unsigned MinSizeInBits)
const override;
100 unsigned ImmBitSize)
const;
118 bool selectVSplatUimmPow2(
SDValue N,
SDValue &Imm)
const override;
121 bool selectVSplatUimmInvPow2(
SDValue N,
SDValue &Imm)
const override;
129 bool trySelect(
SDNode *Node)
override;
137 bool SelectInlineAsmMemoryOperand(
const SDValue &
Op,
138 unsigned ConstraintID,
139 std::vector<SDValue> &OutOps)
override;
This class represents lattice values for constants.
FunctionPass * createMipsSEISelDag(MipsTargetMachine &TM, CodeGenOpt::Level OptLevel)
CodeGenOpt::Level OptLevel
unsigned const MachineRegisterInfo * MRI
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
Represents one node in the SelectionDAG.
Class for arbitrary precision integers.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
MipsSEDAGToDAGISel(MipsTargetMachine &TM, CodeGenOpt::Level OL)
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...