Lines Matching refs:Ops
690 ArrayRef<SDValue> Ops) { in AddNodeIDOperands() argument
691 for (const auto &Op : Ops) { in AddNodeIDOperands()
699 ArrayRef<SDUse> Ops) { in AddNodeIDOperands() argument
700 for (const auto &Op : Ops) { in AddNodeIDOperands()
1262 SDValue Ops[] = { Op }; in FindModifiedNodeSlot() local
1264 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
1282 SDValue Ops[] = { Op1, Op2 }; in FindModifiedNodeSlot() local
1284 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
1296 SDNode *SelectionDAG::FindModifiedNodeSlot(SDNode *N, ArrayRef<SDValue> Ops, in FindModifiedNodeSlot() argument
1302 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
1691 SmallVector<SDValue, 8> Ops; in getConstant() local
1693 llvm::append_range(Ops, EltParts); in getConstant()
1696 getNode(ISD::BITCAST, DL, VT, getBuildVector(ViaVecVT, DL, Ops)); in getConstant()
2192 SDValue Ops[2] = { N1, N2 }; in getVectorShuffle() local
2193 AddNodeIDNode(ID, ISD::VECTOR_SHUFFLE, getVTList(VT), Ops); in getVectorShuffle()
2209 createOperands(N, Ops); in getVectorShuffle()
2265 SDValue Ops[] = { Root }; in getLabelNode() local
2266 AddNodeIDNode(ID, Opcode, getVTList(MVT::Other), Ops); in getLabelNode()
2274 createOperands(N, Ops); in getLabelNode()
2340 SDValue Ops[] = {Ptr}; in getAddrSpaceCast() local
2342 AddNodeIDNode(ID, ISD::ADDRSPACECAST, getVTList(VT), Ops); in getAddrSpaceCast()
2352 createOperands(N, Ops); in getAddrSpaceCast()
5436 ArrayRef<SDValue> Ops, in FoldBUILD_VECTOR() argument
5438 int NumOps = Ops.size(); in FoldBUILD_VECTOR()
5446 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
5453 if (Ops[i].getOpcode() != ISD::EXTRACT_VECTOR_ELT || in FoldBUILD_VECTOR()
5454 Ops[i].getOperand(0).getValueType() != VT || in FoldBUILD_VECTOR()
5455 (IdentitySrc && Ops[i].getOperand(0) != IdentitySrc) || in FoldBUILD_VECTOR()
5456 !isa<ConstantSDNode>(Ops[i].getOperand(1)) || in FoldBUILD_VECTOR()
5457 Ops[i].getConstantOperandAPInt(1) != i) { in FoldBUILD_VECTOR()
5461 IdentitySrc = Ops[i].getOperand(0); in FoldBUILD_VECTOR()
5472 ArrayRef<SDValue> Ops, in foldCONCAT_VECTORS() argument
5474 assert(!Ops.empty() && "Can't concatenate an empty list of vectors!"); in foldCONCAT_VECTORS()
5475 assert(llvm::all_of(Ops, in foldCONCAT_VECTORS()
5476 [Ops](SDValue Op) { in foldCONCAT_VECTORS()
5477 return Ops[0].getValueType() == Op.getValueType(); in foldCONCAT_VECTORS()
5480 assert((Ops[0].getValueType().getVectorElementCount() * Ops.size()) == in foldCONCAT_VECTORS()
5484 if (Ops.size() == 1) in foldCONCAT_VECTORS()
5485 return Ops[0]; in foldCONCAT_VECTORS()
5488 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in foldCONCAT_VECTORS()
5496 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in foldCONCAT_VECTORS()
5497 SDValue Op = Ops[i]; in foldCONCAT_VECTORS()
5525 for (SDValue Op : Ops) { in foldCONCAT_VECTORS()
5620 SDValue Ops = {N1}; in getNode() local
5621 if (SDValue Fold = FoldConstantArithmetic(Opcode, DL, VT, Ops)) in getNode()
5647 SDValue Ops[] = {N1}; in getNode() local
5648 if (SDValue V = FoldBUILD_VECTOR(DL, VT, Ops, *this)) in getNode()
5881 SDValue Ops[] = {N1}; in getNode() local
5884 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
5893 createOperands(N, Ops); in getNode()
5897 createOperands(N, Ops); in getNode()
6026 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() argument
6034 assert(Ops.size() == 2 && "Div/rem should have 2 operands"); in isUndef()
6035 SDValue Divisor = Ops[1]; in isUndef()
6052 EVT VT, ArrayRef<SDValue> Ops) { in FoldConstantArithmetic() argument
6062 unsigned NumOps = Ops.size(); in FoldConstantArithmetic()
6066 if (isUndef(Opcode, Ops)) in FoldConstantArithmetic()
6071 SDValue N1 = Ops[0]; in FoldConstantArithmetic()
6236 if (SDValue CFP = foldConstantFPMath(Opcode, DL, VT, Ops)) in FoldConstantArithmetic()
6239 if (auto *C1 = dyn_cast<ConstantSDNode>(Ops[0])) { in FoldConstantArithmetic()
6240 if (auto *C2 = dyn_cast<ConstantSDNode>(Ops[1])) { in FoldConstantArithmetic()
6257 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Ops[0])) in FoldConstantArithmetic()
6258 return FoldSymbolOffset(Opcode, VT, GA, Ops[1].getNode()); in FoldConstantArithmetic()
6260 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Ops[1])) in FoldConstantArithmetic()
6261 return FoldSymbolOffset(Opcode, VT, GA, Ops[0].getNode()); in FoldConstantArithmetic()
6272 Ops[0].getValueType() == VT && Ops[1].getValueType() == VT && in FoldConstantArithmetic()
6273 Ops[0].getOpcode() == ISD::BITCAST && in FoldConstantArithmetic()
6274 Ops[1].getOpcode() == ISD::BITCAST) { in FoldConstantArithmetic()
6275 SDValue N1 = peekThroughBitcasts(Ops[0]); in FoldConstantArithmetic()
6276 SDValue N2 = peekThroughBitcasts(Ops[1]); in FoldConstantArithmetic()
6305 SmallVector<SDValue> Ops(DstBits.size(), getUNDEF(BVEltVT)); in FoldConstantArithmetic() local
6309 Ops[I] = getConstant(DstBits[I].sext(BVEltBits), DL, BVEltVT); in FoldConstantArithmetic()
6311 return getBitcast(VT, getBuildVector(BVVT, DL, Ops)); in FoldConstantArithmetic()
6320 Ops[0].getOpcode() == ISD::STEP_VECTOR) { in FoldConstantArithmetic()
6322 if (ISD::isConstantSplatVector(Ops[1].getNode(), RHSVal)) { in FoldConstantArithmetic()
6324 ? Ops[0].getConstantOperandAPInt(0) * RHSVal in FoldConstantArithmetic()
6325 : Ops[0].getConstantOperandAPInt(0) << RHSVal; in FoldConstantArithmetic()
6344 if (!llvm::all_of(Ops, IsBuildVectorSplatVectorOrUndef) || in FoldConstantArithmetic()
6345 !llvm::all_of(Ops, IsScalarOrSameVectorSize)) in FoldConstantArithmetic()
6375 for (SDValue Op : Ops) { in FoldConstantArithmetic()
6429 EVT VT, ArrayRef<SDValue> Ops) { in foldConstantFPMath() argument
6431 if (Ops.size() != 2) in foldConstantFPMath()
6438 SDValue N1 = Ops[0]; in foldConstantFPMath()
6439 SDValue N2 = Ops[1]; in foldConstantFPMath()
6592 SDValue Ops[] = {N1, N2}; in getNode() local
6593 if (SDValue V = FoldBUILD_VECTOR(DL, VT, Ops, *this)) in getNode()
6598 SDValue Ops[] = {N1, N2}; in getNode() local
6599 if (SDValue V = foldCONCAT_VECTORS(DL, VT, Ops, *this)) in getNode()
6786 SmallVector<SDValue, 8> Ops; in getNode() local
6791 Ops.push_back(getUNDEF(OpVT)); in getNode()
6796 Ops.push_back(SignExtendInReg(Val, OpVT)); in getNode()
6798 return getBuildVector(VT, DL, Ops); in getNode()
7033 SDValue Ops[] = {N1, N2}; in getNode() local
7036 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
7045 createOperands(N, Ops); in getNode()
7049 createOperands(N, Ops); in getNode()
7098 SDValue Ops[] = {N1, N2, N3}; in getNode() local
7099 if (SDValue V = FoldBUILD_VECTOR(DL, VT, Ops, *this)) in getNode()
7104 SDValue Ops[] = {N1, N2, N3}; in getNode() local
7105 if (SDValue V = foldCONCAT_VECTORS(DL, VT, Ops, *this)) in getNode()
7122 SDValue Ops[] = {N1, N2, N3}; in getNode() local
7123 if (SDValue V = FoldConstantArithmetic(Opcode, DL, VT, Ops)) { in getNode()
7215 SDValue Ops[] = {N1, N2, N3}; in getNode() local
7218 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
7227 createOperands(N, Ops); in getNode()
7231 createOperands(N, Ops); in getNode()
7242 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
7243 return getNode(Opcode, DL, VT, Ops); in getNode()
7249 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
7250 return getNode(Opcode, DL, VT, Ops); in getNode()
8236 SDVTList VTList, ArrayRef<SDValue> Ops, in getAtomic() argument
8240 AddNodeIDNode(ID, Opcode, VTList, Ops); in getAtomic()
8251 createOperands(N, Ops); in getAtomic()
8266 SDValue Ops[] = {Chain, Ptr, Cmp, Swp}; in getAtomicCmpSwap() local
8267 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO); in getAtomicCmpSwap()
8298 SDValue Ops[] = {Chain, Ptr, Val}; in getAtomic() local
8299 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO); in getAtomic()
8308 SDValue Ops[] = {Chain, Ptr}; in getAtomic() local
8309 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO); in getAtomic()
8313 SDValue SelectionDAG::getMergeValues(ArrayRef<SDValue> Ops, const SDLoc &dl) { in getMergeValues() argument
8314 if (Ops.size() == 1) in getMergeValues()
8315 return Ops[0]; in getMergeValues()
8318 VTs.reserve(Ops.size()); in getMergeValues()
8319 for (const SDValue &Op : Ops) in getMergeValues()
8321 return getNode(ISD::MERGE_VALUES, dl, getVTList(VTs), Ops); in getMergeValues()
8325 unsigned Opcode, const SDLoc &dl, SDVTList VTList, ArrayRef<SDValue> Ops, in getMemIntrinsicNode() argument
8337 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, MemVT, MMO); in getMemIntrinsicNode()
8342 ArrayRef<SDValue> Ops, EVT MemVT, in getMemIntrinsicNode() argument
8355 AddNodeIDNode(ID, Opcode, VTList, Ops); in getMemIntrinsicNode()
8369 createOperands(N, Ops); in getMemIntrinsicNode()
8375 createOperands(N, Ops); in getMemIntrinsicNode()
8388 SDValue Ops[2] = { in getLifetimeNode() local
8395 AddNodeIDNode(ID, Opcode, VTs, Ops); in getLifetimeNode()
8405 createOperands(N, Ops); in getLifetimeNode()
8418 SDValue Ops[] = {Chain}; in getPseudoProbeNode() local
8420 AddNodeIDNode(ID, Opcode, VTs, Ops); in getPseudoProbeNode()
8429 createOperands(N, Ops); in getPseudoProbeNode()
8526 SDValue Ops[] = { Chain, Ptr, Offset }; in getLoad() local
8528 AddNodeIDNode(ID, ISD::LOAD, VTs, Ops); in getLoad()
8541 createOperands(N, Ops); in getLoad()
8628 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getStore() local
8630 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getStore()
8643 createOperands(N, Ops); in getStore()
8695 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getTruncStore() local
8697 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getTruncStore()
8710 createOperands(N, Ops); in getTruncStore()
8725 SDValue Ops[] = { ST->getChain(), ST->getValue(), Base, Offset }; in getIndexedStore() local
8727 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getIndexedStore()
8739 createOperands(N, Ops); in getIndexedStore()
8782 SDValue Ops[] = {Chain, Ptr, Offset, Mask, EVL}; in getLoadVP() local
8784 AddNodeIDNode(ID, ISD::VP_LOAD, VTs, Ops); in getLoadVP()
8797 createOperands(N, Ops); in getLoadVP()
8875 SDValue Ops[] = {Chain, Val, Ptr, Offset, Mask, EVL}; in getStoreVP() local
8877 AddNodeIDNode(ID, ISD::VP_STORE, VTs, Ops); in getStoreVP()
8890 createOperands(N, Ops); in getStoreVP()
8946 SDValue Ops[] = {Chain, Val, Ptr, Undef, Mask, EVL}; in getTruncStoreVP() local
8948 AddNodeIDNode(ID, ISD::VP_STORE, VTs, Ops); in getTruncStoreVP()
8962 createOperands(N, Ops); in getTruncStoreVP()
8977 SDValue Ops[] = {ST->getChain(), ST->getValue(), Base, in getIndexedStoreVP() local
8980 AddNodeIDNode(ID, ISD::VP_STORE, VTs, Ops); in getIndexedStoreVP()
8992 createOperands(N, Ops); in getIndexedStoreVP()
9031 SDValue Ops[] = {Chain, Ptr, Offset, Stride, Mask, EVL}; in getStridedLoadVP() local
9035 AddNodeIDNode(ID, ISD::EXPERIMENTAL_VP_STRIDED_LOAD, VTs, Ops); in getStridedLoadVP()
9050 createOperands(N, Ops); in getStridedLoadVP()
9129 SDValue Ops[] = {Chain, Val, Ptr, Offset, Stride, Mask, EVL}; in getStridedStoreVP() local
9131 AddNodeIDNode(ID, ISD::EXPERIMENTAL_VP_STRIDED_STORE, VTs, Ops); in getStridedStoreVP()
9144 createOperands(N, Ops); in getStridedStoreVP()
9198 SDValue Ops[] = {Chain, Val, Ptr, Undef, Stride, Mask, EVL}; in getTruncStridedStoreVP() local
9200 AddNodeIDNode(ID, ISD::EXPERIMENTAL_VP_STRIDED_STORE, VTs, Ops); in getTruncStridedStoreVP()
9213 createOperands(N, Ops); in getTruncStridedStoreVP()
9230 SDValue Ops[] = { in getIndexedStridedStoreVP() local
9234 AddNodeIDNode(ID, ISD::EXPERIMENTAL_VP_STRIDED_STORE, VTs, Ops); in getIndexedStridedStoreVP()
9245 createOperands(N, Ops); in getIndexedStridedStoreVP()
9255 ArrayRef<SDValue> Ops, MachineMemOperand *MMO, in getGatherVP() argument
9257 assert(Ops.size() == 6 && "Incompatible number of operands"); in getGatherVP()
9260 AddNodeIDNode(ID, ISD::VP_GATHER, VTs, Ops); in getGatherVP()
9274 createOperands(N, Ops); in getGatherVP()
9298 ArrayRef<SDValue> Ops, in getScatterVP() argument
9301 assert(Ops.size() == 7 && "Incompatible number of operands"); in getScatterVP()
9304 AddNodeIDNode(ID, ISD::VP_SCATTER, VTs, Ops); in getScatterVP()
9317 createOperands(N, Ops); in getScatterVP()
9352 SDValue Ops[] = {Chain, Base, Offset, Mask, PassThru}; in getMaskedLoad() local
9354 AddNodeIDNode(ID, ISD::MLOAD, VTs, Ops); in getMaskedLoad()
9367 createOperands(N, Ops); in getMaskedLoad()
9400 SDValue Ops[] = {Chain, Val, Base, Offset, Mask}; in getMaskedStore() local
9402 AddNodeIDNode(ID, ISD::MSTORE, VTs, Ops); in getMaskedStore()
9416 createOperands(N, Ops); in getMaskedStore()
9437 ArrayRef<SDValue> Ops, in getMaskedGather() argument
9441 assert(Ops.size() == 6 && "Incompatible number of operands"); in getMaskedGather()
9444 AddNodeIDNode(ID, ISD::MGATHER, VTs, Ops); in getMaskedGather()
9458 createOperands(N, Ops); in getMaskedGather()
9484 ArrayRef<SDValue> Ops, in getMaskedScatter() argument
9488 assert(Ops.size() == 6 && "Incompatible number of operands"); in getMaskedScatter()
9491 AddNodeIDNode(ID, ISD::MSCATTER, VTs, Ops); in getMaskedScatter()
9505 createOperands(N, Ops); in getMaskedScatter()
9533 SDValue Ops[] = {Chain, Ptr}; in getGetFPEnv() local
9535 AddNodeIDNode(ID, ISD::GET_FPENV_MEM, VTs, Ops); in getGetFPEnv()
9547 createOperands(N, Ops); in getGetFPEnv()
9560 SDValue Ops[] = {Chain, Ptr}; in getSetFPEnv() local
9562 AddNodeIDNode(ID, ISD::SET_FPENV_MEM, VTs, Ops); in getSetFPEnv()
9574 createOperands(N, Ops); in getSetFPEnv()
9684 SDValue Ops[] = { Chain, Ptr, SV, getTargetConstant(Align, dl, MVT::i32) }; in getVAArg() local
9685 return getNode(ISD::VAARG, dl, getVTList(VT, MVT::Other), Ops); in getVAArg()
9689 ArrayRef<SDUse> Ops) { in getNode() argument
9690 switch (Ops.size()) { in getNode()
9692 case 1: return getNode(Opcode, DL, VT, static_cast<const SDValue>(Ops[0])); in getNode()
9693 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
9694 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
9700 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode()
9705 ArrayRef<SDValue> Ops) { in getNode() argument
9709 return getNode(Opcode, DL, VT, Ops, Flags); in getNode()
9713 ArrayRef<SDValue> Ops, const SDNodeFlags Flags) { in getNode() argument
9714 unsigned NumOps = Ops.size(); in getNode()
9717 case 1: return getNode(Opcode, DL, VT, Ops[0], Flags); in getNode()
9718 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Flags); in getNode()
9719 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2], Flags); in getNode()
9724 for (const auto &Op : Ops) in getNode()
9733 if (SDValue V = FoldBUILD_VECTOR(DL, VT, Ops, *this)) in getNode()
9737 if (SDValue V = foldCONCAT_VECTORS(DL, VT, Ops, *this)) in getNode()
9742 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode()
9744 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
9746 assert(Ops[2].getValueType() == VT && in getNode()
9748 assert((!Ops[0].getValueType().isVector() || in getNode()
9749 Ops[0].getValueType().getVectorElementCount() == in getNode()
9756 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
9802 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
9809 createOperands(N, Ops); in getNode()
9814 createOperands(N, Ops); in getNode()
9825 ArrayRef<EVT> ResultTys, ArrayRef<SDValue> Ops) { in getNode() argument
9826 return getNode(Opcode, DL, getVTList(ResultTys), Ops); in getNode()
9830 ArrayRef<SDValue> Ops) { in getNode() argument
9834 return getNode(Opcode, DL, VTList, Ops, Flags); in getNode()
9838 ArrayRef<SDValue> Ops, const SDNodeFlags Flags) { in getNode() argument
9840 return getNode(Opcode, DL, VTList.VTs[0], Ops, Flags); in getNode()
9843 for (const auto &Op : Ops) in getNode()
9853 assert(VTList.NumVTs == 2 && Ops.size() == 2 && in getNode()
9856 Ops[0].getValueType() == Ops[1].getValueType() && in getNode()
9857 Ops[0].getValueType() == VTList.VTs[0] && in getNode()
9859 SDValue N1 = Ops[0], N2 = Ops[1]; in getNode()
9894 assert(VTList.NumVTs == 2 && Ops.size() == 2 && "Invalid mul lo/hi op!"); in getNode()
9896 VTList.VTs[0] == Ops[0].getValueType() && in getNode()
9897 VTList.VTs[0] == Ops[1].getValueType() && in getNode()
9900 ConstantSDNode *LHS = dyn_cast<ConstantSDNode>(Ops[0]); in getNode()
9901 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(Ops[1]); in getNode()
9924 assert(VTList.NumVTs == 2 && Ops.size() == 1 && "Invalid ffrexp op!"); in getNode()
9926 VTList.VTs[0] == Ops[0].getValueType() && "frexp type mismatch"); in getNode()
9928 if (const ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Ops[0])) { in getNode()
9941 assert(VTList.NumVTs == 2 && Ops.size() == 2 && in getNode()
9944 Ops[1].getValueType().isFloatingPoint() && "Invalid FP cast!"); in getNode()
9945 assert(VTList.VTs[0].isVector() == Ops[1].getValueType().isVector() && in getNode()
9950 Ops[1].getValueType().getVectorElementCount()) && in getNode()
9952 assert(Ops[1].getValueType().bitsLT(VTList.VTs[0]) && in getNode()
9956 assert(VTList.NumVTs == 2 && Ops.size() == 3 && "Invalid STRICT_FP_ROUND!"); in getNode()
9957 assert(VTList.VTs[0].isVector() == Ops[1].getValueType().isVector() && in getNode()
9962 Ops[1].getValueType().getVectorElementCount()) && in getNode()
9965 Ops[1].getValueType().isFloatingPoint() && in getNode()
9966 VTList.VTs[0].bitsLT(Ops[1].getValueType()) && in getNode()
9967 isa<ConstantSDNode>(Ops[2]) && in getNode()
9968 (Ops[2]->getAsZExtVal() == 0 || Ops[2]->getAsZExtVal() == 1) && in getNode()
9997 AddNodeIDNode(ID, Opcode, VTList, Ops); in getNode()
10003 createOperands(N, Ops); in getNode()
10007 createOperands(N, Ops); in getNode()
10024 SDValue Ops[] = { N1 }; in getNode() local
10025 return getNode(Opcode, DL, VTList, Ops); in getNode()
10030 SDValue Ops[] = { N1, N2 }; in getNode() local
10031 return getNode(Opcode, DL, VTList, Ops); in getNode()
10036 SDValue Ops[] = { N1, N2, N3 }; in getNode() local
10037 return getNode(Opcode, DL, VTList, Ops); in getNode()
10042 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
10043 return getNode(Opcode, DL, VTList, Ops); in getNode()
10049 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
10050 return getNode(Opcode, DL, VTList, Ops); in getNode()
10199 SDValue Ops[] = { Op1, Op2, Op3 }; in UpdateNodeOperands() local
10200 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
10206 SDValue Ops[] = { Op1, Op2, Op3, Op4 }; in UpdateNodeOperands() local
10207 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
10213 SDValue Ops[] = { Op1, Op2, Op3, Op4, Op5 }; in UpdateNodeOperands() local
10214 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
10218 UpdateNodeOperands(SDNode *N, ArrayRef<SDValue> Ops) { in UpdateNodeOperands() argument
10219 unsigned NumOps = Ops.size(); in UpdateNodeOperands()
10224 if (std::equal(Ops.begin(), Ops.end(), N->op_begin())) in UpdateNodeOperands()
10229 if (SDNode *Existing = FindModifiedNodeSlot(N, Ops, InsertPos)) in UpdateNodeOperands()
10239 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
10240 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
10292 SDValue Ops[] = { Op1 }; in SelectNodeTo() local
10293 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10300 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
10301 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10308 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
10309 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10313 EVT VT, ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
10315 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10319 EVT VT1, EVT VT2, ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
10321 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10332 ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
10334 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10341 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
10342 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
10346 SDVTList VTs,ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
10347 SDNode *New = MorphNodeTo(N, ~MachineOpc, VTs, Ops); in SelectNodeTo()
10391 SDVTList VTs, ArrayRef<SDValue> Ops) { in MorphNodeTo() argument
10396 AddNodeIDNode(ID, Opc, VTs, Ops); in MorphNodeTo()
10426 createOperands(N, Ops); in MorphNodeTo()
10463 SmallVector<SDValue, 3> Ops; in mutateStrictFPToFP() local
10465 Ops.push_back(Node->getOperand(i)); in mutateStrictFPToFP()
10468 SDNode *Res = MorphNodeTo(Node, NewOpc, VTs, Ops); in mutateStrictFPToFP()
10500 SDValue Ops[] = { Op1 }; in getMachineNode() local
10501 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10507 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
10508 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10515 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
10516 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10520 EVT VT, ArrayRef<SDValue> Ops) { in getMachineNode() argument
10522 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10529 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
10530 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10537 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
10538 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10543 ArrayRef<SDValue> Ops) { in getMachineNode() argument
10545 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10552 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
10553 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10561 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
10562 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10567 ArrayRef<SDValue> Ops) { in getMachineNode() argument
10569 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10574 ArrayRef<SDValue> Ops) { in getMachineNode() argument
10576 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
10581 ArrayRef<SDValue> Ops) { in getMachineNode() argument
10588 AddNodeIDNode(ID, ~Opcode, VTs, Ops); in getMachineNode()
10597 createOperands(N, Ops); in getMachineNode()
10630 ArrayRef<SDValue> Ops) { in getNodeIfExists() argument
10634 return getNodeIfExists(Opcode, VTList, Ops, Flags); in getNodeIfExists()
10638 ArrayRef<SDValue> Ops, in getNodeIfExists() argument
10642 AddNodeIDNode(ID, Opcode, VTList, Ops); in getNodeIfExists()
10654 ArrayRef<SDValue> Ops) { in doesNodeExist() argument
10657 AddNodeIDNode(ID, Opcode, VTList, Ops); in doesNodeExist()
12791 SDUse *Ops = OperandRecycler.allocate( in createOperands() local
12796 Ops[I].setUser(Node); in createOperands()
12797 Ops[I].setInitial(Vals[I]); in createOperands()
12798 if (Ops[I].Val.getValueType() != MVT::Other) // Skip Chain. It does not carry divergence. in createOperands()
12799 IsDivergent |= Ops[I].getNode()->isDivergent(); in createOperands()
12802 Node->OperandList = Ops; in createOperands()