Home | History | Annotate | Download | only in X86

Lines Matching defs:Ld

2663   } else if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Arg)) {
2671 SDValue Ptr = Ld->getBasePtr();
4053 static bool isScalarLoadToVector(SDNode *N, LoadSDNode **LD = NULL) {
4059 if (LD)
4060 *LD = cast<LoadSDNode>(N);
4747 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(SrcOp)) {
4748 SDValue Ptr = LD->getBasePtr();
4749 if (!ISD::isNormalLoad(LD) || LD->isVolatile())
4751 EVT PVT = LD->getValueType(0);
4772 SDValue Chain = LD->getChain();
4802 LD->getPointerInfo().getWithOffset(StartOffset),
4851 LoadSDNode *LD = cast<LoadSDNode>(Elt);
4852 if (!DAG.isConsecutiveLoad(LD, LDBase, EltVT.getSizeInBits()/8, i))
4900 SDValue Ld;
4913 Ld = Op.getOperand(0);
4914 ConstSplatVal = (Ld.getOpcode() == ISD::Constant ||
4915 Ld.getOpcode() == ISD::ConstantFP);
4920 if (!ConstSplatVal && !Ld->hasNUsesOfValue(VT.getVectorNumElements(), 0))
4937 Ld = Sc.getOperand(0);
4938 ConstSplatVal = (Ld.getOpcode() == ISD::Constant ||
4939 Ld.getOpcode() == ISD::ConstantFP);
4944 if (!ConstSplatVal && (!Sc.hasOneUse() || !Ld.hasOneUse()))
4957 EVT CVT = Ld.getValueType();
4965 if (ConstantSDNode *CI = dyn_cast<ConstantSDNode>(Ld))
4967 Ld))
4974 Ld = DAG.getLoad(CVT, dl, DAG.getEntryNode(), CP,
4978 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
4983 if (!ISD::isNormalLoad(Ld.getNode()))
4987 if (Ld->hasAnyUseOfValue(1))
4990 unsigned ScalarSize = Ld.getValueType().getSizeInBits();
4994 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
4998 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
5002 if (Subtarget->hasAVX2() && Ld.getValueType().isInteger()) {
5005 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
5009 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Ld);
5293 SDValue LD = EltsFromConsecutiveLoads(VT, V, dl, DAG);
5294 if (LD.getNode())
5295 return LD;
5944 LoadSDNode *LD = NULL;
5945 if (!isScalarLoadToVector(SrcOp.getNode(), &LD))
5946 LD = dyn_cast<LoadSDNode>(SrcOp);
5947 if (!LD) {
11348 // ld t1 = [bitinstr.addr]
11450 // ld t1,t2 = [bitinstr.addr]
11617 // ld t1 = [min/max.addr]
12941 if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(V1.getOperand(0))) {
12943 SDValue Ops[] = { Ld->getChain(), Ld->getBasePtr() };
12946 Ld->getMemoryVT(),
12947 Ld->getPointerInfo(),
12948 Ld->getAlignment(),
14297 LoadSDNode *Ld = cast<LoadSDNode>(N);
14298 EVT RegVT = Ld->getValueType(0);
14299 EVT MemVT = Ld->getMemoryVT();
14300 DebugLoc dl = Ld->getDebugLoc();
14303 ISD::LoadExtType Ext = Ld->getExtensionType();
14345 SDValue ScalarLoad = DAG.getLoad(SclrLoadTy, dl, Ld->getChain(),
14346 Ld->getBasePtr(),
14347 Ld->getPointerInfo(), Ld->isVolatile(),
14348 Ld->isNonTemporal(), Ld->isInvariant(),
14349 Ld->getAlignment());
14508 LoadSDNode *Ld = 0;
14516 Ld = cast<LoadSDNode>(St->getChain());
14522 Ld = cast<LoadSDNode>(St->getValue());
14528 if (!Ld || !ISD::isNormalLoad(Ld))
14534 if (!VT.isVector() && !Ld->hasNUsesOfValue(1, 0))
14537 DebugLoc LdDL = Ld->getDebugLoc();
14544 SDValue NewLd = DAG.getLoad(LdVT, LdDL, Ld->getChain(), Ld->getBasePtr(),
14545 Ld->getPointerInfo(), Ld->isVolatile(),
14546 Ld->isNonTemporal(), Ld->isInvariant(),
14547 Ld->getAlignment());
14561 SDValue LoAddr = Ld->getBasePtr();
14565 SDValue LoLd = DAG.getLoad(MVT::i32, LdDL, Ld->getChain(), LoAddr,
14566 Ld->getPointerInfo(),
14567 Ld->isVolatile(), Ld->isNonTemporal(),
14568 Ld->isInvariant(), Ld->getAlignment());
14569 SDValue HiLd = DAG.getLoad(MVT::i32, LdDL, Ld->getChain(), HiAddr,
14570 Ld->getPointerInfo().getWithOffset(4),
14571 Ld->isVolatile(), Ld->isNonTemporal(),
14572 Ld->isInvariant(),
14573 MinAlign(Ld->getAlignment(), 4));
14950 LoadSDNode *Ld = cast<LoadSDNode>(Op0.getNode());
14951 EVT VT = Ld->getValueType(0);
14952 if (!Ld->isVolatile() && !N->getValueType(0).isVector() &&
14956 SDValue FILDChain = XTLI->BuildFILD(SDValue(N, 0), Ld->getValueType(0),
14957 Ld->getChain(), Op0, DAG);
15174 LoadSDNode *LD = cast<LoadSDNode>(Op);
15177 if (LD->getExtensionType() == ISD::NON_EXTLOAD /*&&