Lines Matching refs:Tmp1
368 SDValue Tmp1 = Vec; in PerformInsertVectorEltInMemory() local
378 EVT VT = Tmp1.getValueType(); in PerformInsertVectorEltInMemory()
386 DAG.getEntryNode(), dl, Tmp1, StackPtr, in PerformInsertVectorEltInMemory()
1640 SDValue Tmp1 = SDValue(Node, 0); in ExpandDYNAMIC_STACKALLOC() local
1643 SDValue Chain = Tmp1.getOperand(0); in ExpandDYNAMIC_STACKALLOC()
1659 Tmp1 = DAG.getNode(Opc, dl, VT, SP, Size); // Value in ExpandDYNAMIC_STACKALLOC()
1661 Tmp1 = DAG.getNode(ISD::AND, dl, VT, Tmp1, in ExpandDYNAMIC_STACKALLOC()
1663 Chain = DAG.getCopyToReg(Chain, dl, SPReg, Tmp1); // Output chain in ExpandDYNAMIC_STACKALLOC()
1668 Results.push_back(Tmp1); in ExpandDYNAMIC_STACKALLOC()
2542 SDValue Tmp1; in ExpandLegalINT_TO_FP() local
2544 Tmp1 = DAG.getNode(ISD::STRICT_SINT_TO_FP, dl, { DestVT, MVT::Other }, in ExpandLegalINT_TO_FP()
2547 Tmp1 = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Op0); in ExpandLegalINT_TO_FP()
2595 { Tmp1.getValue(1), Tmp1, FudgeInReg }); in ExpandLegalINT_TO_FP()
2600 return DAG.getNode(ISD::FADD, dl, DestVT, Tmp1, FudgeInReg); in ExpandLegalINT_TO_FP()
2784 SDValue Tmp1, Tmp2, Tmp3, Tmp4, Tmp5, Tmp6, Tmp7, Tmp8; in ExpandBSWAP() local
2794 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(24, dl, SHVT)); in ExpandBSWAP()
2799 Tmp2 = DAG.getNode(ISD::OR, dl, VT, Tmp2, Tmp1); in ExpandBSWAP()
2809 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(56, dl, SHVT)); in ExpandBSWAP()
2825 Tmp2 = DAG.getNode(ISD::OR, dl, VT, Tmp2, Tmp1); in ExpandBSWAP()
2858 SDValue Tmp1, Tmp2, Tmp3, Tmp4; in ExpandNode() local
2862 if (TLI.expandABS(Node, Tmp1, DAG)) in ExpandNode()
2863 Results.push_back(Tmp1); in ExpandNode()
2866 if (TLI.expandCTPOP(Node, Tmp1, DAG)) in ExpandNode()
2867 Results.push_back(Tmp1); in ExpandNode()
2871 if (TLI.expandCTLZ(Node, Tmp1, DAG)) in ExpandNode()
2872 Results.push_back(Tmp1); in ExpandNode()
2876 if (TLI.expandCTTZ(Node, Tmp1, DAG)) in ExpandNode()
2877 Results.push_back(Tmp1); in ExpandNode()
3032 Tmp1 = EmitStackConvert(Node->getOperand(1), Node->getValueType(0), in ExpandNode()
3034 ReplaceNode(Node, Tmp1.getNode()); in ExpandNode()
3039 Tmp1 = EmitStackConvert(Node->getOperand(0), Node->getValueType(0), in ExpandNode()
3041 Results.push_back(Tmp1); in ExpandNode()
3056 Tmp1 = EmitStackConvert(Node->getOperand(1), in ExpandNode()
3059 ReplaceNode(Node, Tmp1.getNode()); in ExpandNode()
3063 Tmp1 = EmitStackConvert(Node->getOperand(0), in ExpandNode()
3066 Results.push_back(Tmp1); in ExpandNode()
3094 Tmp1 = DAG.getNode(ISD::SHL, dl, Node->getValueType(0), in ExpandNode()
3096 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
3097 Results.push_back(Tmp1); in ExpandNode()
3102 if (TLI.expandUINT_TO_FP(Node, Tmp1, Tmp2, DAG)) { in ExpandNode()
3103 Results.push_back(Tmp1); in ExpandNode()
3111 Tmp1 = ExpandLegalINT_TO_FP(Node, Tmp2); in ExpandNode()
3112 Results.push_back(Tmp1); in ExpandNode()
3117 if (TLI.expandFP_TO_SINT(Node, Tmp1, DAG)) in ExpandNode()
3118 Results.push_back(Tmp1); in ExpandNode()
3121 if (TLI.expandFP_TO_SINT(Node, Tmp1, DAG)) { in ExpandNode()
3122 ReplaceNode(Node, Tmp1.getNode()); in ExpandNode()
3128 if (TLI.expandFP_TO_UINT(Node, Tmp1, Tmp2, DAG)) in ExpandNode()
3129 Results.push_back(Tmp1); in ExpandNode()
3132 if (TLI.expandFP_TO_UINT(Node, Tmp1, Tmp2, DAG)) { in ExpandNode()
3136 ReplaceNodeWithValue(SDValue(Node, 0), Tmp1); in ExpandNode()
3151 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0), in ExpandNode()
3154 Tmp1 = ExpandExtractFromVectorThroughStack(SDValue(Node, 0)); in ExpandNode()
3155 Results.push_back(Tmp1); in ExpandNode()
3242 Tmp1 = DAG.getBuildVector(VT, dl, Ops); in ExpandNode()
3244 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0), Tmp1); in ExpandNode()
3245 Results.push_back(Tmp1); in ExpandNode()
3252 Tmp1 = DAG.getNode(ISD::SRL, dl, OpTy, Node->getOperand(0), in ExpandNode()
3257 Tmp1 = DAG.getNode(ISD::TRUNCATE, dl, Node->getValueType(0), Tmp1); in ExpandNode()
3260 Tmp1 = DAG.getNode(ISD::TRUNCATE, dl, Node->getValueType(0), in ExpandNode()
3263 Results.push_back(Tmp1); in ExpandNode()
3314 Tmp1 = Node->getOperand(0); in ExpandNode()
3316 Tmp1 = DAG.getSelectCC(dl, Tmp1, Tmp2, Tmp1, Tmp2, Pred); in ExpandNode()
3317 Results.push_back(Tmp1); in ExpandNode()
3335 Tmp1 = DAG.getNode(ISD::FSINCOS, dl, VTs, Node->getOperand(0)); in ExpandNode()
3337 Tmp1 = Tmp1.getValue(1); in ExpandNode()
3338 Results.push_back(Tmp1); in ExpandNode()
3406 Tmp1 = DAG.getNode(ISD::FNEG, dl, VT, Node->getOperand(1)); in ExpandNode()
3407 Tmp1 = DAG.getNode(ISD::FADD, dl, VT, Node->getOperand(0), Tmp1, Flags); in ExpandNode()
3408 Results.push_back(Tmp1); in ExpandNode()
3417 Tmp1 = DAG.getNode(ISD::XOR, dl, VT, Node->getOperand(1), in ExpandNode()
3420 Tmp1 = DAG.getNode(ISD::ADD, dl, VT, Tmp1, DAG.getConstant(1, dl, VT)); in ExpandNode()
3421 Results.push_back(DAG.getNode(ISD::ADD, dl, VT, Node->getOperand(0), Tmp1)); in ExpandNode()
3426 if (TLI.expandREM(Node, Tmp1, DAG)) in ExpandNode()
3427 Results.push_back(Tmp1); in ExpandNode()
3436 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Node->getOperand(0), in ExpandNode()
3438 Results.push_back(Tmp1); in ExpandNode()
3449 Tmp1 = DAG.getNode(ExpandOpcode, dl, VTs, Node->getOperand(0), in ExpandNode()
3451 Results.push_back(Tmp1.getValue(1)); in ExpandNode()
3535 if (TLI.expandFunnelShift(Node, Tmp1, DAG)) in ExpandNode()
3536 Results.push_back(Tmp1); in ExpandNode()
3540 if (TLI.expandROT(Node, true /*AllowVectorOps*/, Tmp1, DAG)) in ExpandNode()
3541 Results.push_back(Tmp1); in ExpandNode()
3649 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, PairTy, Node->getOperand(0)); in ExpandNode()
3655 Results.push_back(DAG.getNode(ISD::OR, dl, PairTy, Tmp1, Tmp2)); in ExpandNode()
3659 Tmp1 = Node->getOperand(0); in ExpandNode()
3662 if (Tmp1.getOpcode() == ISD::SETCC) { in ExpandNode()
3663 Tmp1 = DAG.getSelectCC(dl, Tmp1.getOperand(0), Tmp1.getOperand(1), in ExpandNode()
3665 cast<CondCodeSDNode>(Tmp1.getOperand(2))->get()); in ExpandNode()
3667 Tmp1 = DAG.getSelectCC(dl, Tmp1, in ExpandNode()
3668 DAG.getConstant(0, dl, Tmp1.getValueType()), in ExpandNode()
3671 Tmp1->setFlags(Node->getFlags()); in ExpandNode()
3672 Results.push_back(Tmp1); in ExpandNode()
3712 Tmp1 = TLI.expandIndirectJTBranch(dl, LD.getValue(1), Addr, DAG); in ExpandNode()
3713 Results.push_back(Tmp1); in ExpandNode()
3719 Tmp1 = Node->getOperand(0); in ExpandNode()
3722 Tmp1 = DAG.getNode(ISD::BR_CC, dl, MVT::Other, in ExpandNode()
3723 Tmp1, Tmp2.getOperand(2), in ExpandNode()
3736 Tmp1 = DAG.getNode(ISD::BR_CC, dl, MVT::Other, Tmp1, in ExpandNode()
3741 Results.push_back(Tmp1); in ExpandNode()
3750 Tmp1 = Node->getOperand(0 + Offset); in ExpandNode()
3754 LegalizeSetCCCondCode(Node->getValueType(0), Tmp1, Tmp2, Tmp3, in ExpandNode()
3761 Tmp1 = DAG.getNode(ISD::SETCC, dl, Node->getValueType(0), in ExpandNode()
3762 Tmp1, Tmp2, Tmp3, Node->getFlags()); in ExpandNode()
3767 Tmp1 = DAG.getLogicalNOT(dl, Tmp1, Tmp1->getValueType(0)); in ExpandNode()
3769 Results.push_back(Tmp1); in ExpandNode()
3784 switch (TLI.getBooleanContents(Tmp1.getValueType())) { in ExpandNode()
3793 Tmp1 = DAG.getNode(ISD::SELECT_CC, dl, VT, Tmp1, Tmp2, in ExpandNode()
3797 Tmp1->setFlags(Node->getFlags()); in ExpandNode()
3798 Results.push_back(Tmp1); in ExpandNode()
3803 Tmp1 = Node->getOperand(0); // LHS in ExpandNode()
3812 if (TLI.isCondCodeLegalOrCustom(CCOp, Tmp1.getSimpleValueType())) { in ExpandNode()
3815 EVT CmpVT = Tmp1.getValueType(); in ExpandNode()
3820 SDValue Cond = DAG.getNode(ISD::SETCC, dl, CCVT, Tmp1, Tmp2, CC, Node->getFlags()); in ExpandNode()
3830 ISD::CondCode InvCC = ISD::getSetCCInverse(CCOp, Tmp1.getValueType()); in ExpandNode()
3831 if (TLI.isCondCodeLegalOrCustom(InvCC, Tmp1.getSimpleValueType())) { in ExpandNode()
3834 Tmp1 = DAG.getSelectCC(dl, Tmp1, Tmp2, Tmp4, Tmp3, InvCC); in ExpandNode()
3835 Tmp1->setFlags(Node->getFlags()); in ExpandNode()
3840 if (TLI.isCondCodeLegalOrCustom(SwapInvCC, Tmp1.getSimpleValueType())) { in ExpandNode()
3844 Tmp1 = DAG.getSelectCC(dl, Tmp2, Tmp1, Tmp4, Tmp3, SwapInvCC); in ExpandNode()
3845 Tmp1->setFlags(Node->getFlags()); in ExpandNode()
3850 Legalized = LegalizeSetCCCondCode(getSetCCResultType(Tmp1.getValueType()), in ExpandNode()
3851 Tmp1, Tmp2, CC, NeedInvert, dl, Chain); in ExpandNode()
3863 Tmp1 = DAG.getNode(ISD::SELECT_CC, dl, Node->getValueType(0), in ExpandNode()
3864 Tmp1, Tmp2, Tmp3, Tmp4, CC); in ExpandNode()
3866 Tmp2 = DAG.getConstant(0, dl, Tmp1.getValueType()); in ExpandNode()
3868 Tmp1 = DAG.getNode(ISD::SELECT_CC, dl, Node->getValueType(0), Tmp1, in ExpandNode()
3871 Tmp1->setFlags(Node->getFlags()); in ExpandNode()
3873 Results.push_back(Tmp1); in ExpandNode()
3879 Tmp1 = Node->getOperand(0); // Chain in ExpandNode()
3895 Tmp1 = DAG.getNode(ISD::BR_CC, dl, Node->getValueType(0), Tmp1, in ExpandNode()
3900 Tmp1 = DAG.getNode(ISD::BR_CC, dl, Node->getValueType(0), Tmp1, Tmp4, in ExpandNode()
3903 Results.push_back(Tmp1); in ExpandNode()
4440 SDValue Tmp1, Tmp2, Tmp3; in PromoteNode() local
4450 Tmp1 = DAG.getNode(ISD::ANY_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4452 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4460 Tmp1 = DAG.getNode(ISD::OR, dl, NVT, Tmp1, in PromoteNode()
4465 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1); in PromoteNode()
4469 Tmp1 = DAG.getNode(ISD::SUB, dl, NVT, Tmp1, in PromoteNode()
4473 Results.push_back(DAG.getNode(ISD::TRUNCATE, dl, OVT, Tmp1)); in PromoteNode()
4478 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4479 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1); in PromoteNode()
4480 Tmp1 = DAG.getNode( in PromoteNode()
4481 ISD::SRL, dl, NVT, Tmp1, in PromoteNode()
4485 Results.push_back(DAG.getNode(ISD::TRUNCATE, dl, OVT, Tmp1)); in PromoteNode()
4514 Tmp1 = DAG.getVAArg(NVT, dl, Chain, Ptr, Node->getOperand(2), in PromoteNode()
4516 Chain = Tmp1.getValue(1); in PromoteNode()
4518 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1); in PromoteNode()
4562 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0)); in PromoteNode()
4565 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2); in PromoteNode()
4566 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
4574 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0)); in PromoteNode()
4576 Tmp1 = DAG.getNode(ISD::MUL, dl, NVT, Tmp1, Tmp2); in PromoteNode()
4581 ISD::SRL, dl, NVT, Tmp1, in PromoteNode()
4583 Results.push_back(DAG.getNode(ISD::TRUNCATE, dl, OVT, Tmp1)); in PromoteNode()
4600 Tmp1 = Node->getOperand(0); in PromoteNode()
4605 Tmp1 = DAG.getSelect(dl, NVT, Tmp1, Tmp2, Tmp3); in PromoteNode()
4606 Tmp1->setFlags(Node->getFlags()); in PromoteNode()
4608 Tmp1 = DAG.getNode(TruncOp, dl, Node->getValueType(0), Tmp1); in PromoteNode()
4610 Tmp1 = DAG.getNode(TruncOp, dl, Node->getValueType(0), Tmp1, in PromoteNode()
4612 Results.push_back(Tmp1); in PromoteNode()
4619 Tmp1 = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(0)); in PromoteNode()
4623 Tmp1 = ShuffleWithNarrowerEltType(NVT, OVT, dl, Tmp1, Tmp2, Mask); in PromoteNode()
4624 Tmp1 = DAG.getNode(ISD::BITCAST, dl, OVT, Tmp1); in PromoteNode()
4625 Results.push_back(Tmp1); in PromoteNode()
4638 std::tie(Tmp1, std::ignore) = in PromoteNode()
4642 SmallVector<SDValue, 2> TmpChains = {Tmp1.getValue(1), Tmp2.getValue(1)}; in PromoteNode()
4646 {OutChain, Tmp1, Tmp2, Node->getOperand(3)}, in PromoteNode()
4651 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0)); in PromoteNode()
4653 Results.push_back(DAG.getNode(ISD::SETCC, dl, Node->getValueType(0), Tmp1, in PromoteNode()
4664 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(2)); in PromoteNode()
4668 Tmp1, Tmp2, Node->getOperand(4))); in PromoteNode()
4679 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4681 Tmp3 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2, in PromoteNode()
4688 Tmp1 = DAG.getNode(ISD::STRICT_FP_EXTEND, dl, {NVT, MVT::Other}, in PromoteNode()
4692 Tmp3 = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Tmp1.getValue(1), in PromoteNode()
4694 Tmp1 = DAG.getNode(Node->getOpcode(), dl, {NVT, MVT::Other}, in PromoteNode()
4695 {Tmp3, Tmp1, Tmp2}); in PromoteNode()
4696 Tmp1 = DAG.getNode(ISD::STRICT_FP_ROUND, dl, {OVT, MVT::Other}, in PromoteNode()
4697 {Tmp1.getValue(1), Tmp1, DAG.getIntPtrConstant(0, dl)}); in PromoteNode()
4698 Results.push_back(Tmp1); in PromoteNode()
4699 Results.push_back(Tmp1.getValue(1)); in PromoteNode()
4702 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4707 DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2, Tmp3), in PromoteNode()
4712 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4714 Tmp3 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2); in PromoteNode()
4743 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0)); in PromoteNode()
4744 Tmp2 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1); in PromoteNode()
4755 Tmp1 = DAG.getNode(ISD::STRICT_FP_EXTEND, dl, {NVT, MVT::Other}, in PromoteNode()
4758 {Tmp1.getValue(1), Tmp1}); in PromoteNode()