Lines Matching refs:CurDAG

94       return CurDAG->getTargetConstant(Imm, MVT::i32);  in getI32Imm()
100 return CurDAG->getTargetConstant(Imm, MVT::i64); in getI64Imm()
105 return CurDAG->getTargetConstant(Imm, PPCLowering->getPointerTy()); in getSmallIPtrImm()
134 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, false); in SelectAddrImm()
154 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG); in SelectAddrIdx()
160 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG); in SelectAddrIdxOnly()
167 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, true); in SelectAddrImmX4()
200 SDValue RC = CurDAG->getTargetConstant(TRC->getID(), MVT::i32); in SelectInlineAsmMemoryOperand()
202 SDValue(CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, in SelectInlineAsmMemoryOperand()
343 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
405 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in getFrameIndex()
408 return CurDAG->SelectNodeTo(SN, Opc, N->getValueType(0), TFI, in getFrameIndex()
410 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, in getFrameIndex()
464 CurDAG->computeKnownBits(Op0, LKZ, LKO); in SelectBitfieldInsert()
465 CurDAG->computeKnownBits(Op1, RKZ, RKO); in SelectBitfieldInsert()
512 CurDAG->computeKnownBits(Op1.getOperand(1), MKZ, MKO); in SelectBitfieldInsert()
528 return CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops); in SelectBitfieldInsert()
625 static SDNode *SelectInt64Direct(SelectionDAG *CurDAG, SDLoc dl, int64_t Imm) { in SelectInt64Direct() argument
655 auto getI32Imm = [CurDAG](unsigned Imm) { in SelectInt64Direct()
656 return CurDAG->getTargetConstant(Imm, MVT::i32); in SelectInt64Direct()
662 Result = CurDAG->getMachineNode(PPC::LI8, dl, MVT::i64, getI32Imm(Lo)); in SelectInt64Direct()
666 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); in SelectInt64Direct()
668 Result = CurDAG->getMachineNode(PPC::ORI8, dl, MVT::i64, in SelectInt64Direct()
672 Result = CurDAG->getMachineNode(PPC::LIS8, dl, MVT::i64, getI32Imm(Hi)); in SelectInt64Direct()
680 Result = CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64, in SelectInt64Direct()
688 Result = CurDAG->getMachineNode(PPC::ORIS8, dl, MVT::i64, in SelectInt64Direct()
692 Result = CurDAG->getMachineNode(PPC::ORI8, dl, MVT::i64, in SelectInt64Direct()
699 static SDNode *SelectInt64(SelectionDAG *CurDAG, SDLoc dl, int64_t Imm) { in SelectInt64() argument
702 return SelectInt64Direct(CurDAG, dl, Imm); in SelectInt64()
744 return SelectInt64Direct(CurDAG, dl, Imm); in SelectInt64()
746 auto getI32Imm = [CurDAG](unsigned Imm) { in SelectInt64()
747 return CurDAG->getTargetConstant(Imm, MVT::i32); in SelectInt64()
750 SDValue Val = SDValue(SelectInt64Direct(CurDAG, dl, MatImm), 0); in SelectInt64()
751 return CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64, Val, in SelectInt64()
756 static SDNode *SelectInt64(SelectionDAG *CurDAG, SDNode *N) { in SelectInt64() argument
761 return SelectInt64(CurDAG, dl, Imm); in SelectInt64()
1198 return CurDAG->getTargetConstant(Imm, MVT::i32); in getI32Imm()
1271 VRot = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, in SelectAndParts32()
1279 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo, dl, MVT::i32, in SelectAndParts32()
1282 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo, dl, MVT::i32, in SelectAndParts32()
1291 TotalVal = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32, in SelectAndParts32()
1297 Res = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32, in SelectAndParts32()
1330 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0); in Select32()
1352 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0); in Select32()
1357 Res = SDValue(CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops), 0); in Select32()
1374 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo, dl, MVT::i32, in Select32()
1377 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo, dl, MVT::i32, in Select32()
1385 Res = SDValue(CurDAG->getMachineNode(PPC::OR, dl, MVT::i32, in Select32()
1431 return SDValue(CurDAG->getMachineNode(PPC::RLWINM8, dl, MVT::i64, in SelectRotMask64()
1438 return SDValue(CurDAG->getMachineNode(PPC::RLDICL, dl, MVT::i64, Ops), 0); in SelectRotMask64()
1444 return SDValue(CurDAG->getMachineNode(PPC::RLDICR, dl, MVT::i64, Ops), 0); in SelectRotMask64()
1450 return SDValue(CurDAG->getMachineNode(PPC::RLDIC, dl, MVT::i64, Ops), 0); in SelectRotMask64()
1492 return SDValue(CurDAG->getMachineNode(PPC::RLWIMI8, dl, MVT::i64, in SelectRotMaskIns64()
1499 return SDValue(CurDAG->getMachineNode(PPC::RLDIMI, dl, MVT::i64, Ops), 0); in SelectRotMaskIns64()
1644 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo8, dl, MVT::i64, in SelectAndParts64()
1647 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo8, dl, MVT::i64, in SelectAndParts64()
1655 TotalVal = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64, in SelectAndParts64()
1658 TotalVal = SDValue(SelectInt64(CurDAG, dl, Mask), 0); in SelectAndParts64()
1660 SDValue(CurDAG->getMachineNode(PPC::AND8, dl, MVT::i64, in SelectAndParts64()
1667 Res = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64, in SelectAndParts64()
1794 ANDIVal = SDValue(CurDAG->getMachineNode(PPC::ANDIo8, dl, MVT::i64, in Select64()
1797 ANDISVal = SDValue(CurDAG->getMachineNode(PPC::ANDISo8, dl, MVT::i64, in Select64()
1805 Res = SDValue(CurDAG->getMachineNode(PPC::OR8, dl, MVT::i64, in Select64()
1810 SDValue MaskVal = SDValue(SelectInt64(CurDAG, dl, Mask), 0); in Select64()
1812 SDValue(CurDAG->getMachineNode(PPC::AND8, dl, MVT::i64, in Select64()
1853 SelectionDAG *CurDAG; member in __anon7bd595e20411::BitPermutationSelector
1857 : CurDAG(DAG) {} in BitPermutationSelector()
1869 DEBUG(N->dump(CurDAG)); in Select()
1921 BitPermutationSelector BPS(CurDAG); in SelectBitPermutation()
1942 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, LHS, in SelectCC()
1946 return SDValue(CurDAG->getMachineNode(PPC::CMPWI, dl, MVT::i32, LHS, in SelectCC()
1958 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS, dl, MVT::i32, LHS, in SelectCC()
1960 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, Xor, in SelectCC()
1966 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, LHS, in SelectCC()
1972 return SDValue(CurDAG->getMachineNode(PPC::CMPWI, dl, MVT::i32, LHS, in SelectCC()
1983 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, LHS, in SelectCC()
1987 return SDValue(CurDAG->getMachineNode(PPC::CMPDI, dl, MVT::i64, LHS, in SelectCC()
2000 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS8, dl, MVT::i64, LHS, in SelectCC()
2002 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, Xor, in SelectCC()
2009 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, LHS, in SelectCC()
2015 return SDValue(CurDAG->getMachineNode(PPC::CMPDI, dl, MVT::i64, LHS, in SelectCC()
2026 return SDValue(CurDAG->getMachineNode(Opc, dl, MVT::i32, LHS, RHS), 0); in SelectCC()
2204 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in SelectSETCC()
2217 Op = SDValue(CurDAG->getMachineNode(PPC::CNTLZW, dl, MVT::i32, Op), 0); in SelectSETCC()
2219 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in SelectSETCC()
2224 SDValue(CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue, in SelectSETCC()
2226 return CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, AD, Op, in SelectSETCC()
2231 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in SelectSETCC()
2235 SDValue(CurDAG->getMachineNode(PPC::NEG, dl, MVT::i32, Op), 0); in SelectSETCC()
2236 T = SDValue(CurDAG->getMachineNode(PPC::ANDC, dl, MVT::i32, T, Op), 0); in SelectSETCC()
2238 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in SelectSETCC()
2247 Op = SDValue(CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue, in SelectSETCC()
2249 return CurDAG->SelectNodeTo(N, PPC::ADDZE, MVT::i32, in SelectSETCC()
2250 SDValue(CurDAG->getMachineNode(PPC::LI, dl, in SelectSETCC()
2256 Op = SDValue(CurDAG->getMachineNode(PPC::NOR, dl, MVT::i32, Op, Op), 0); in SelectSETCC()
2257 SDNode *AD = CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue, in SelectSETCC()
2259 return CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, SDValue(AD, 0), in SelectSETCC()
2263 SDValue AD = SDValue(CurDAG->getMachineNode(PPC::ADDI, dl, MVT::i32, Op, in SelectSETCC()
2265 SDValue AN = SDValue(CurDAG->getMachineNode(PPC::AND, dl, MVT::i32, AD, in SelectSETCC()
2268 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in SelectSETCC()
2272 Op = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), in SelectSETCC()
2274 return CurDAG->SelectNodeTo(N, PPC::XORI, MVT::i32, Op, in SelectSETCC()
2298 SDValue VCmp(CurDAG->getMachineNode(VCmpInst, dl, VecVT, LHS, RHS), 0); in SelectSETCC()
2299 return CurDAG->SelectNodeTo(N, PPCSubTarget->hasVSX() ? PPC::XXLNOR : in SelectSETCC()
2304 return CurDAG->SelectNodeTo(N, VCmpInst, VecVT, LHS, RHS); in SelectSETCC()
2316 SDValue CR7Reg = CurDAG->getRegister(PPC::CR7, MVT::i32); in SelectSETCC()
2319 CCReg = CurDAG->getCopyToReg(CurDAG->getEntryNode(), dl, CR7Reg, CCReg, in SelectSETCC()
2322 IntCR = SDValue(CurDAG->getMachineNode(PPC::MFOCRF, dl, MVT::i32, CR7Reg, in SelectSETCC()
2328 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in SelectSETCC()
2332 SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0); in SelectSETCC()
2333 return CurDAG->SelectNodeTo(N, PPC::XORI, MVT::i32, Tmp, getI32Imm(1)); in SelectSETCC()
2370 return SelectInt64(CurDAG, N); in Select()
2388 return CurDAG->getMachineNode(PPC::MFOCRF, dl, MVT::i32, in Select()
2393 return CurDAG->getMachineNode(PPC::ReadTB, dl, MVT::i32, MVT::i32, in Select()
2400 CurDAG->getTargetConstant(*cast<ConstantSDNode>(N->getOperand(1))-> in Select()
2404 CurDAG->getMachineNode(PPC::SRADI, dl, MVT::i64, MVT::Glue, in Select()
2406 return CurDAG->SelectNodeTo(N, PPC::ADDZE8, MVT::i64, in Select()
2412 CurDAG->getMachineNode(PPC::SRAWI, dl, MVT::i32, MVT::Glue, in Select()
2414 return CurDAG->SelectNodeTo(N, PPC::ADDZE, MVT::i32, in Select()
2462 return transferMemOperands(N, CurDAG->getMachineNode(Opcode, dl, in Select()
2500 return transferMemOperands(N, CurDAG->getMachineNode(Opcode, dl, in Select()
2517 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in Select()
2526 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in Select()
2548 return CurDAG->SelectNodeTo(N, PPC::RLDICL, MVT::i64, Ops); in Select()
2566 return CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops); in Select()
2582 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne); in Select()
2607 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in Select()
2619 return CurDAG->SelectNodeTo(N, PPC::RLWINM, MVT::i32, Ops); in Select()
2636 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select()
2638 CurDAG->getTargetConstant(1, InVT)), 0); in Select()
2639 SDValue CR0Reg = CurDAG->getRegister(PPC::CR0, MVT::i32); in Select()
2641 CurDAG->getTargetConstant(N->getOpcode() == PPCISD::ANDIo_1_EQ_BIT ? in Select()
2644 return CurDAG->SelectNodeTo(N, TargetOpcode::EXTRACT_SUBREG, MVT::i1, in Select()
2650 EVT PtrVT = CurDAG->getTargetLoweringInfo().getPointerTy(); in Select()
2668 CurDAG->getMachineNode(PPC::ADDIC, dl, MVT::i32, MVT::Glue, in Select()
2670 return CurDAG->SelectNodeTo(N, PPC::SUBFE, MVT::i32, in Select()
2691 SDValue CCBit = CurDAG->getTargetExtractSubreg(SRI, dl, MVT::i1, CCReg); in Select()
2693 SDValue NotCCBit(CurDAG->getMachineNode(PPC::CRNOR, dl, MVT::i1, in Select()
2698 SDValue CAndT(CurDAG->getMachineNode(PPC::CRAND, dl, MVT::i1, in Select()
2700 SDValue NotCAndF(CurDAG->getMachineNode(PPC::CRAND, dl, MVT::i1, in Select()
2703 return CurDAG->SelectNodeTo(N, PPC::CROR, MVT::i1, CAndT, NotCAndF); in Select()
2734 return CurDAG->SelectNodeTo(N, SelectCCOp, N->getValueType(0), Ops); in Select()
2739 return CurDAG->SelectNodeTo(N, PPC::XXSEL, N->getValueType(0), Ops); in Select()
2767 SDValue DMV = CurDAG->getTargetConstant(DM[1] | (DM[0] << 1), MVT::i32); in Select()
2779 return CurDAG->SelectNodeTo(N, PPC::LXVDSX, in Select()
2785 return CurDAG->SelectNodeTo(N, PPC::XXPERMDI, N->getValueType(0), Ops); in Select()
2793 return CurDAG->SelectNodeTo(N, N->getOpcode() == PPCISD::BDNZ ? in Select()
2809 return CurDAG->SelectNodeTo(N, PPC::BCC, MVT::Other, Ops); in Select()
2828 SDValue BitComp(CurDAG->getMachineNode(Opc, dl, MVT::i1, in Select()
2831 return CurDAG->SelectNodeTo(N, PPC::BC, MVT::Other, in Select()
2838 return CurDAG->SelectNodeTo(N, PPC::BCC, MVT::Other, Ops); in Select()
2846 Chain = SDValue(CurDAG->getMachineNode(Opc, dl, MVT::Glue, Target, in Select()
2848 return CurDAG->SelectNodeTo(N, Reg, MVT::Other, Chain); in Select()
2855 return transferMemOperands(N, CurDAG->getMachineNode(PPC::LWZtoc, dl, in Select()
2875 SDNode *Tmp = CurDAG->getMachineNode(PPC::ADDIStocHA, dl, MVT::i64, in Select()
2880 return transferMemOperands(N, CurDAG->getMachineNode(PPC::LDtocL, dl, in Select()
2889 return transferMemOperands(N, CurDAG->getMachineNode(PPC::LDtocL, dl, in Select()
2893 return CurDAG->getMachineNode(PPC::ADDItocL, dl, MVT::i64, in Select()
2900 return CurDAG->SelectNodeTo(N, PPC::PPC32PICGOT, PPCLowering->getPointerTy(), MVT::i32); in Select()
2940 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
2942 return CurDAG->getMachineNode(Opc2, dl, VT, TmpVal, TmpVal); in Select()
2952 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
2954 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
2955 return CurDAG->getMachineNode(Opc3, dl, VT, SDValue(Tmp1, 0), in Select()
2966 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
2968 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
2969 return CurDAG->getMachineNode(Opc2, dl, VT, SDValue(Tmp1, 0), in Select()
3069 if (!CurDAG->MaskedValueIsZero(Op0, in combineToCMPB()
3167 LHS = CurDAG->getAnyExtOrTrunc(LHS, dl, VT); in combineToCMPB()
3168 RHS = CurDAG->getAnyExtOrTrunc(RHS, dl, VT); in combineToCMPB()
3171 Res = CurDAG->getNode(PPCISD::CMPB, dl, VT, LHS, RHS); in combineToCMPB()
3176 Res = CurDAG->getNode(ISD::AND, dl, VT, Res, CurDAG->getConstant(Mask, VT)); in combineToCMPB()
3184 Res = CurDAG->getNode(ISD::AND, dl, VT, Res, in combineToCMPB()
3185 CurDAG->getConstant(Mask ^ Alt, VT)); in combineToCMPB()
3186 Res = CurDAG->getNode(ISD::XOR, dl, VT, Res, CurDAG->getConstant(Alt, VT)); in combineToCMPB()
3218 CurDAG->getConstant(N->getOpcode() == ISD::SIGN_EXTEND ? -1 : 1, VT); in foldBoolExts()
3219 SDValue ConstFalse = CurDAG->getConstant(0, VT); in foldBoolExts()
3231 return CurDAG->FoldConstantArithmetic(User->getOpcode(), in foldBoolExts()
3252 Res = CurDAG->getSelect(dl, User->getValueType(0), Cond, TrueRes, FalseRes); in foldBoolExts()
3260 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode()); in PreprocessISelDAG()
3264 while (Position != CurDAG->allnodes_begin()) { in PreprocessISelDAG()
3282 DEBUG(N->dump(CurDAG)); in PreprocessISelDAG()
3284 DEBUG(Res.getNode()->dump(CurDAG)); in PreprocessISelDAG()
3287 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), Res); in PreprocessISelDAG()
3293 CurDAG->RemoveDeadNodes(); in PreprocessISelDAG()
3362 CurDAG->getMachineNode(User->getMachineOpcode(), SDLoc(User), in SwapAllSelectUsers()
3368 DEBUG(User->dump(CurDAG)); in SwapAllSelectUsers()
3370 DEBUG(ResNode->dump(CurDAG)); in SwapAllSelectUsers()
3381 for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(), in PeepholeCROps()
3382 E = CurDAG->allnodes_end(); I != E; ++I) { in PeepholeCROps()
3456 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3460 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3466 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3471 ResNode = CurDAG->getMachineNode(PPC::CRNAND, SDLoc(MachineNode), in PeepholeCROps()
3479 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3484 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3489 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3494 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode), in PeepholeCROps()
3498 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode), in PeepholeCROps()
3504 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode), in PeepholeCROps()
3509 ResNode = CurDAG->getMachineNode(PPC::CRAND, SDLoc(MachineNode), in PeepholeCROps()
3520 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode), in PeepholeCROps()
3530 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode), in PeepholeCROps()
3536 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode), in PeepholeCROps()
3541 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3549 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3553 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3558 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3569 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode), in PeepholeCROps()
3575 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode), in PeepholeCROps()
3580 ResNode = CurDAG->getMachineNode(PPC::CREQV, SDLoc(MachineNode), in PeepholeCROps()
3588 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3592 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3597 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3602 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3608 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3613 ResNode = CurDAG->getMachineNode(PPC::CROR, SDLoc(MachineNode), in PeepholeCROps()
3621 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode), in PeepholeCROps()
3631 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3636 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3641 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode), in PeepholeCROps()
3647 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode), in PeepholeCROps()
3652 ResNode = CurDAG->getMachineNode(PPC::CRXOR, SDLoc(MachineNode), in PeepholeCROps()
3660 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3664 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3669 ResNode = CurDAG->getMachineNode(PPC::CRUNSET, SDLoc(MachineNode), in PeepholeCROps()
3676 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3682 ResNode = CurDAG->getMachineNode(PPC::CRAND, SDLoc(MachineNode), in PeepholeCROps()
3687 ResNode = CurDAG->getMachineNode(PPC::CRORC, SDLoc(MachineNode), in PeepholeCROps()
3695 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode), in PeepholeCROps()
3699 ResNode = CurDAG->getMachineNode(PPC::CRSET, SDLoc(MachineNode), in PeepholeCROps()
3706 ResNode = CurDAG->getMachineNode(PPC::CRNOR, SDLoc(MachineNode), in PeepholeCROps()
3711 ResNode = CurDAG->getMachineNode(PPC::CRNAND, SDLoc(MachineNode), in PeepholeCROps()
3717 ResNode = CurDAG->getMachineNode(PPC::CROR, SDLoc(MachineNode), in PeepholeCROps()
3722 ResNode = CurDAG->getMachineNode(PPC::CRANDC, SDLoc(MachineNode), in PeepholeCROps()
3742 ResNode = CurDAG->getMachineNode(MachineNode->getMachineOpcode(), in PeepholeCROps()
3753 ResNode = CurDAG->getMachineNode(Opcode == PPC::BC ? PPC::BCn : in PeepholeCROps()
3772 DEBUG(MachineNode->dump(CurDAG)); in PeepholeCROps()
3774 DEBUG(ResNode->dump(CurDAG)); in PeepholeCROps()
3782 CurDAG->RemoveDeadNodes(); in PeepholeCROps()
3943 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode()); in PeepholePPC64ZExt()
3947 while (Position != CurDAG->allnodes_begin()) { in PeepholePPC64ZExt()
4048 CurDAG->getMachineNode(TargetOpcode::INSERT_SUBREG, SDLoc(V), in PeepholePPC64ZExt()
4069 DEBUG(PN->dump(CurDAG)); in PeepholePPC64ZExt()
4071 CurDAG->SelectNodeTo(PN, NewOpcode, CurDAG->getVTList(NewVTs), Ops); in PeepholePPC64ZExt()
4074 DEBUG(PN->dump(CurDAG)); in PeepholePPC64ZExt()
4083 DEBUG(N->dump(CurDAG)); in PeepholePPC64ZExt()
4085 DEBUG(Op32.getNode()->dump(CurDAG)); in PeepholePPC64ZExt()
4092 CurDAG->RemoveDeadNodes(); in PeepholePPC64ZExt()
4100 SelectionDAG::allnodes_iterator Position(CurDAG->getRoot().getNode()); in PeepholePPC64()
4103 while (Position != CurDAG->allnodes_begin()) { in PeepholePPC64()
4201 DEBUG(Base->dump(CurDAG)); in PeepholePPC64()
4203 DEBUG(N->dump(CurDAG)); in PeepholePPC64()
4222 ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, 0, Flags); in PeepholePPC64()
4226 ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64, in PeepholePPC64()
4233 (void)CurDAG->UpdateNodeOperands(N, N->getOperand(0), ImmOpnd, in PeepholePPC64()
4236 (void)CurDAG->UpdateNodeOperands(N, ImmOpnd, Base.getOperand(0), in PeepholePPC64()
4241 CurDAG->RemoveDeadNode(Base.getNode()); in PeepholePPC64()