Lines Matching defs:dl

1359 SDValue SelectionDAG::getVectorShuffle(EVT VT, SDLoc dl, SDValue N1,
1436 new (NodeAllocator) ShuffleVectorSDNode(VT, dl.getIROrder(),
1437 dl.getDebugLoc(), N1, N2,
1444 SDValue SelectionDAG::getConvertRndSat(EVT VT, SDLoc dl,
1461 CvtRndSatSDNode *N = new (NodeAllocator) CvtRndSatSDNode(VT, dl.getIROrder(),
1462 dl.getDebugLoc(),
1497 SDValue SelectionDAG::getEHLabel(SDLoc dl, SDValue Root, MCSymbol *Label) {
1506 SDNode *N = new (NodeAllocator) EHLabelSDNode(dl.getIROrder(),
1507 dl.getDebugLoc(), Root, Label);
1571 SDValue SelectionDAG::getAddrSpaceCast(SDLoc dl, EVT VT, SDValue Ptr,
1583 SDNode *N = new (NodeAllocator) AddrSpaceCastSDNode(dl.getIROrder(),
1584 dl.getDebugLoc(),
1634 SDValue N2, ISD::CondCode Cond, SDLoc dl) {
1733 return getSetCC(dl, VT, N2, N1, SwappedCond);
3499 SDLoc dl) {
3511 Value = DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Value);
3516 Value = DAG.getNode(ISD::MUL, dl, VT, Value, DAG.getConstant(Magic, VT));
3525 static SDValue getMemsetStringVal(EVT VT, SDLoc dl, SelectionDAG &DAG,
3536 return DAG.getNode(ISD::BITCAST, dl, VT,
3567 static SDValue getMemBasePlusOffset(SDValue Base, unsigned Offset, SDLoc dl,
3570 return DAG.getNode(ISD::ADD, dl,
3698 static SDValue getMemcpyLoadsAndStores(SelectionDAG &DAG, SDLoc dl,
3781 Value = getMemsetStringVal(VT, dl, DAG, TLI, Str.substr(SrcOff));
3783 Store = DAG.getStore(Chain, dl, Value,
3784 getMemBasePlusOffset(Dst, DstOff, dl, DAG),
3797 Value = DAG.getExtLoad(ISD::EXTLOAD, dl, NVT, Chain,
3798 getMemBasePlusOffset(Src, SrcOff, dl, DAG),
3801 Store = DAG.getTruncStore(Chain, dl, Value,
3802 getMemBasePlusOffset(Dst, DstOff, dl, DAG),
3812 return DAG.getNode(ISD::TokenFactor, dl, MVT::Other,
3816 static SDValue getMemmoveLoadsAndStores(SelectionDAG &DAG, SDLoc dl,
3870 Value = DAG.getLoad(VT, dl, Chain,
3871 getMemBasePlusOffset(Src, SrcOff, dl, DAG),
3878 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other,
3886 Store = DAG.getStore(Chain, dl, LoadValues[i],
3887 getMemBasePlusOffset(Dst, DstOff, dl, DAG),
3893 return DAG.getNode(ISD::TokenFactor, dl, MVT::Other,
3901 /// \param dl Link to corresponding IR location.
3915 static SDValue getMemsetStores(SelectionDAG &DAG, SDLoc dl,
3963 SDValue MemSetValue = getMemsetValue(Src, LargestVT, DAG, dl);
3981 Value = DAG.getNode(ISD::TRUNCATE, dl, VT, MemSetValue);
3983 Value = getMemsetValue(Src, VT, DAG, dl);
3986 SDValue Store = DAG.getStore(Chain, dl, Value,
3987 getMemBasePlusOffset(Dst, DstOff, dl, DAG),
3995 return DAG.getNode(ISD::TokenFactor, dl, MVT::Other,
3999 SDValue SelectionDAG::getMemcpy(SDValue Chain, SDLoc dl, SDValue Dst,
4014 SDValue Result = getMemcpyLoadsAndStores(*this, dl, Chain, Dst, Src,
4024 TSI.EmitTargetCodeForMemcpy(*this, dl, Chain, Dst, Src, Size, Align,
4034 return getMemcpyLoadsAndStores(*this, dl, Chain, Dst, Src,
4063 Args, *this, dl);
4069 SDValue SelectionDAG::getMemmove(SDValue Chain, SDLoc dl, SDValue Dst,
4085 getMemmoveLoadsAndStores(*this, dl, Chain, Dst, Src,
4095 TSI.EmitTargetCodeForMemmove(*this, dl, Chain, Dst, Src, Size, Align, isVol,
4121 Args, *this, dl);
4127 SDValue SelectionDAG::getMemset(SDValue Chain, SDLoc dl, SDValue Dst,
4142 getMemsetStores(*this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(),
4152 TSI.EmitTargetCodeForMemset(*this, dl, Chain, Dst, Src, Size, Align, isVol,
4166 Src = getNode(ISD::TRUNCATE, dl, MVT::i32, Src);
4168 Src = getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src);
4186 Args, *this, dl);
4192 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4214 SDNode *N = new (NodeAllocator) AtomicSDNode(Opcode, dl.getIROrder(),
4215 dl.getDebugLoc(), VTList, MemVT,
4223 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4247 return getAtomic(Opcode, dl, MemVT, Chain, Ptr, Cmp, Swp, MMO,
4251 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4264 return getAtomic(Opcode, dl, MemVT, VTs, Ops, 4, MMO, Ordering, SynchScope);
4267 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4294 return getAtomic(Opcode, dl, MemVT, Chain, Ptr, Val, MMO,
4298 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4323 return getAtomic(Opcode, dl, MemVT, VTs, Ops, 3, MMO, Ordering, SynchScope);
4326 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4353 return getAtomic(Opcode, dl, MemVT, VT, Chain, Ptr, MMO,
4357 SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
4367 return getAtomic(Opcode, dl, MemVT, VTs, Ops, 2, MMO, Ordering, SynchScope);
4372 SDLoc dl) {
4380 return getNode(ISD::MERGE_VALUES, dl, getVTList(&VTs[0], NumOps),
4385 SelectionDAG::getMemIntrinsicNode(unsigned Opcode, SDLoc dl,
4391 return getMemIntrinsicNode(Opcode, dl, makeVTList(VTs, NumVTs), Ops, NumOps,
4397 SelectionDAG::getMemIntrinsicNode(unsigned Opcode, SDLoc dl, SDVTList VTList,
4416 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, NumOps, MemVT, MMO);
4420 SelectionDAG::getMemIntrinsicNode(unsigned Opcode, SDLoc dl, SDVTList VTList,
4444 N = new (NodeAllocator) MemIntrinsicSDNode(Opcode, dl.getIROrder(),
4445 dl.getDebugLoc(), VTList, Ops,
4449 N = new (NodeAllocator) MemIntrinsicSDNode(Opcode, dl.getIROrder(),
4450 dl.getDebugLoc(), VTList, Ops,
4493 EVT VT, SDLoc dl, SDValue Chain,
4521 return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, MemVT, MMO);
4526 EVT VT, SDLoc dl, SDValue Chain,
4565 SDNode *N = new (NodeAllocator) LoadSDNode(Ops, dl.getIROrder(),
4566 dl.getDebugLoc(), VTs, AM, ExtType,
4573 SDValue SelectionDAG::getLoad(EVT VT, SDLoc dl,
4581 return getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, VT, dl, Chain, Ptr, Undef,
4586 SDValue SelectionDAG::getLoad(EVT VT, SDLoc dl,
4590 return getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, VT, dl, Chain, Ptr, Undef,
4594 SDValue SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, SDLoc dl, EVT VT,
4600 return getLoad(ISD::UNINDEXED, ExtType, VT, dl, Chain, Ptr, Undef,
4606 SDValue SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, SDLoc dl, EVT VT,
4610 return getLoad(ISD::UNINDEXED, ExtType, VT, dl, Chain, Ptr, Undef,
4615 SelectionDAG::getIndexedLoad(SDValue OrigLoad, SDLoc dl, SDValue Base,
4620 return getLoad(AM, LD->getExtensionType(), OrigLoad.getValueType(), dl,
4626 SDValue SelectionDAG::getStore(SDValue Chain, SDLoc dl, SDValue Val,
4650 return getStore(Chain, dl, Val, Ptr, MMO);
4653 SDValue SelectionDAG::getStore(SDValue Chain, SDLoc dl, SDValue Val,
4672 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(),
4673 dl.getDebugLoc(), VTs,
4680 SDValue SelectionDAG::getTruncStore(SDValue Chain, SDLoc dl, SDValue Val,
4704 return getTruncStore(Chain, dl, Val, Ptr, SVT, MMO);
4707 SDValue SelectionDAG::getTruncStore(SDValue Chain, SDLoc dl, SDValue Val,
4715 return getStore(Chain, dl, Val, Ptr, MMO);
4741 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(),
4742 dl.getDebugLoc(), VTs,
4750 SelectionDAG::getIndexedStore(SDValue OrigStore, SDLoc dl, SDValue Base,
4766 SDNode *N = new (NodeAllocator) StoreSDNode(Ops, dl.getIROrder(),
4767 dl.getDebugLoc(), VTs, AM,
4776 SDValue SelectionDAG::getVAArg(EVT VT, SDLoc dl,
4781 return getNode(ISD::VAARG, dl, getVTList(VT, MVT::Other), Ops, 4);
5419 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT) {
5421 return getMachineNode(Opcode, dl, VTs, None);
5425 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT, SDValue Op1) {
5428 return getMachineNode(Opcode, dl, VTs, Ops);
5432 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT,
5436 return getMachineNode(Opcode, dl, VTs, Ops);
5440 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT,
5444 return getMachineNode(Opcode, dl, VTs, Ops);
5448 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT,
5451 return getMachineNode(Opcode, dl, VTs, Ops);
5455 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT1, EVT VT2) {
5457 return getMachineNode(Opcode, dl, VTs, None);
5461 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5465 return getMachineNode(Opcode, dl, VTs, Ops);
5469 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5473 return getMachineNode(Opcode, dl, VTs, Ops);
5477 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5482 return getMachineNode(Opcode, dl, VTs, Ops);
5486 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5490 return getMachineNode(Opcode, dl, VTs, Ops);
5494 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5499 return getMachineNode(Opcode, dl, VTs, Ops);
5503 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5508 return getMachineNode(Opcode, dl, VTs, Ops);
5512 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5516 return getMachineNode(Opcode, dl, VTs, Ops);
5520 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl, EVT VT1,
5524 return getMachineNode(Opcode, dl, VTs, Ops);
5528 SelectionDAG::getMachineNode(unsigned Opcode, SDLoc dl,
5532 return getMachineNode(Opcode, dl, VTs, Ops);
6061 AddrSpaceCastSDNode::AddrSpaceCastSDNode(unsigned Order, DebugLoc dl, EVT VT,
6064 : UnarySDNode(ISD::ADDRSPACECAST, Order, dl, getSDVTList(VT), X),
6067 MemSDNode::MemSDNode(unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs,
6069 : SDNode(Opc, Order, dl, VTs), MemoryVT(memvt), MMO(mmo) {
6078 MemSDNode::MemSDNode(unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs,
6081 : SDNode(Opc, Order, dl, VTs, Ops, NumOps),
6268 SDLoc dl(N);
6288 Operands[j] = getNode(ISD::EXTRACT_VECTOR_ELT, dl,
6300 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT,
6304 Scalars.push_back(getNode(ISD::SELECT, dl, EltVT,
6312 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands[0],
6319 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT,
6329 return getNode(ISD::BUILD_VECTOR, dl,