Lines Matching refs:Ops
386 ArrayRef<SDValue> Ops) { in AddNodeIDOperands() argument
387 for (auto& Op : Ops) { in AddNodeIDOperands()
396 ArrayRef<SDUse> Ops) { in AddNodeIDOperands() argument
397 for (auto& Op : Ops) { in AddNodeIDOperands()
875 SDValue Ops[] = { Op }; in FindModifiedNodeSlot() local
877 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
893 SDValue Ops[] = { Op1, Op2 }; in FindModifiedNodeSlot() local
895 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
906 SDNode *SelectionDAG::FindModifiedNodeSlot(SDNode *N, ArrayRef<SDValue> Ops, in FindModifiedNodeSlot() argument
912 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
1160 SmallVector<SDValue, 8> Ops; in getConstant() local
1162 Ops.insert(Ops.end(), EltParts.begin(), EltParts.end()); in getConstant()
1166 Ops)); in getConstant()
1191 SmallVector<SDValue, 8> Ops; in getConstant() local
1192 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1193 Result = getNode(ISD::BUILD_VECTOR, SDLoc(), VT, Ops); in getConstant()
1233 SmallVector<SDValue, 8> Ops; in getConstantFP() local
1234 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1236 Result = getNode(ISD::BUILD_VECTOR, SDLoc(), VT, Ops); in getConstantFP()
1597 SmallVector<SDValue, 8> Ops(NElts, Splatted); in getVectorShuffle() local
1600 SDValue NewBV = getNode(ISD::BUILD_VECTOR, dl, BuildVT, Ops); in getVectorShuffle()
1612 SDValue Ops[2] = { N1, N2 }; in getVectorShuffle() local
1613 AddNodeIDNode(ID, ISD::VECTOR_SHUFFLE, getVTList(VT), Ops); in getVectorShuffle()
1657 SDValue Ops[] = { Val, DTy, STy, Rnd, Sat }; in getConvertRndSat() local
1658 AddNodeIDNode(ID, ISD::CONVERT_RNDSAT, getVTList(VT), Ops); in getConvertRndSat()
1665 Ops, Code); in getConvertRndSat()
1701 SDValue Ops[] = { Root }; in getEHLabel() local
1702 AddNodeIDNode(ID, ISD::EH_LABEL, getVTList(MVT::Other), Ops); in getEHLabel()
1775 SDValue Ops[] = {Ptr}; in getAddrSpaceCast() local
1777 AddNodeIDNode(ID, ISD::ADDRSPACECAST, getVTList(VT), Ops); in getAddrSpaceCast()
2867 SmallVector<SDValue, 8> Ops; in getNode() local
2875 Ops.push_back(OpN); in getNode()
2877 if (Ops.size() == VT.getVectorNumElements()) in getNode()
2878 return getNode(ISD::BUILD_VECTOR, DL, VT, Ops); in getNode()
3030 SDValue Ops[1] = { Operand }; in getNode() local
3031 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
3625 SDValue Ops[] = {N1, N2}; in getNode() local
3627 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
3730 SDValue Ops[] = { N1, N2, N3 }; in getNode() local
3732 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
3752 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
3753 return getNode(Opcode, DL, VT, Ops); in getNode()
3759 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
3760 return getNode(Opcode, DL, VT, Ops); in getNode()
4480 SDVTList VTList, ArrayRef<SDValue> Ops, in getAtomic() argument
4487 AddNodeIDNode(ID, Opcode, VTList, Ops); in getAtomic()
4500 unsigned NumOps = Ops.size(); in getAtomic()
4506 Ops.data(), DynOps, NumOps, MMO, in getAtomic()
4515 SDVTList VTList, ArrayRef<SDValue> Ops, in getAtomic() argument
4519 return getAtomic(Opcode, dl, MemVT, VTList, Ops, MMO, Ordering, in getAtomic()
4561 SDValue Ops[] = {Chain, Ptr, Cmp, Swp}; in getAtomicCmpSwap() local
4562 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO, in getAtomicCmpSwap()
4621 SDValue Ops[] = {Chain, Ptr, Val}; in getAtomic() local
4622 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO, Ordering, SynchScope); in getAtomic()
4634 SDValue Ops[] = {Chain, Ptr}; in getAtomic() local
4635 return getAtomic(Opcode, dl, MemVT, VTs, Ops, MMO, Ordering, SynchScope); in getAtomic()
4639 SDValue SelectionDAG::getMergeValues(ArrayRef<SDValue> Ops, SDLoc dl) { in getMergeValues() argument
4640 if (Ops.size() == 1) in getMergeValues()
4641 return Ops[0]; in getMergeValues()
4644 VTs.reserve(Ops.size()); in getMergeValues()
4645 for (unsigned i = 0; i < Ops.size(); ++i) in getMergeValues()
4646 VTs.push_back(Ops[i].getValueType()); in getMergeValues()
4647 return getNode(ISD::MERGE_VALUES, dl, getVTList(VTs), Ops); in getMergeValues()
4652 ArrayRef<SDValue> Ops, in getMemIntrinsicNode() argument
4672 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, MemVT, MMO); in getMemIntrinsicNode()
4677 ArrayRef<SDValue> Ops, EVT MemVT, in getMemIntrinsicNode() argument
4692 AddNodeIDNode(ID, Opcode, VTList, Ops); in getMemIntrinsicNode()
4701 dl.getDebugLoc(), VTList, Ops, in getMemIntrinsicNode()
4706 dl.getDebugLoc(), VTList, Ops, in getMemIntrinsicNode()
4808 SDValue Ops[] = { Chain, Ptr, Offset }; in getLoad() local
4810 AddNodeIDNode(ID, ISD::LOAD, VTs, Ops); in getLoad()
4821 SDNode *N = new (NodeAllocator) LoadSDNode(Ops, dl.getIROrder(), in getLoad()
4917 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getStore() local
4919 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getStore()
4929 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), in getStore()
4986 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getTruncStore() local
4988 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getTruncStore()
4998 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), in getTruncStore()
5013 SDValue Ops[] = { ST->getChain(), ST->getValue(), Base, Offset }; in getIndexedStore() local
5015 AddNodeIDNode(ID, ISD::STORE, VTs, Ops); in getIndexedStore()
5023 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), in getIndexedStore()
5039 SDValue Ops[] = { Chain, Ptr, Mask, Src0 }; in getMaskedLoad() local
5041 AddNodeIDNode(ID, ISD::MLOAD, VTs, Ops); in getMaskedLoad()
5054 dl.getDebugLoc(), Ops, 4, VTs, in getMaskedLoad()
5068 SDValue Ops[] = { Chain, Ptr, Mask, Val }; in getMaskedStore() local
5070 AddNodeIDNode(ID, ISD::MSTORE, VTs, Ops); in getMaskedStore()
5081 dl.getDebugLoc(), Ops, 4, in getMaskedStore()
5092 SDValue Ops[] = { Chain, Ptr, SV, getTargetConstant(Align, MVT::i32) }; in getVAArg() local
5093 return getNode(ISD::VAARG, dl, getVTList(VT, MVT::Other), Ops); in getVAArg()
5097 ArrayRef<SDUse> Ops) { in getNode() argument
5098 switch (Ops.size()) { in getNode()
5100 case 1: return getNode(Opcode, DL, VT, static_cast<const SDValue>(Ops[0])); in getNode()
5101 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
5102 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
5108 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode()
5113 ArrayRef<SDValue> Ops) { in getNode() argument
5114 unsigned NumOps = Ops.size(); in getNode()
5117 case 1: return getNode(Opcode, DL, VT, Ops[0]); in getNode()
5118 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
5119 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
5127 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode()
5129 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
5131 assert(Ops[2].getValueType() == VT && in getNode()
5137 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
5149 AddNodeIDNode(ID, Opcode, VTs, Ops); in getNode()
5156 VTs, Ops); in getNode()
5160 VTs, Ops); in getNode()
5168 ArrayRef<EVT> ResultTys, ArrayRef<SDValue> Ops) { in getNode() argument
5169 return getNode(Opcode, DL, getVTList(ResultTys), Ops); in getNode()
5173 ArrayRef<SDValue> Ops) { in getNode() argument
5175 return getNode(Opcode, DL, VTList.VTs[0], Ops); in getNode()
5202 unsigned NumOps = Ops.size(); in getNode()
5205 AddNodeIDNode(ID, Opcode, VTList, Ops); in getNode()
5212 DL.getDebugLoc(), VTList, Ops[0]); in getNode()
5215 DL.getDebugLoc(), VTList, Ops[0], in getNode()
5216 Ops[1]); in getNode()
5219 DL.getDebugLoc(), VTList, Ops[0], in getNode()
5220 Ops[1], Ops[2]); in getNode()
5223 VTList, Ops); in getNode()
5229 DL.getDebugLoc(), VTList, Ops[0]); in getNode()
5232 DL.getDebugLoc(), VTList, Ops[0], in getNode()
5233 Ops[1]); in getNode()
5236 DL.getDebugLoc(), VTList, Ops[0], in getNode()
5237 Ops[1], Ops[2]); in getNode()
5240 VTList, Ops); in getNode()
5253 SDValue Ops[] = { N1 }; in getNode() local
5254 return getNode(Opcode, DL, VTList, Ops); in getNode()
5259 SDValue Ops[] = { N1, N2 }; in getNode() local
5260 return getNode(Opcode, DL, VTList, Ops); in getNode()
5265 SDValue Ops[] = { N1, N2, N3 }; in getNode() local
5266 return getNode(Opcode, DL, VTList, Ops); in getNode()
5272 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
5273 return getNode(Opcode, DL, VTList, Ops); in getNode()
5279 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
5280 return getNode(Opcode, DL, VTList, Ops); in getNode()
5427 SDValue Ops[] = { Op1, Op2, Op3 }; in UpdateNodeOperands() local
5428 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
5434 SDValue Ops[] = { Op1, Op2, Op3, Op4 }; in UpdateNodeOperands() local
5435 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
5441 SDValue Ops[] = { Op1, Op2, Op3, Op4, Op5 }; in UpdateNodeOperands() local
5442 return UpdateNodeOperands(N, Ops); in UpdateNodeOperands()
5446 UpdateNodeOperands(SDNode *N, ArrayRef<SDValue> Ops) { in UpdateNodeOperands() argument
5447 unsigned NumOps = Ops.size(); in UpdateNodeOperands()
5452 if (Ops.empty() || std::equal(Ops.begin(), Ops.end(), N->op_begin())) in UpdateNodeOperands()
5457 if (SDNode *Existing = FindModifiedNodeSlot(N, Ops, InsertPos)) in UpdateNodeOperands()
5467 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
5468 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
5498 SDValue Ops[] = { Op1 }; in SelectNodeTo() local
5499 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5506 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
5507 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5514 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5515 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5519 EVT VT, ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
5521 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5525 EVT VT1, EVT VT2, ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
5527 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5538 ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
5540 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5545 ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
5547 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5554 SDValue Ops[] = { Op1 }; in SelectNodeTo() local
5555 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5562 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
5563 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5571 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5572 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5580 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5581 return SelectNodeTo(N, MachineOpc, VTs, Ops); in SelectNodeTo()
5585 SDVTList VTs,ArrayRef<SDValue> Ops) { in SelectNodeTo() argument
5586 N = MorphNodeTo(N, ~MachineOpc, VTs, Ops); in SelectNodeTo()
5626 SDVTList VTs, ArrayRef<SDValue> Ops) { in MorphNodeTo() argument
5627 unsigned NumOps = Ops.size(); in MorphNodeTo()
5632 AddNodeIDNode(ID, Opc, VTs, Ops); in MorphNodeTo()
5669 Ops.data(), NumOps); in MorphNodeTo()
5671 MN->InitOperands(MN->LocalOperands, Ops.data(), NumOps); in MorphNodeTo()
5674 MN->InitOperands(MN->OperandList, Ops.data(), NumOps); in MorphNodeTo()
5681 N->InitOperands(new SDUse[NumOps], Ops.data(), NumOps); in MorphNodeTo()
5684 N->InitOperands(N->OperandList, Ops.data(), NumOps); in MorphNodeTo()
5718 SDValue Ops[] = { Op1 }; in getMachineNode() local
5719 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5726 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5727 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5734 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5735 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5740 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5742 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5755 SDValue Ops[] = { Op1 }; in getMachineNode() local
5756 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5763 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5764 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5772 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5773 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5779 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5781 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5789 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5790 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5798 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5799 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5805 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5807 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5813 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5815 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5821 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5823 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5832 const SDValue *Ops = OpsArray.data(); in getMachineNode() local
5854 Ops, NumOps); in getMachineNode()
5856 N->InitOperands(N->LocalOperands, Ops, NumOps); in getMachineNode()
5891 ArrayRef<SDValue> Ops, bool nuw, bool nsw, in getNodeIfExists() argument
5895 AddNodeIDNode(ID, Opcode, VTList, Ops); in getNodeIfExists()
6387 ArrayRef<SDValue> Ops, EVT memvt, MachineMemOperand *mmo) in MemSDNode() argument
6388 : SDNode(Opc, Order, dl, VTs, Ops), in MemSDNode()