Lines Matching full:getnode
489 return DAG.getNode(NVPTXISD::Wrapper, dl, getPointerTy(), Op);
710 Chain = DAG.getNode(NVPTXISD::DeclareParam, dl, DeclareParamVTs,
720 StVal = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::i16, StVal);
748 Chain = DAG.getNode(NVPTXISD::DeclareParam, dl, DeclareParamVTs,
764 Elt = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, Elt);
779 Elt0 = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, Elt0);
780 Elt1 = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, Elt1);
824 StoreVal = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal);
831 DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal);
843 DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal);
853 DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal);
888 Chain = DAG.getNode(NVPTXISD::DeclareScalarParam, dl, DeclareParamVTs,
897 OutV = DAG.getNode(opc, dl, MVT::i16, OutV);
934 Chain = DAG.getNode(NVPTXISD::DeclareParam, dl, DeclareParamVTs,
942 DAG.getNode(ISD::ADD, dl, getPointerTy(), OutVals[OIdx],
948 theVal = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::i16, theVal);
963 GlobalAddressSDNode *Func = dyn_cast<GlobalAddressSDNode>(Callee.getNode());
983 Chain = DAG.getNode(NVPTXISD::DeclareRet, dl, DeclareRetVTs,
993 Chain = DAG.getNode(NVPTXISD::DeclareRetParam, dl, DeclareRetVTs,
1014 Chain = DAG.getNode(NVPTXISD::CallPrototype, dl, ProtoVTs, ProtoOps);
1022 Chain = DAG.getNode(Func ? (NVPTXISD::PrintCallUni) : (NVPTXISD::PrintCall),
1029 Chain = DAG.getNode(NVPTXISD::CallVoid, dl, CallVoidVTs, CallVoidOps);
1035 Chain = DAG.getNode(NVPTXISD::CallArgBegin, dl, CallArgBeginVTs,
1048 Chain = DAG.getNode(opcode, dl, CallArgVTs, CallArgOps);
1054 Chain = DAG.getNode(NVPTXISD::CallArgEnd, dl, CallArgEndVTs, CallArgEndOps);
1061 Chain = DAG.getNode(NVPTXISD::Prototype, dl, PrototypeVTs, PrototypeOps);
1102 Ret0 = DAG.getNode(ISD::TRUNCATE, dl, EltVT, Ret0);
1133 Ret0 = DAG.getNode(ISD::TRUNCATE, dl, MVT::i1, Ret0);
1135 Ret1 = DAG.getNode(ISD::TRUNCATE, dl, MVT::i1, Ret1);
1187 Elt = DAG.getNode(ISD::TRUNCATE, dl, EltVT, Elt);
1237 Ret0 = DAG.getNode(ISD::TRUNCATE, dl, Ins[i].VT, Ret0);
1259 SDNode *Node = Op.getNode();
1265 EVT VVT = SubOp.getNode()->getValueType(0);
1269 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, SubOp,
1273 return DAG.getNode(ISD::BUILD_VECTOR, dl, Node->getValueType(0), Ops);
1301 SDValue Hi = DAG.getNode(Opc, dl, VT, ShOpHi, ShAmt);
1302 SDValue Lo = DAG.getNode(NVPTXISD::FUN_SHFR_CLAMP, dl, VT, ShOpLo, ShOpHi,
1318 SDValue RevShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32,
1320 SDValue Tmp1 = DAG.getNode(ISD::SRL, dl, VT, ShOpLo, ShAmt);
1321 SDValue ExtraShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32, ShAmt,
1323 SDValue Tmp2 = DAG.getNode(ISD::SHL, dl, VT, ShOpHi, RevShAmt);
1324 SDValue FalseVal = DAG.getNode(ISD::OR, dl, VT, Tmp1, Tmp2);
1325 SDValue TrueVal = DAG.getNode(Opc, dl, VT, ShOpHi, ExtraShAmt);
1329 SDValue Hi = DAG.getNode(Opc, dl, VT, ShOpHi, ShAmt);
1330 SDValue Lo = DAG.getNode(ISD::SELECT, dl, VT, Cmp, TrueVal, FalseVal);
1361 SDValue Hi = DAG.getNode(NVPTXISD::FUN_SHFL_CLAMP, dl, VT, ShOpLo, ShOpHi,
1363 SDValue Lo = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ShAmt);
1378 SDValue RevShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32,
1380 SDValue Tmp1 = DAG.getNode(ISD::SHL, dl, VT, ShOpHi, ShAmt);
1381 SDValue ExtraShAmt = DAG.getNode(ISD::SUB, dl, MVT::i32, ShAmt,
1383 SDValue Tmp2 = DAG.getNode(ISD::SRL, dl, VT, ShOpLo, RevShAmt);
1384 SDValue FalseVal = DAG.getNode(ISD::OR, dl, VT, Tmp1, Tmp2);
1385 SDValue TrueVal = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ExtraShAmt);
1389 SDValue Lo = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ShAmt);
1390 SDValue Hi = DAG.getNode(ISD::SELECT, dl, VT, Cmp, TrueVal, FalseVal);
1439 SDNode *Node = Op.getNode();
1449 SDValue result = DAG.getNode(ISD::TRUNCATE, dl, MVT::i1, newLD);
1469 SDNode *N = Op.getNode();
1527 SDValue ExtVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltVT, Val,
1530 ExtVal = DAG.getNode(ISD::ANY_EXTEND, DL, MVT::i16, ExtVal);
1557 SDNode *Node = Op.getNode();
1567 Tmp3 = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, Tmp3);
1689 InVals.push_back(DAG.getNode(ISD::UNDEF, dl, Ins[InsIdx].VT));
1700 InVals.push_back(DAG.getNode(ISD::UNDEF, dl, Ins[InsIdx].VT));
1707 InVals.push_back(DAG.getNode(ISD::UNDEF, dl, Ins[InsIdx].VT));
1737 DAG.getNode(ISD::ADD, dl, getPointerTy(), Arg,
1755 if (p.getNode())
1756 p.getNode()->setIROrder(idx + 1);
1779 SDValue SrcAddr = DAG.getNode(ISD::ADD, dl, getPointerTy(), Arg,
1785 if (P.getNode())
1786 P.getNode()->setIROrder(idx + 1);
1789 P = DAG.getNode(ISD::ANY_EXTEND, dl, Ins[InsIdx].VT, P);
1799 SDValue SrcAddr = DAG.getNode(ISD::ADD, dl, getPointerTy(), Arg,
1805 if (P.getNode())
1806 P.getNode()->setIROrder(idx + 1);
1808 SDValue Elt0 = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, P,
1810 SDValue Elt1 = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, P,
1814 Elt0 = DAG.getNode(ISD::ANY_EXTEND, dl, Ins[InsIdx].VT, Elt0);
1815 Elt1 = DAG.getNode(ISD::ANY_EXTEND, dl, Ins[InsIdx].VT, Elt1);
1843 DAG.getNode(ISD::ADD, dl, getPointerTy(), Arg,
1849 if (P.getNode())
1850 P.getNode()->setIROrder(idx + 1);
1855 SDValue Elt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, P,
1858 Elt = DAG.getNode(ISD::ANY_EXTEND, dl, Ins[InsIdx].VT, Elt);
1888 if (p.getNode())
1889 p.getNode()->setIROrder(idx + 1);
1905 SDValue p = DAG.getNode(NVPTXISD::MoveParam, dl, ObjectVT, Arg);
1906 if (p.getNode())
1907 p.getNode()->setIROrder(idx + 1);
1911 SDValue p2 = DAG.getNode(
1927 DAG.setRoot(DAG.getNode(ISD::TokenFactor, dl, MVT::Other, OutChains));
1966 StoreVal = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal);
1978 StoreVal0 = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal0);
1979 StoreVal1 = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, StoreVal1);
2020 StoreVal = DAG.getNode(ISD::ZERO_EXTEND, dl, ExtendedVT, StoreVal);
2026 StoreVal = DAG.getNode(ISD::ZERO_EXTEND, dl, ExtendedVT, StoreVal);
2038 DAG.getNode(ISD::ZERO_EXTEND, dl, ExtendedVT, StoreVal);
2048 DAG.getNode(ISD::ZERO_EXTEND, dl, ExtendedVT, StoreVal);
2055 // Chain = DAG.getNode(Opc, dl, MVT::Other, &Ops[0], Ops.size());
2077 TmpVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl,
2085 TmpVal = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, TmpVal);
2089 TmpVal = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::i16, TmpVal);
2103 return DAG.getNode(NVPTXISD::RET_FLAG, dl, MVT::Other, Chain);
2676 !N0.getNode()->hasOneUse())
2680 return DAG.getNode(NVPTXISD::IMAD, SDLoc(N), VT,
2698 for (SDNode::use_iterator UI = N0.getNode()->use_begin(),
2699 UE = N0.getNode()->use_end();
2710 int orderNo2 = N0.getNode()->getIROrder();
2721 const SDNode *left = N0.getOperand(0).getNode();
2722 const SDNode *right = N0.getOperand(1).getNode();
2751 return DAG.getNode(ISD::FMA, SDLoc(N), VT,
2771 if (Result.getNode())
2839 if (AExt.getNode() != 0) {
2841 Val = DCI.DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N),
2986 DCI.DAG.getNode(ISD::TRUNCATE, SDLoc(N), DemotedVT, LHS);
2988 DCI.DAG.getNode(ISD::TRUNCATE, SDLoc(N), DemotedVT, RHS);
2997 return DCI.DAG.getNode(Opc, SDLoc(N), MulType, TruncLHS, TruncRHS);
3007 if (Ret.getNode())
3021 if (Ret.getNode())
3127 Res = DAG.getNode(ISD::TRUNCATE, DL, ResVT.getVectorElementType(), Res);
3133 SDValue BuildVec = DAG.getNode(ISD::BUILD_VECTOR, DL, ResVT, ScalarRes);
3146 unsigned IntrinNo = cast<ConstantSDNode>(Intrin.getNode())->getZExtValue();
3240 DAG.getNode(ISD::TRUNCATE, DL, ResVT.getVectorElementType(), Res);
3247 DAG.getNode(ISD::BUILD_VECTOR, DL, ResVT, ScalarRes);
3272 Results.push_back(DAG.getNode(ISD::TRUNCATE, DL, MVT::i8,