Home | History | Annotate | Download | only in Mips

Lines Matching refs:CurDAG

95     return CurDAG->getTargetConstant(Imm, MVT::i32);
110 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
119 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
120 Offset = CurDAG->getTargetConstant(0, MVT::i32);
127 Base = CurDAG->getRegister(Mips::GP, MVT::i32);
136 Base = CurDAG->getRegister(Mips::GP, MVT::i32);
143 if (CurDAG->isBaseWithConstantOffset(Addr)) {
150 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
154 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32);
183 Offset = CurDAG->getTargetConstant(0, MVT::i32);
213 Offset1 = CurDAG->getTargetConstant(C->getSExtValue()+4, MVT::i32);
215 Offset1 = CurDAG->getTargetConstantPool(CP->getConstVal(),
232 SDNode *LD0 = CurDAG->getMachineNode(Mips::LWC1, dl, MVT::f32,
234 SDValue Undef = SDValue(CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF,
236 SDValue I0 = CurDAG->getTargetInsertSubreg(Mips::sub_fpeven, dl,
239 SDNode *LD1 = CurDAG->getMachineNode(Mips::LWC1, dl, MVT::f32,
241 SDValue I1 = CurDAG->getTargetInsertSubreg(Mips::sub_fpodd, dl,
277 SDValue FPOdd = CurDAG->getTargetExtractSubreg(Mips::sub_fpodd,
279 SDValue FPEven = CurDAG->getTargetExtractSubreg(Mips::sub_fpeven,
284 Offset1 = CurDAG->getTargetConstant(C->getSExtValue()+4, MVT::i32);
298 Chain = SDValue(CurDAG->getMachineNode(Mips::SWC1, dl,
303 Chain = SDValue(CurDAG->getMachineNode(Mips::SWC1, dl,
318 DEBUG(errs() << "Selecting: "; Node->dump(CurDAG); errs() << "\n");
322 DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
356 SDNode *Carry = CurDAG->getMachineNode(Mips::SLTu, dl, VT, Ops, 2);
357 SDNode *AddCarry = CurDAG->getMachineNode(Mips::ADDu, dl, VT,
360 return CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue,
373 SDNode *Mul = CurDAG->getMachineNode(Op, dl, MVT::Glue, Op1, Op2);
376 SDNode *Lo = CurDAG->getMachineNode(Mips::MFLO, dl, MVT::i32,
379 SDNode *Hi = CurDAG->getMachineNode(Mips::MFHI, dl, MVT::i32, InFlag);
400 SDNode *MulNode = CurDAG->getMachineNode(MulOp, dl,
406 return CurDAG->getMachineNode(Mips::MFLO, dl, MVT::i32, InFlag);
408 return CurDAG->getMachineNode(Mips::MFHI, dl, MVT::i32, InFlag);
418 SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), dl,
421 CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, MVT::f64), 0);
422 SDNode *MTC = CurDAG->getMachineNode(Mips::MTC1, dl, MVT::f32, Zero);
423 SDValue I0 = CurDAG->getTargetInsertSubreg(Mips::sub_fpeven, dl,
425 SDValue I1 = CurDAG->getTargetInsertSubreg(Mips::sub_fpodd, dl,
448 SDNode *Rdhwr = CurDAG->getMachineNode(Mips::RDHWR, Node->getDebugLoc(),
449 Node->getValueType(0), CurDAG->getRegister(SrcReg, MVT::i32));
450 SDValue Chain = CurDAG->getCopyToReg(CurDAG->getEntryNode(), dl, DestReg,
452 SDValue ResNode = CurDAG->getCopyFromReg(Chain, dl, DestReg, MVT::i32);
463 DEBUG(Node->dump(CurDAG));
465 DEBUG(ResNode->dump(CurDAG));