Lines Matching refs:CurDAG

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