Lines Matching refs:Ops
338 const SDValue *Ops, unsigned NumOps) { in AddNodeIDOperands() argument
339 for (; NumOps; --NumOps, ++Ops) { in AddNodeIDOperands()
340 ID.AddPointer(Ops->getNode()); in AddNodeIDOperands()
341 ID.AddInteger(Ops->getResNo()); in AddNodeIDOperands()
348 const SDUse *Ops, unsigned NumOps) { in AddNodeIDOperands() argument
349 for (; NumOps; --NumOps, ++Ops) { in AddNodeIDOperands()
350 ID.AddPointer(Ops->getNode()); in AddNodeIDOperands()
351 ID.AddInteger(Ops->getResNo()); in AddNodeIDOperands()
738 SDValue Ops[] = { Op }; in FindModifiedNodeSlot() local
740 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops, 1); in FindModifiedNodeSlot()
756 SDValue Ops[] = { Op1, Op2 }; in FindModifiedNodeSlot() local
758 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops, 2); in FindModifiedNodeSlot()
770 const SDValue *Ops,unsigned NumOps, in FindModifiedNodeSlot() argument
776 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops, NumOps); in FindModifiedNodeSlot()
1007 SmallVector<SDValue, 8> Ops; in getConstant() local
1008 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1009 Result = getNode(ISD::BUILD_VECTOR, SDLoc(), VT, &Ops[0], Ops.size()); in getConstant()
1049 SmallVector<SDValue, 8> Ops; in getConstantFP() local
1050 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1052 Result = getNode(ISD::BUILD_VECTOR, SDLoc(), VT, &Ops[0], Ops.size()); in getConstantFP()
1367 SDValue Ops[2] = { N1, N2 }; in getVectorShuffle() local
1368 AddNodeIDNode(ID, ISD::VECTOR_SHUFFLE, getVTList(VT), Ops, 2); in getVectorShuffle()
1400 SDValue Ops[] = { Val, DTy, STy, Rnd, Sat }; in getConvertRndSat() local
1401 AddNodeIDNode(ID, ISD::CONVERT_RNDSAT, getVTList(VT), &Ops[0], 5); in getConvertRndSat()
1406 …ndSatSDNode *N = new (NodeAllocator) CvtRndSatSDNode(VT, dl.getIROrder(), dl.getDebugLoc(), Ops, 5, in getConvertRndSat()
1443 SDValue Ops[] = { Root }; in getEHLabel() local
1444 AddNodeIDNode(ID, ISD::EH_LABEL, getVTList(MVT::Other), &Ops[0], 1); in getEHLabel()
2669 SDValue Ops[1] = { Operand }; in getNode() local
2670 AddNodeIDNode(ID, Opcode, VTs, Ops, 1); in getNode()
3240 SDValue Ops[] = { N1, N2 }; in getNode() local
3242 AddNodeIDNode(ID, Opcode, VTs, Ops, 2); in getNode()
3345 SDValue Ops[] = { N1, N2, N3 }; in getNode() local
3347 AddNodeIDNode(ID, Opcode, VTs, Ops, 3); in getNode()
3368 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
3369 return getNode(Opcode, DL, VT, Ops, 4); in getNode()
3375 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
3376 return getNode(Opcode, DL, VT, Ops, 5); in getNode()
4122 SDValue Ops[] = {Chain, Ptr, Cmp, Swp}; in getAtomic() local
4123 AddNodeIDNode(ID, Opcode, VTs, Ops, 4); in getAtomic()
4195 SDValue Ops[] = {Chain, Ptr, Val}; in getAtomic() local
4196 AddNodeIDNode(ID, Opcode, VTs, Ops, 3); in getAtomic()
4253 SDValue Ops[] = {Chain, Ptr}; in getAtomic() local
4254 AddNodeIDNode(ID, Opcode, VTs, Ops, 2); in getAtomic()
4269 SDValue SelectionDAG::getMergeValues(const SDValue *Ops, unsigned NumOps, in getMergeValues() argument
4272 return Ops[0]; in getMergeValues()
4277 VTs.push_back(Ops[i].getValueType()); in getMergeValues()
4279 Ops, NumOps); in getMergeValues()
4285 const SDValue *Ops, unsigned NumOps, in getMemIntrinsicNode() argument
4289 return getMemIntrinsicNode(Opcode, dl, makeVTList(VTs, NumVTs), Ops, NumOps, in getMemIntrinsicNode()
4296 const SDValue *Ops, unsigned NumOps, in getMemIntrinsicNode() argument
4314 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, NumOps, MemVT, MMO); in getMemIntrinsicNode()
4319 const SDValue *Ops, unsigned NumOps, in getMemIntrinsicNode() argument
4334 AddNodeIDNode(ID, Opcode, VTList, Ops, NumOps); in getMemIntrinsicNode()
4342 … (NodeAllocator) MemIntrinsicSDNode(Opcode, dl.getIROrder(), dl.getDebugLoc(), VTList, Ops, NumOps, in getMemIntrinsicNode()
4346 … (NodeAllocator) MemIntrinsicSDNode(Opcode, dl.getIROrder(), dl.getDebugLoc(), VTList, Ops, NumOps, in getMemIntrinsicNode()
4448 SDValue Ops[] = { Chain, Ptr, Offset }; in getLoad() local
4450 AddNodeIDNode(ID, ISD::LOAD, VTs, Ops, 3); in getLoad()
4461 …SDNode *N = new (NodeAllocator) LoadSDNode(Ops, dl.getIROrder(), dl.getDebugLoc(), VTs, AM, ExtTyp… in getLoad()
4539 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getStore() local
4541 AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4); in getStore()
4551 …SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), dl.getDebugLoc(), VTs, ISD::UNIN… in getStore()
4607 SDValue Ops[] = { Chain, Val, Ptr, Undef }; in getTruncStore() local
4609 AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4); in getTruncStore()
4619 …SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), dl.getDebugLoc(), VTs, ISD::UNIN… in getTruncStore()
4633 SDValue Ops[] = { ST->getChain(), ST->getValue(), Base, Offset }; in getIndexedStore() local
4635 AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4); in getIndexedStore()
4643 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(), dl.getDebugLoc(), VTs, AM, in getIndexedStore()
4656 SDValue Ops[] = { Chain, Ptr, SV, getTargetConstant(Align, MVT::i32) }; in getVAArg() local
4657 return getNode(ISD::VAARG, dl, getVTList(VT, MVT::Other), Ops, 4); in getVAArg()
4661 const SDUse *Ops, unsigned NumOps) { in getNode() argument
4664 case 1: return getNode(Opcode, DL, VT, Ops[0]); in getNode()
4665 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
4666 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
4672 SmallVector<SDValue, 8> NewOps(Ops, Ops + NumOps); in getNode()
4677 const SDValue *Ops, unsigned NumOps) { in getNode() argument
4680 case 1: return getNode(Opcode, DL, VT, Ops[0]); in getNode()
4681 case 2: return getNode(Opcode, DL, VT, Ops[0], Ops[1]); in getNode()
4682 case 3: return getNode(Opcode, DL, VT, Ops[0], Ops[1], Ops[2]); in getNode()
4690 assert(Ops[0].getValueType() == Ops[1].getValueType() && in getNode()
4692 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
4694 assert(Ops[2].getValueType() == VT && in getNode()
4700 assert(Ops[2].getValueType() == Ops[3].getValueType() && in getNode()
4712 AddNodeIDNode(ID, Opcode, VTs, Ops, NumOps); in getNode()
4718 N = new (NodeAllocator) SDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTs, Ops, NumOps); in getNode()
4721 N = new (NodeAllocator) SDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTs, Ops, NumOps); in getNode()
4733 const SDValue *Ops, unsigned NumOps) { in getNode() argument
4735 Ops, NumOps); in getNode()
4740 const SDValue *Ops, unsigned NumOps) { in getNode() argument
4742 return getNode(Opcode, DL, VTs[0], Ops, NumOps); in getNode()
4743 return getNode(Opcode, DL, makeVTList(VTs, NumVTs), Ops, NumOps); in getNode()
4747 const SDValue *Ops, unsigned NumOps) { in getNode() argument
4749 return getNode(Opcode, DL, VTList.VTs[0], Ops, NumOps); in getNode()
4778 AddNodeIDNode(ID, Opcode, VTList, Ops, NumOps); in getNode()
4784 … N = new (NodeAllocator) UnarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0]); in getNode()
4786 …ew (NodeAllocator) BinarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0], Ops[1]); in getNode()
4788 …ew (NodeAllocator) TernarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0], Ops[1], in getNode()
4789 Ops[2]); in getNode()
4791 … N = new (NodeAllocator) SDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops, NumOps); in getNode()
4796 … N = new (NodeAllocator) UnarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0]); in getNode()
4798 …ew (NodeAllocator) BinarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0], Ops[1]); in getNode()
4800 …ew (NodeAllocator) TernarySDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops[0], Ops[1], in getNode()
4801 Ops[2]); in getNode()
4803 … N = new (NodeAllocator) SDNode(Opcode, DL.getIROrder(), DL.getDebugLoc(), VTList, Ops, NumOps); in getNode()
4819 SDValue Ops[] = { N1 }; in getNode() local
4820 return getNode(Opcode, DL, VTList, Ops, 1); in getNode()
4825 SDValue Ops[] = { N1, N2 }; in getNode() local
4826 return getNode(Opcode, DL, VTList, Ops, 2); in getNode()
4831 SDValue Ops[] = { N1, N2, N3 }; in getNode() local
4832 return getNode(Opcode, DL, VTList, Ops, 3); in getNode()
4838 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode() local
4839 return getNode(Opcode, DL, VTList, Ops, 4); in getNode()
4845 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode() local
4846 return getNode(Opcode, DL, VTList, Ops, 5); in getNode()
4987 SDValue Ops[] = { Op1, Op2, Op3 }; in UpdateNodeOperands() local
4988 return UpdateNodeOperands(N, Ops, 3); in UpdateNodeOperands()
4994 SDValue Ops[] = { Op1, Op2, Op3, Op4 }; in UpdateNodeOperands() local
4995 return UpdateNodeOperands(N, Ops, 4); in UpdateNodeOperands()
5001 SDValue Ops[] = { Op1, Op2, Op3, Op4, Op5 }; in UpdateNodeOperands() local
5002 return UpdateNodeOperands(N, Ops, 5); in UpdateNodeOperands()
5006 UpdateNodeOperands(SDNode *N, const SDValue *Ops, unsigned NumOps) { in UpdateNodeOperands() argument
5013 if (Ops[i] != N->getOperand(i)) { in UpdateNodeOperands()
5024 if (SDNode *Existing = FindModifiedNodeSlot(N, Ops, NumOps, InsertPos)) in UpdateNodeOperands()
5034 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
5035 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
5065 SDValue Ops[] = { Op1 }; in SelectNodeTo() local
5066 return SelectNodeTo(N, MachineOpc, VTs, Ops, 1); in SelectNodeTo()
5073 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
5074 return SelectNodeTo(N, MachineOpc, VTs, Ops, 2); in SelectNodeTo()
5081 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5082 return SelectNodeTo(N, MachineOpc, VTs, Ops, 3); in SelectNodeTo()
5086 EVT VT, const SDValue *Ops, in SelectNodeTo() argument
5089 return SelectNodeTo(N, MachineOpc, VTs, Ops, NumOps); in SelectNodeTo()
5093 EVT VT1, EVT VT2, const SDValue *Ops, in SelectNodeTo() argument
5096 return SelectNodeTo(N, MachineOpc, VTs, Ops, NumOps); in SelectNodeTo()
5107 const SDValue *Ops, unsigned NumOps) { in SelectNodeTo() argument
5109 return SelectNodeTo(N, MachineOpc, VTs, Ops, NumOps); in SelectNodeTo()
5114 const SDValue *Ops, unsigned NumOps) { in SelectNodeTo() argument
5116 return SelectNodeTo(N, MachineOpc, VTs, Ops, NumOps); in SelectNodeTo()
5123 SDValue Ops[] = { Op1 }; in SelectNodeTo() local
5124 return SelectNodeTo(N, MachineOpc, VTs, Ops, 1); in SelectNodeTo()
5131 SDValue Ops[] = { Op1, Op2 }; in SelectNodeTo() local
5132 return SelectNodeTo(N, MachineOpc, VTs, Ops, 2); in SelectNodeTo()
5140 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5141 return SelectNodeTo(N, MachineOpc, VTs, Ops, 3); in SelectNodeTo()
5149 SDValue Ops[] = { Op1, Op2, Op3 }; in SelectNodeTo() local
5150 return SelectNodeTo(N, MachineOpc, VTs, Ops, 3); in SelectNodeTo()
5154 SDVTList VTs, const SDValue *Ops, in SelectNodeTo() argument
5156 N = MorphNodeTo(N, ~MachineOpc, VTs, Ops, NumOps); in SelectNodeTo()
5193 SDVTList VTs, const SDValue *Ops, in MorphNodeTo() argument
5199 AddNodeIDNode(ID, Opc, VTs, Ops, NumOps); in MorphNodeTo()
5236 Ops, NumOps); in MorphNodeTo()
5238 MN->InitOperands(MN->LocalOperands, Ops, NumOps); in MorphNodeTo()
5241 MN->InitOperands(MN->OperandList, Ops, NumOps); in MorphNodeTo()
5248 N->InitOperands(new SDUse[NumOps], Ops, NumOps); in MorphNodeTo()
5251 N->InitOperands(N->OperandList, Ops, NumOps); in MorphNodeTo()
5286 SDValue Ops[] = { Op1 }; in getMachineNode() local
5287 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5294 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5295 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5302 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5303 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5308 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5310 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5323 SDValue Ops[] = { Op1 }; in getMachineNode() local
5324 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5331 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5332 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5340 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5341 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5347 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5349 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5357 SDValue Ops[] = { Op1, Op2 }; in getMachineNode() local
5358 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5366 SDValue Ops[] = { Op1, Op2, Op3 }; in getMachineNode() local
5367 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5373 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5375 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5381 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5383 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5389 ArrayRef<SDValue> Ops) { in getMachineNode() argument
5391 return getMachineNode(Opcode, dl, VTs, Ops); in getMachineNode()
5400 const SDValue *Ops = OpsArray.data(); in getMachineNode() local
5405 AddNodeIDNode(ID, ~Opcode, VTs, Ops, NumOps); in getMachineNode()
5421 Ops, NumOps); in getMachineNode()
5423 N->InitOperands(N->LocalOperands, Ops, NumOps); in getMachineNode()
5461 const SDValue *Ops, unsigned NumOps) { in getNodeIfExists() argument
5464 AddNodeIDNode(ID, Opcode, VTList, Ops, NumOps); in getNodeIfExists()
5931 const SDValue *Ops, unsigned NumOps, EVT memvt, in MemSDNode() argument
5933 : SDNode(Opc, Order, dl, VTs, Ops, NumOps), in MemSDNode()