Lines Matching full:getnode
174 ReplacedNode(Old.getNode());
322 SDValue Result = DAG.getNode(ISD::BITCAST, dl, intVT, Val);
363 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr,
365 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment);
387 DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &Stores[0],
404 SDValue Hi = DAG.getNode(ISD::SRL, dl, VT, Val, ShiftAmount);
411 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
420 DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Store1, Store2);
445 SDValue Result = DAG.getNode(ISD::BITCAST, dl, LoadedVT, newLoad);
447 Result = DAG.getNode(VT.isFloatingPoint() ? ISD::FP_EXTEND :
483 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment);
484 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr,
504 SDValue TF = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &Stores[0],
540 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
550 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
561 SDValue Result = DAG.getNode(ISD::SHL, dl, VT, Hi, ShiftAmount);
562 Result = DAG.getNode(ISD::OR, dl, VT, Result, Lo);
564 SDValue TF = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Lo.getValue(1),
594 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex();
603 Tmp3 = DAG.getNode(CastOpc, dl, PtrVT, Tmp3);
606 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT));
607 SDValue StackPtr2 = DAG.getNode(ISD::ADD, dl, IdxVT, Tmp3, StackPtr);
627 SDValue ScVec = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl,
689 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
695 return DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Lo, Hi);
713 if (SDNode *OptStore = OptimizeFloatStore(ST).getNode()) {
736 if (Res.getNode())
744 Value = DAG.getNode(ISD::BITCAST, dl, NVT, Value);
795 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
797 Hi = DAG.getNode(ISD::SRL, dl, Value.getValueType(), Value,
808 Hi = DAG.getNode(ISD::SRL, dl, Value.getValueType(), Value,
816 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
825 SDValue Result = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Lo, Hi);
843 if (Res.getNode())
854 Value = DAG.getNode(ISD::TRUNCATE, dl, StVT, Value);
894 if (Res.getNode()) {
908 RVal = DAG.getNode(ISD::BITCAST, dl, VT, Res);
913 if (RChain.getNode() != Node) {
914 assert(RVal.getNode() != Node && "Load must be completely replaced");
959 Result = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl,
964 Result = DAG.getNode(ISD::AssertZext, dl,
994 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
1003 Ch = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Lo.getValue(1),
1007 Hi = DAG.getNode(ISD::SHL, dl, Hi.getValueType(), Hi,
1012 Value = DAG.getNode(ISD::OR, dl, Node->getValueType(0), Lo, Hi);
1023 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr,
1033 Ch = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Lo.getValue(1),
1037 Hi = DAG.getNode(ISD::SHL, dl, Hi.getValueType(), Hi,
1042 Value = DAG.getNode(ISD::OR, dl, Node->getValueType(0), Lo, Hi);
1059 if (Res.getNode()) {
1095 Value = DAG.getNode(ExtendOp, dl, Node->getValueType(0), Load);
1117 ValRes = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl,
1130 if (Chain.getNode() != Node) {
1131 assert(Value.getNode() != Node && "Load must be completely replaced");
1256 NewVal = DAG.getNode(ISD::TRAP, SDLoc(Node), Node->getVTList(),
1258 ReplaceNode(Node, NewVal.getNode());
1259 LegalizeOp(NewVal.getNode());
1289 LegalizeOp(SAO.getNode());
1304 LegalizeOp(SAO.getNode());
1326 if (Res.getNode()) {
1334 if (Res.getNode() != Node || Res.getResNo() != 0) {
1386 Idx = DAG.getNode(ISD::MUL, dl, Idx.getValueType(), Idx,
1390 Idx = DAG.getNode(ISD::TRUNCATE, dl, TLI.getPointerTy(), Idx);
1392 Idx = DAG.getNode(ISD::ZERO_EXTEND, dl, TLI.getPointerTy(), Idx);
1394 StackPtr = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, StackPtr);
1416 int FI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex();
1429 Idx = DAG.getNode(ISD::MUL, dl, Idx.getValueType(), Idx,
1433 Idx = DAG.getNode(ISD::TRUNCATE, dl, TLI.getPointerTy(), Idx);
1435 Idx = DAG.getNode(ISD::ZERO_EXTEND, dl, TLI.getPointerTy(), Idx);
1437 SDValue SubStackPtr = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx,
1458 int FI = cast<FrameIndexSDNode>(FIPtr.getNode())->getIndex();
1472 Idx = DAG.getNode(ISD::ADD, dl, FIPtr.getValueType(), FIPtr, Idx);
1490 StoreChain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other,
1512 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2);
1533 LoadPtr = DAG.getNode(ISD::ADD, dl, LoadPtr.getValueType(),
1543 SignBit = DAG.getNode
1553 SDValue AbsVal = DAG.getNode(ISD::FABS, dl, Tmp1.getValueType(), Tmp1);
1557 DAG.getNode(ISD::FNEG, dl, AbsVal.getValueType(), AbsVal),
1584 SP = DAG.getNode(ISD::AND, dl, VT, SP,
1586 Tmp1 = DAG.getNode(ISD::SUB, dl, VT, SP, Size); // Value
1678 LHS = DAG.getNode(Opc, dl, VT, SetCC1, SetCC2);
1777 if (!Value1.getNode()) {
1779 } else if (!Value2.getNode()) {
1787 if (!Value1.getNode())
1791 return DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, VT, Node->getOperand(0));
1836 SDValue Vec1 = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, VT, Value1);
1838 if (Value2.getNode())
1839 Vec2 = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, VT, Value2);
1894 if (!CallInfo.second.getNode())
2030 for (SDNode::use_iterator UI = Op0.getNode()->use_begin(),
2031 UE = Op0.getNode()->use_end(); UI != UE; ++UI) {
2141 for (SDNode::use_iterator UI = Op0.getNode()->use_begin(),
2142 UE = Op0.getNode()->use_end(); UI != UE; ++UI) {
2238 SDValue Lo = DAG.getNode(ISD::ADD, dl,
2248 Op0Mapped = DAG.getNode(ISD::XOR, dl, MVT::i32, Op0, SignBit);
2271 SDValue Sub = DAG.getNode(ISD::FSUB, dl, MVT::f64, Load, Bias);
2279 Result = DAG.getNode(ISD::FP_ROUND, dl, DestVT, Sub,
2282 Result = DAG.getNode(ISD::FP_EXTEND, dl, DestVT, Sub);
2303 SDValue Hi = DAG.getNode(ISD::SRL, dl, MVT::i64, Op0,
2305 SDValue LoOr = DAG.getNode(ISD::OR, dl, MVT::i64, Lo, TwoP52);
2306 SDValue HiOr = DAG.getNode(ISD::OR, dl, MVT::i64, Hi, TwoP84);
2307 SDValue LoFlt = DAG.getNode(ISD::BITCAST, dl, MVT::f64, LoOr);
2308 SDValue HiFlt = DAG.getNode(ISD::BITCAST, dl, MVT::f64, HiOr);
2309 SDValue HiSub = DAG.getNode(ISD::FSUB, dl, MVT::f64, HiFlt,
2311 return DAG.getNode(ISD::FADD, dl, MVT::f64, LoFlt, HiSub);
2320 SDValue Fast = DAG.getNode(ISD::SINT_TO_FP, dl, MVT::f32, Op0);
2324 SDValue Shr = DAG.getNode(ISD::SRL, dl, MVT::i64, Op0, ShiftConst);
2326 SDValue And = DAG.getNode(ISD::AND, dl, MVT::i64, Op0, AndConst);
2327 SDValue Or = DAG.getNode(ISD::OR, dl, MVT::i64, And, Shr);
2329 SDValue SignCvt = DAG.getNode(ISD::SINT_TO_FP, dl, MVT::f32, Or);
2330 getNode(ISD::FADD, dl, MVT::f32, SignCvt, SignCvt);
2343 SDValue And = DAG.getNode(ISD::AND, dl, MVT::i64, Op0,
2345 SDValue Or = DAG.getNode(ISD::OR, dl, MVT::i64, And,
2347 SDValue And2 = DAG.getNode(ISD::AND, dl, MVT::i64, Op0,
2358 SDValue Sh = DAG.getNode(ISD::SRL, dl, MVT::i64, Sel2,
2360 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Sh);
2361 SDValue Fcvt = DAG.getNode(ISD::UINT_TO_FP, dl, MVT::f64, Trunc);
2364 SDValue Fmul = DAG.getNode(ISD::FMUL, dl, MVT::f64, TwoP32, Fcvt);
2365 SDValue Lo = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Sel2);
2366 SDValue Fcvt2 = DAG.getNode(ISD::UINT_TO_FP, dl, MVT::f64, Lo);
2367 SDValue Fadd = DAG.getNode(ISD::FADD, dl, MVT::f64, Fmul, Fcvt2);
2368 return DAG.getNode(ISD::FP_ROUND, dl, MVT::f32, Fadd,
2372 SDValue Tmp1 = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Op0);
2398 CPIdx = DAG.getNode(ISD::ADD, dl, TLI.getPointerTy(), CPIdx, CstOffset);
2411 LegalizeOp(Load.getNode());
2415 return DAG.getNode(ISD::FADD, dl, DestVT, Tmp1, FudgeInReg);
2455 return DAG.getNode(OpToUse, dl, DestVT,
2456 DAG.getNode(isSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND,
2494 SDValue Operation = DAG.getNode(OpToUse, dl, NewOutTy, LegalOp);
2498 return DAG.getNode(ISD::TRUNCATE, dl, DestVT, Operation);
2510 Tmp2 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT));
2511 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT));
2512 return DAG.getNode(ISD::OR, dl, VT, Tmp1, Tmp2);
2514 Tmp4 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(24, SHVT));
2515 Tmp3 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT));
2516 Tmp2 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT));
2517 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(24, SHVT));
2518 Tmp3 = DAG.getNode(ISD::AND, dl, VT, Tmp3, DAG.getConstant(0xFF0000, VT));
2519 Tmp2 = DAG.getNode(ISD::AND, dl, VT, Tmp2, DAG.getConstant(0xFF00, VT));
2520 Tmp4 = DAG.getNode(ISD::OR, dl, VT, Tmp4, Tmp3);
2521 Tmp2 = DAG.getNode(ISD::OR, dl, VT, Tmp2, Tmp1);
2522 return DAG.getNode(ISD::OR, dl, VT, Tmp4, Tmp2);
2524 Tmp8 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(56, SHVT));
2525 Tmp7 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(40, SHVT));
2526 Tmp6 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(24, SHVT));
2527 Tmp5 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT));
2528 Tmp4 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT));
2529 Tmp3 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(24, SHVT));
2530 Tmp2 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(40, SHVT));
2531 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(56, SHVT));
2532 Tmp7 = DAG.getNode(ISD::AND, dl, VT, Tmp7, DAG.getConstant(255ULL<<48, VT));
2533 Tmp6 = DAG.getNode(ISD::AND, dl, VT, Tmp6, DAG.getConstant(255ULL<<40, VT));
2534 Tmp5 = DAG.getNode(ISD::AND, dl, VT, Tmp5, DAG.getConstant(255ULL<<32, VT));
2535 Tmp4 = DAG.getNode(ISD::AND, dl, VT, Tmp4, DAG.getConstant(255ULL<<24, VT));
2536 Tmp3 = DAG.getNode(ISD::AND, dl, VT, Tmp3, DAG.getConstant(255ULL<<16, VT));
2537 Tmp2 = DAG.getNode(ISD::AND, dl, VT, Tmp2, DAG.getConstant(255ULL<<8 , VT));
2538 Tmp8 = DAG.getNode(ISD::OR, dl, VT, Tmp8, Tmp7);
2539 Tmp6 = DAG.getNode(ISD::OR, dl, VT, Tmp6, Tmp5);
2540 Tmp4 = DAG.getNode(ISD::OR, dl, VT, Tmp4, Tmp3);
2541 Tmp2 = DAG.getNode(ISD::OR, dl, VT, Tmp2, Tmp1);
2542 Tmp8 = DAG.getNode(ISD::OR, dl, VT, Tmp8, Tmp6);
2543 Tmp4 = DAG.getNode(ISD::OR, dl, VT, Tmp4, Tmp2);
2544 return DAG.getNode(ISD::OR, dl, VT, Tmp8, Tmp4);
2571 Op = DAG.getNode(ISD::SUB, dl, VT, Op,
2572 DAG.getNode(ISD::AND, dl, VT,
2573 DAG.getNode(ISD::SRL, dl, VT, Op,
2577 Op = DAG.getNode(ISD::ADD, dl, VT,
2578 DAG.getNode(ISD::AND, dl, VT, Op, Mask33),
2579 DAG.getNode(ISD::AND, dl, VT,
2580 DAG.getNode(ISD::SRL, dl, VT, Op,
2584 Op = DAG.getNode(ISD::AND, dl, VT,
2585 DAG.getNode(ISD::ADD, dl, VT, Op,
2586 DAG.getNode(ISD::SRL, dl, VT, Op,
2590 Op = DAG.getNode(ISD::SRL, dl, VT,
2591 DAG.getNode(ISD::MUL, dl, VT, Op, Mask01),
2598 return DAG.getNode(ISD::CTLZ, dl, Op.getValueType(), Op);
2614 Op = DAG.getNode(ISD::OR, dl, VT, Op,
2615 DAG.getNode(ISD::SRL, dl, VT, Op, Tmp3));
2618 return DAG.getNode(ISD::CTPOP, dl, VT, Op);
2622 return DAG.getNode(ISD::CTTZ, dl, Op.getValueType(), Op);
2629 SDValue Tmp3 = DAG.getNode(ISD::AND, dl, VT,
2631 DAG.getNode(ISD::SUB, dl, VT, Op,
2636 return DAG.getNode(ISD::SUB, dl, VT,
2638 DAG.getNode(ISD::CTLZ, dl, VT, Tmp3));
2639 return DAG.getNode(ISD::CTPOP, dl, VT, Tmp3);
2888 Tmp1 = DAG.getNode(ISD::SHL, dl, Node->getValueType(0),
2890 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst);
2925 True = DAG.getNode(ISD::FP_TO_SINT, dl, NVT, Node->getOperand(0));
2926 False = DAG.getNode(ISD::FP_TO_SINT, dl, NVT,
2927 DAG.getNode(ISD::FSUB, dl, VT,
2929 False = DAG.getNode(ISD::XOR, dl, NVT, False,
2950 VAList = DAG.getNode(ISD::ADD, dl, TLI.getPointerTy(), VAList,
2954 VAList = DAG.getNode(ISD::AND, dl, TLI.getPointerTy(), VAList,
2960 Tmp3 = DAG.getNode(ISD::ADD, dl, TLI.getPointerTy(), VAList,
2989 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0),
3039 Op0 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op0);
3040 Op1 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op1);
3072 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT,
3076 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT,
3082 Tmp1 = DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], Ops.size());
3084 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0), Tmp1);
3092 Tmp1 = DAG.getNode(ISD::SRL, dl, OpTy, Node->getOperand(0),
3095 Tmp1 = DAG.getNode(ISD::TRUNCATE, dl, Node->getValueType(0), Tmp1);
3098 Tmp1 = DAG.getNode(ISD::TRUNCATE, dl, Node->getValueType(0),
3132 Tmp1 = DAG.getNode(ISD::FSUB, dl, Node->getValueType(0), Tmp1,
3143 Tmp3 = DAG.getNode(ISD::FNEG, dl, VT, Tmp1);
3163 Tmp1 = DAG.getNode(ISD::FSINCOS, dl, VTs, Node->getOperand(0));
3278 Tmp1 = DAG.getNode(ISD::FNEG, dl, VT, Node->getOperand(1));
3279 Tmp1 = DAG.getNode(ISD::FADD, dl, VT, Node->getOperand(0), Tmp1);
3288 Tmp1 = DAG.getNode(ISD::XOR, dl, VT, Node->getOperand(1),
3290 Tmp1 = DAG.getNode(ISD::ADD, dl, VT, Tmp1, DAG.getConstant(1, VT));
3291 Results.push_back(DAG.getNode(ISD::ADD, dl, VT, Node->getOperand(0), Tmp1));
3308 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Tmp2, Tmp3).getValue(1);
3311 Tmp1 = DAG.getNode(DivOpc, dl, VT, Tmp2, Tmp3);
3312 Tmp1 = DAG.getNode(ISD::MUL, dl, VT, Tmp1, Tmp3);
3313 Tmp1 = DAG.getNode(ISD::SUB, dl, VT, Tmp2, Tmp1);
3336 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Node->getOperand(0),
3359 Tmp1 = DAG.getNode(ExpandOpcode, dl, VTs, Node->getOperand(0),
3392 Results.push_back(DAG.getNode(OpToUse, dl, VTs, Node->getOperand(0),
3407 SDValue Sum = DAG.getNode(Node->getOpcode() == ISD::SADDO ?
3433 SDValue Cmp = DAG.getNode(ISD::AND, dl, OType, SignsMatch, SumSignNE);
3441 SDValue Sum = DAG.getNode(Node->getOpcode() == ISD::UADDO ?
3463 BottomHalf = DAG.getNode(ISD::MUL, dl, VT, LHS, RHS);
3464 TopHalf = DAG.getNode(Ops[isSigned][0], dl, VT, LHS, RHS);
3466 BottomHalf = DAG.getNode(Ops[isSigned][1], dl, DAG.getVTList(VT, VT), LHS,
3471 LHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, LHS);
3472 RHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, RHS);
3473 getNode(ISD::MUL, dl, WideVT, LHS, RHS);
3474 BottomHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT, Tmp1,
3476 TopHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT, Tmp1,
3497 SDValue HiLHS = DAG.getNode(ISD::SRA, dl, VT, RHS,
3499 SDValue HiRHS = DAG.getNode(ISD::SRA, dl, VT, LHS,
3508 BottomHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT, Ret,
3510 TopHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT, Ret,
3515 DAG.DeleteNode(Ret.getNode());
3521 Tmp1 = DAG.getNode(ISD::SRA, dl, VT, BottomHalf, Tmp1);
3534 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, PairTy, Node->getOperand(0));
3535 Tmp2 = DAG.getNode(ISD::ANY_EXTEND, dl, PairTy, Node->getOperand(1));
3536 Tmp2 = DAG.getNode(ISD::SHL, dl, PairTy, Tmp2,
3539 Results.push_back(DAG.getNode(ISD::OR, dl, PairTy, Tmp1, Tmp2));
3568 Index = DAG.getNode(ISD::MUL, dl, PTy,
3570 SDValue Addr = DAG.getNode(ISD::ADD, dl, PTy, Index, Table);
3581 Addr = DAG.getNode(ISD::ADD, dl, PTy, Addr,
3584 Tmp1 = DAG.getNode(ISD::BRIND, dl, MVT::Other, LD.getValue(1), Addr);
3594 Tmp1 = DAG.getNode(ISD::BR_CC, dl, MVT::Other,
3601 DAG.getNode(ISD::AND, dl, Tmp2.getValueType(), Tmp2,
3603 Tmp1 = DAG.getNode(ISD::BR_CC, dl, MVT::Other, Tmp1,
3617 if (Tmp2.getNode() == 0) {
3635 Tmp1 = DAG.getNode(ISD::SELECT_CC, dl, VT, Tmp1, Tmp2,
3651 assert(!Tmp2.getNode() && "Can't legalize SELECT_CC with legal condition!");
3654 Tmp1 = DAG.getNode(ISD::SELECT_CC, dl, Node->getValueType(0), Tmp1, Tmp2,
3668 assert(!Tmp3.getNode() && "Can't legalize BR_CC with legal condition!");
3671 Tmp1 = DAG.getNode(ISD::BR_CC, dl, Node->getValueType(0), Tmp1, Tmp4, Tmp2,
3690 SDValue Ex = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl,
3694 SDValue Sh = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl,
3698 Scalars.push_back(DAG.getNode(Node->getOpcode(), dl,
3702 DAG.getNode(ISD::BUILD_VECTOR, dl, Node->getValueType(0),
3743 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0));
3746 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1);
3757 Tmp1 = DAG.getNode(ISD::SUB, dl, NVT, Tmp1,
3761 Results.push_back(DAG.getNode(ISD::TRUNCATE, dl, OVT, Tmp1));
3765 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0));
3766 Tmp1 = DAG.getNode(ISD::BSWAP, dl, NVT, Tmp1);
3767 Tmp1 = DAG.getNode(ISD::SRL, dl, NVT, Tmp1,
3802 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1);
3824 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0));
3825 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3827 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2);
3828 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1));
3845 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3846 Tmp3 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(2));
3850 Tmp1 = DAG.getNode(TruncOp, dl, Node->getValueType(0), Tmp1);
3852 Tmp1 = DAG.getNode(TruncOp, dl, Node->getValueType(0), Tmp1,
3861 Tmp1 = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(0));
3862 Tmp2 = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(1));
3866 Tmp1 = DAG.getNode(ISD::BITCAST, dl, OVT, Tmp1);
3877 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0));
3878 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3879 Results.push_back(DAG.getNode(ISD::SETCC, dl, Node->getValueType(0),
3886 getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
3887 Tmp2 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(1));
3888 Tmp3 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2);
3889 Results.push_back(DAG.getNode(ISD::FP_ROUND, dl, OVT,
3897 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
3898 Tmp2 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1);
3899 Results.push_back(DAG.getNode(ISD::FP_ROUND, dl, OVT,