Lines Matching defs:CurDAG
95 return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
101 return CurDAG->getTargetConstant(Imm, dl, MVT::i64);
106 return CurDAG->getTargetConstant(
107 Imm, dl, PPCLowering->getPointerTy(CurDAG->getDataLayout()));
137 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, false);
157 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG);
163 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG);
170 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, true);
204 SDValue RC = CurDAG->getTargetConstant(TRC->getID(), dl, MVT::i32);
206 SDValue(CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS,
319 if (PPCLowering->getPointerTy(CurDAG->getDataLayout()) == MVT::i32) {
347 return CurDAG->getRegister(GlobalBaseReg,
348 PPCLowering->getPointerTy(CurDAG->getDataLayout()))
459 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0));
462 CurDAG->SelectNodeTo(SN, Opc, N->getValueType(0), TFI,
465 ReplaceNode(SN, CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI,
519 CurDAG->computeKnownBits(Op0, LKZ, LKO);
520 CurDAG->computeKnownBits(Op1, RKZ, RKO);
567 CurDAG->computeKnownBits(Op1.getOperand(1), MKZ, MKO);
583 ReplaceNode(N, CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops));
680 static SDNode *getInt64Direct(SelectionDAG *CurDAG, const SDLoc &dl,
711 auto getI32Imm = [CurDAG, dl](unsigned Imm) {
712 return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
718 Result = CurDAG->getMachineNode(PPC::LI8, dl, MVT::i64, getI32Imm(Lo));
722 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi));
724 Result = CurDAG->getMachineNode(PPC::ORI8, dl, MVT::i64,
728 Result = CurDAG->getMachineNode(PPC::LIS8, dl, MVT::i64, getI32Imm(Hi));
736 Result = CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64,
744 Result = CurDAG->getMachineNode(PPC::ORIS8, dl, MVT::i64,
748 Result = CurDAG->getMachineNode(PPC::ORI8, dl, MVT::i64,
755 static SDNode *getInt64(SelectionDAG *CurDAG, const SDLoc &dl, int64_t Imm) {
758 return getInt64Direct(CurDAG, dl, Imm);
800 return getInt64Direct(CurDAG, dl, Imm);
802 auto getI32Imm = [CurDAG, dl](unsigned Imm) {
803 return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
806 SDValue Val = SDValue(getInt64Direct(CurDAG, dl, MatImm), 0);
807 return CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64, Val,
812 static SDNode *getInt64(SelectionDAG *CurDAG, SDNode *N) {
817 return getInt64(CurDAG, dl, Imm);
1254 return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
1328 VRot = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32,
1336 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo, dl, MVT::i32,
1339 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo, dl, MVT::i32,
1348 TotalVal = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32,
1354 Res = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32,
1385 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops),
1406 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0);
1412 Res = SDValue(CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops), 0);
1429 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo, dl, MVT::i32,
1432 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo, dl, MVT::i32,
1440 Res = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32,
1486 return SDValue(CurDAG->getMachineNode(PPC::RLWINM8, dl, MVT::i64,
1493 return SDValue(CurDAG->getMachineNode(PPC::RLDICL, dl, MVT::i64, Ops), 0);
1499 return SDValue(CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64, Ops), 0);
1505 return SDValue(CurDAG->getMachineNode(PPC::RLDIC, dl, MVT::i64, Ops), 0);
1547 return SDValue(CurDAG->getMachineNode(PPC::RLWIMI8, dl, MVT::i64,
1554 return SDValue(CurDAG->getMachineNode(PPC::RLDIMI, dl, MVT::i64, Ops), 0);
1696 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo8, dl, MVT::i64,
1699 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo8, dl, MVT::i64,
1707 TotalVal = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64,
1710 TotalVal = SDValue(getInt64(CurDAG, dl, Mask), 0);
1712 SDValue(CurDAG->getMachineNode(PPC::AND8, dl, MVT::i64,
1719 Res = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64,
1839 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo8, dl, MVT::i64,
1842 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo8, dl, MVT::i64,
1850 Res = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64,
1855 SDValue MaskVal = SDValue(getInt64(CurDAG, dl, Mask), 0);
1857 SDValue(CurDAG->getMachineNode(PPC::AND8, dl, MVT::i64,
1903 SelectionDAG *CurDAG;
1907 : CurDAG(DAG) {}
1919 DEBUG(N->dump(CurDAG));
1971 BitPermutationSelector BPS(CurDAG);
1996 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, LHS,
2001 return SDValue(CurDAG->getMachineNode(PPC::CMPWI, dl, MVT::i32, LHS,
2014 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS, dl, MVT::i32, LHS,
2016 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, Xor,
2022 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, LHS,
2028 return SDValue(CurDAG->getMachineNode(PPC::CMPWI, dl, MVT::i32, LHS,
2040 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, LHS,
2045 return SDValue(CurDAG->getMachineNode(PPC::CMPDI, dl, MVT::i64, LHS,
2059 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS8, dl, MVT::i64, LHS,
2061 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, Xor,
2069 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, LHS,
2075 return SDValue(CurDAG->getMachineNode(PPC::CMPDI, dl, MVT::i64, LHS,
2086 return SDValue(CurDAG->getMachineNode(Opc, dl, MVT::i32, LHS, RHS), 0);
2265 CurDAG->getTargetLoweringInfo().getPointerTy(CurDAG->getDataLayout());
2278 Op = SDValue(CurDAG->getMachineNode(PPC::CNTLZW, dl, MVT::i32, Op), 0);
2281 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2287 SDValue(CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue,
2289 CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, AD, Op, AD.getValue(1));
2295 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2300 SDValue(CurDAG->getMachineNode(PPC::NEG, dl, MVT::i32, Op), 0);
2301 T = SDValue(CurDAG->getMachineNode(PPC::ANDC, dl, MVT::i32, T, Op), 0);
2304 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2314 Op = SDValue(CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue,
2316 CurDAG->SelectNodeTo(N, PPC::ADDZE, MVT::i32,
2317 SDValue(CurDAG->getMachineNode(PPC::LI, dl,
2324 Op = SDValue(CurDAG->getMachineNode(PPC::NOR, dl, MVT::i32, Op, Op), 0);
2325 SDNode *AD = CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue,
2327 CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, SDValue(AD, 0), Op,
2332 SDValue AD = SDValue(CurDAG->getMachineNode(PPC::ADDI, dl, MVT::i32, Op,
2334 SDValue AN = SDValue(CurDAG->getMachineNode(PPC::AND, dl, MVT::i32, AD,
2338 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2344 Op = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0);
2345 CurDAG->SelectNodeTo(N, PPC::XORI, MVT::i32, Op, getI32Imm(1, dl));
2370 SDValue VCmp(CurDAG->getMachineNode(VCmpInst, dl, ResVT, LHS, RHS), 0);
2371 CurDAG->SelectNodeTo(N, PPCSubTarget->hasVSX() ? PPC::XXLNOR : PPC::VNOR,
2376 CurDAG->SelectNodeTo(N, VCmpInst, ResVT, LHS, RHS);
2389 SDValue CR7Reg = CurDAG->getRegister(PPC::CR7, MVT::i32);
2392 CCReg = CurDAG->getCopyToReg(CurDAG->getEntryNode(), dl, CR7Reg, CCReg,
2395 IntCR = SDValue(CurDAG->getMachineNode(PPC::MFOCRF, dl, MVT::i32, CR7Reg,
2401 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2407 SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0);
2408 CurDAG->SelectNodeTo(N, PPC::XORI, MVT::i32, Tmp, getI32Imm(1, dl));
2445 ReplaceNode(N, getInt64(CurDAG, N));
2466 ReplaceNode(N, CurDAG->getMachineNode(PPC::MFOCRF, dl, MVT::i32,
2472 ReplaceNode(N, CurDAG->getMachineNode(PPC::ReadTB, dl, MVT::i32, MVT::i32,
2480 CurDAG->getTargetConstant(*cast<ConstantSDNode>(N->getOperand(1))->
2485 CurDAG->getMachineNode(PPC::SRADI, dl, MVT::i64, MVT::Glue,
2487 CurDAG->SelectNodeTo(N, PPC::ADDZE8, MVT::i64, SDValue(Op, 0),
2494 CurDAG->getMachineNode(PPC::SRAWI, dl, MVT::i32, MVT::Glue,
2496 CurDAG->SelectNodeTo(N, PPC::ADDZE, MVT::i32, SDValue(Op, 0),
2545 SDNode *MN = CurDAG->getMachineNode(
2547 PPCLowering->getPointerTy(CurDAG->getDataLayout()), MVT::Other, Ops);
2585 SDNode *MN = CurDAG->getMachineNode(
2587 PPCLowering->getPointerTy(CurDAG->getDataLayout()), MVT::Other, Ops);
2605 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2616 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2639 CurDAG->SelectNodeTo(N, PPC::RLDICL, MVT::i64, Ops);
2671 ReplaceNode(N, CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops));
2688 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne);
2718 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2732 CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops);
2750 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue,
2752 CurDAG->getTargetConstant(1, dl, InVT)),
2754 SDValue CR0Reg = CurDAG->getRegister(PPC::CR0, MVT::i32);
2756 CurDAG->getTargetConstant(N->getOpcode() == PPCISD::ANDIo_1_EQ_BIT ?
2759 CurDAG->SelectNodeTo(N, TargetOpcode::EXTRACT_SUBREG, MVT::i1, CR0Reg,
2766 CurDAG->getTargetLoweringInfo().getPointerTy(CurDAG->getDataLayout());
2784 CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue,
2786 CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, SDValue(Tmp, 0),
2807 SDValue CCBit = CurDAG->getTargetExtractSubreg(SRI, dl, MVT::i1, CCReg);
2809 SDValue NotCCBit(CurDAG->getMachineNode(PPC::CRNOR, dl, MVT::i1,
2814 SDValue CAndT(CurDAG->getMachineNode(PPC::CRAND, dl, MVT::i1,
2816 SDValue NotCAndF(CurDAG->getMachineNode(PPC::CRAND, dl, MVT::i1,
2819 CurDAG->SelectNodeTo(N, PPC::CROR, MVT::i1, CAndT, NotCAndF);
2854 CurDAG->SelectNodeTo(N, SelectCCOp, N->getValueType(0), Ops);
2860 CurDAG->SelectNodeTo(N, PPC::XXSEL, N->getValueType(0), Ops);
2892 CurDAG->SelectNodeTo(N, PPC::LXVDSX, N->getValueType(0), Ops);
2906 SDValue DMV = CurDAG->getTargetConstant(DM[1] | (DM[0] << 1), dl,
2909 CurDAG->SelectNodeTo(N, PPC::XXPERMDI, N->getValueType(0), Ops);
2918 CurDAG->SelectNodeTo(N, N->getOpcode() == PPCISD::BDNZ
2938 CurDAG->SelectNodeTo(N, PPC::BCC, MVT::Other, Ops);
2958 SDValue BitComp(CurDAG->getMachineNode(Opc, dl, MVT::i1,
2961 CurDAG->SelectNodeTo(N, PPC::BC, MVT::Other, BitComp, N->getOperand(4),
2972 CurDAG->SelectNodeTo(N, PPC::BCC, MVT::Other, Ops);
2981 Chain = SDValue(CurDAG->getMachineNode(Opc, dl, MVT::Glue, Target,
2983 CurDAG->SelectNodeTo(N, Reg, MVT::Other, Chain);
2991 SDNode *MN = CurDAG->getMachineNode(PPC::LWZtoc, dl, MVT::i32, GA,
3012 SDNode *Tmp = CurDAG->getMachineNode(PPC::ADDIStocHA, dl, MVT::i64,
3017 SDNode *MN = CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
3028 SDNode *MN = CurDAG->getMachineNode(PPC::LDtocL, dl, MVT::i64, GA,
3036 ReplaceNode(N, CurDAG->getMachineNode(PPC::ADDItocL, dl, MVT::i64,
3044 CurDAG->SelectNodeTo(N, PPC::PPC32PICGOT,
3045 PPCLowering->getPointerTy(CurDAG->getDataLayout()),
3087 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal);
3089 ReplaceNode(N, CurDAG->getMachineNode(Opc2, dl, VT, TmpVal, TmpVal));
3100 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal);
3102 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal);
3103 ReplaceNode(N, CurDAG->getMachineNode(Opc3, dl, VT, SDValue(Tmp1, 0),
3115 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal);
3117 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal);
3118 ReplaceNode(N, CurDAG->getMachineNode(Opc2, dl, VT, SDValue(Tmp1, 0),
3219 if (!CurDAG->MaskedValueIsZero(Op0,
3317 LHS = CurDAG->getAnyExtOrTrunc(LHS, dl, VT);
3318 RHS = CurDAG->getAnyExtOrTrunc(RHS, dl, VT);
3321 Res = CurDAG->getNode(PPCISD::CMPB, dl, VT, LHS, RHS);
3326 Res = CurDAG->getNode(ISD::AND, dl, VT, Res,
3327 CurDAG->getConstant(Mask, dl, VT));
3335 Res = CurDAG->getNode(ISD::AND, dl, VT, Res,
3336 CurDAG->getConstant(Mask ^ Alt, dl, VT));
3337 Res = CurDAG->getNode(ISD::XOR, dl, VT, Res,
3338 CurDAG->getConstant(Alt, dl, VT));
3370 CurDAG->getConstant(N->getOpcode() == ISD::SIGN_EXTEND ? -1 : 1, dl, VT);
3371 SDValue ConstFalse = CurDAG->getConstant(0, dl, VT);
3383 return CurDAG->FoldConstantArithmetic(User->getOpcode(), dl,
3404 Res = CurDAG->getSelect(dl, User->getValueType(0), Cond, TrueRes, FalseRes);
3412 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode());
3416 while (Position != CurDAG->allnodes_begin()) {
3434 DEBUG(N->dump(CurDAG));
3436 DEBUG(Res.getNode()->dump(CurDAG));
3439 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), Res);
3445 CurDAG->RemoveDeadNodes();
3514 CurDAG->getMachineNode(User->getMachineOpcode(), SDLoc(User),
3520 DEBUG(User->dump(CurDAG));
3522 DEBUG(ResNode->dump(CurDAG));
3533 for (SDNode &Node : CurDAG->allnodes()) {
3608 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode),
3612 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode),
3618 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode),
3623 ResNode = CurDAG->getMachineNode(PPC::CRNAND, SDLoc(MachineNode),
3632 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3637 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3642 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3647 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode),
3651 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode),
3657 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode),
3662 ResNode = CurDAG->getMachineNode(PPC::CRAND, SDLoc(MachineNode),
3674 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode),
3684 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode),
3690 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode),
3695 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3704 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode),
3708 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3713 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3724 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode),
3730 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode),
3735 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode),
3744 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode),
3748 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3753 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3758 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode),
3764 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode),
3769 ResNode = CurDAG->getMachineNode(PPC::CROR, SDLoc(MachineNode),
3778 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode),
3788 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3793 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3798 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode),
3804 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode),
3809 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode),
3818 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode),
3822 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3827 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode),
3834 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3840 ResNode = CurDAG->getMachineNode(PPC::CRAND, SDLoc(MachineNode),
3845 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode),
3854 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode),
3858 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode),
3865 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode),
3870 ResNode = CurDAG->getMachineNode(PPC::CRNAND, SDLoc(MachineNode),
3876 ResNode = CurDAG->getMachineNode(PPC::CROR, SDLoc(MachineNode),
3881 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode),
3903 ResNode = CurDAG->getMachineNode(MachineNode->getMachineOpcode(),
3914 ResNode = CurDAG->getMachineNode(Opcode == PPC::BC ? PPC::BCn :
3933 DEBUG(MachineNode->dump(CurDAG));
3935 DEBUG(ResNode->dump(CurDAG));
3943 CurDAG->RemoveDeadNodes();
4104 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode());
4108 while (Position != CurDAG->allnodes_begin()) {
4209 CurDAG->getMachineNode(TargetOpcode::INSERT_SUBREG, SDLoc(V),
4230 DEBUG(PN->dump(CurDAG));
4232 CurDAG->SelectNodeTo(PN, NewOpcode, CurDAG->getVTList(NewVTs), Ops);
4235 DEBUG(PN->dump(CurDAG));
4244 DEBUG(N->dump(CurDAG));
4246 DEBUG(Op32.getNode()->dump(CurDAG));
4253 CurDAG->RemoveDeadNodes();
4261 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode());
4264 while (Position != CurDAG->allnodes_begin()) {
4381 DEBUG(Base->dump(CurDAG));
4383 DEBUG(N->dump(CurDAG));
4400 ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, Offset, Flags);
4404 ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64,
4411 (void)CurDAG->UpdateNodeOperands(N, N->getOperand(0), ImmOpnd,
4414 (void)CurDAG->UpdateNodeOperands(N, ImmOpnd, Base.getOperand(0),
4419 CurDAG->RemoveDeadNode(Base.getNode());