Lines Matching refs:LN0
3237 LoadSDNode *LN0 = HasAnyExt in visitAND() local
3240 if (LN0->getExtensionType() != ISD::SEXTLOAD && in visitAND()
3241 LN0->isUnindexed() && N0.hasOneUse() && SDValue(LN0, 0).hasOneUse()) { in visitAND()
3243 EVT LoadResultTy = HasAnyExt ? LN0->getValueType(0) : VT; in visitAND()
3245 if (isAndLoadExtLoad(N1C, LN0, LoadResultTy, ExtVT, LoadedVT, in visitAND()
3249 DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), LoadResultTy, in visitAND()
3250 LN0->getChain(), LN0->getBasePtr(), ExtVT, in visitAND()
3251 LN0->getMemOperand()); in visitAND()
3253 CombineTo(LN0, NewLoad, NewLoad.getValue(1)); in visitAND()
3256 EVT PtrType = LN0->getOperand(1).getValueType(); in visitAND()
3258 unsigned Alignment = LN0->getAlignment(); in visitAND()
3259 SDValue NewPtr = LN0->getBasePtr(); in visitAND()
3268 SDLoc DL(LN0); in visitAND()
3277 DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), LoadResultTy, in visitAND()
3278 LN0->getChain(), NewPtr, in visitAND()
3279 LN0->getPointerInfo(), in visitAND()
3280 ExtVT, LN0->isVolatile(), LN0->isNonTemporal(), in visitAND()
3281 LN0->isInvariant(), Alignment, LN0->getAAInfo()); in visitAND()
3283 CombineTo(LN0, Load, Load.getValue(1)); in visitAND()
3306 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitAND() local
3307 EVT MemVT = LN0->getMemoryVT(); in visitAND()
3313 ((!LegalOperations && !LN0->isVolatile()) || in visitAND()
3316 LN0->getChain(), LN0->getBasePtr(), in visitAND()
3317 MemVT, LN0->getMemOperand()); in visitAND()
3326 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitAND() local
3327 EVT MemVT = LN0->getMemoryVT(); in visitAND()
3333 ((!LegalOperations && !LN0->isVolatile()) || in visitAND()
3336 LN0->getChain(), LN0->getBasePtr(), in visitAND()
3337 MemVT, LN0->getMemOperand()); in visitAND()
5948 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in CombineExtLoad() local
5950 if (!ISD::isNON_EXTLoad(LN0) || !ISD::isUNINDEXEDLoad(LN0) || in CombineExtLoad()
5951 !N0.hasOneUse() || LN0->isVolatile() || !DstVT.isVector() || in CombineExtLoad()
5981 SDValue BasePtr = LN0->getBasePtr(); in CombineExtLoad()
5984 const unsigned Align = MinAlign(LN0->getAlignment(), Offset); in CombineExtLoad()
5987 ExtType, DL, SplitDstVT, LN0->getChain(), BasePtr, in CombineExtLoad()
5988 LN0->getPointerInfo().getWithOffset(Offset), SplitSrcVT, in CombineExtLoad()
5989 LN0->isVolatile(), LN0->isNonTemporal(), LN0->isInvariant(), in CombineExtLoad()
5990 Align, LN0->getAAInfo()); in CombineExtLoad()
6092 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitSIGN_EXTEND() local
6094 LN0->getChain(), in visitSIGN_EXTEND()
6095 LN0->getBasePtr(), N0.getValueType(), in visitSIGN_EXTEND()
6096 LN0->getMemOperand()); in visitSIGN_EXTEND()
6116 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitSIGN_EXTEND() local
6117 EVT MemVT = LN0->getMemoryVT(); in visitSIGN_EXTEND()
6118 if ((!LegalOperations && !LN0->isVolatile()) || in visitSIGN_EXTEND()
6121 LN0->getChain(), in visitSIGN_EXTEND()
6122 LN0->getBasePtr(), MemVT, in visitSIGN_EXTEND()
6123 LN0->getMemOperand()); in visitSIGN_EXTEND()
6141 LoadSDNode *LN0 = cast<LoadSDNode>(N0.getOperand(0)); in visitSIGN_EXTEND() local
6142 if (LN0->getExtensionType() != ISD::ZEXTLOAD && LN0->isUnindexed()) { in visitSIGN_EXTEND()
6149 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(LN0), VT, in visitSIGN_EXTEND()
6150 LN0->getChain(), LN0->getBasePtr(), in visitSIGN_EXTEND()
6151 LN0->getMemoryVT(), in visitSIGN_EXTEND()
6152 LN0->getMemOperand()); in visitSIGN_EXTEND()
6402 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitZERO_EXTEND() local
6404 LN0->getChain(), in visitZERO_EXTEND()
6405 LN0->getBasePtr(), N0.getValueType(), in visitZERO_EXTEND()
6406 LN0->getMemOperand()); in visitZERO_EXTEND()
6433 LoadSDNode *LN0 = cast<LoadSDNode>(N0.getOperand(0)); in visitZERO_EXTEND() local
6434 if (LN0->getExtensionType() != ISD::SEXTLOAD && LN0->isUnindexed()) { in visitZERO_EXTEND()
6443 if (isAndLoadExtLoad(AndC, LN0, LoadResultTy, ExtVT, LoadedVT, in visitZERO_EXTEND()
6452 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), VT, in visitZERO_EXTEND()
6453 LN0->getChain(), LN0->getBasePtr(), in visitZERO_EXTEND()
6454 LN0->getMemoryVT(), in visitZERO_EXTEND()
6455 LN0->getMemOperand()); in visitZERO_EXTEND()
6477 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitZERO_EXTEND() local
6478 EVT MemVT = LN0->getMemoryVT(); in visitZERO_EXTEND()
6479 if ((!LegalOperations && !LN0->isVolatile()) || in visitZERO_EXTEND()
6482 LN0->getChain(), in visitZERO_EXTEND()
6483 LN0->getBasePtr(), MemVT, in visitZERO_EXTEND()
6484 LN0->getMemOperand()); in visitZERO_EXTEND()
6642 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitANY_EXTEND() local
6644 LN0->getChain(), in visitANY_EXTEND()
6645 LN0->getBasePtr(), N0.getValueType(), in visitANY_EXTEND()
6646 LN0->getMemOperand()); in visitANY_EXTEND()
6663 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitANY_EXTEND() local
6664 ISD::LoadExtType ExtType = LN0->getExtensionType(); in visitANY_EXTEND()
6665 EVT MemVT = LN0->getMemoryVT(); in visitANY_EXTEND()
6668 VT, LN0->getChain(), LN0->getBasePtr(), in visitANY_EXTEND()
6669 MemVT, LN0->getMemOperand()); in visitANY_EXTEND()
6850 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in ReduceLoadWidth() local
6851 if (LN0->isVolatile()) in ReduceLoadWidth()
6855 if (LN0->getMemoryVT().getSizeInBits() < EVTBits) in ReduceLoadWidth()
6863 if (LN0->getNumValues() > 2) in ReduceLoadWidth()
6869 if (LN0->getExtensionType() != ISD::NON_EXTLOAD && in ReduceLoadWidth()
6870 LN0->getMemoryVT().getSizeInBits() < ExtVT.getSizeInBits() + ShAmt) in ReduceLoadWidth()
6873 if (!TLI.shouldReduceLoadWidth(LN0, ExtType, ExtVT)) in ReduceLoadWidth()
6885 unsigned LVTStoreBits = LN0->getMemoryVT().getStoreSizeInBits(); in ReduceLoadWidth()
6891 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth()
6892 SDLoc DL(LN0); in ReduceLoadWidth()
6897 PtrType, LN0->getBasePtr(), in ReduceLoadWidth()
6904 Load = DAG.getLoad(VT, SDLoc(N0), LN0->getChain(), NewPtr, in ReduceLoadWidth()
6905 LN0->getPointerInfo().getWithOffset(PtrOff), in ReduceLoadWidth()
6906 LN0->isVolatile(), LN0->isNonTemporal(), in ReduceLoadWidth()
6907 LN0->isInvariant(), NewAlign, LN0->getAAInfo()); in ReduceLoadWidth()
6909 Load = DAG.getExtLoad(ExtType, SDLoc(N0), VT, LN0->getChain(),NewPtr, in ReduceLoadWidth()
6910 LN0->getPointerInfo().getWithOffset(PtrOff), in ReduceLoadWidth()
6911 ExtVT, LN0->isVolatile(), LN0->isNonTemporal(), in ReduceLoadWidth()
6912 LN0->isInvariant(), NewAlign, LN0->getAAInfo()); in ReduceLoadWidth()
7010 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitSIGN_EXTEND_INREG() local
7012 LN0->getChain(), in visitSIGN_EXTEND_INREG()
7013 LN0->getBasePtr(), EVT, in visitSIGN_EXTEND_INREG()
7014 LN0->getMemOperand()); in visitSIGN_EXTEND_INREG()
7026 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitSIGN_EXTEND_INREG() local
7028 LN0->getChain(), in visitSIGN_EXTEND_INREG()
7029 LN0->getBasePtr(), EVT, in visitSIGN_EXTEND_INREG()
7030 LN0->getMemOperand()); in visitSIGN_EXTEND_INREG()
7223 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitTRUNCATE() local
7224 if (!LN0->isVolatile() && in visitTRUNCATE()
7225 LN0->getMemoryVT().getStoreSizeInBits() < VT.getSizeInBits()) { in visitTRUNCATE()
7226 SDValue NewLoad = DAG.getExtLoad(LN0->getExtensionType(), SDLoc(LN0), in visitTRUNCATE()
7227 VT, LN0->getChain(), LN0->getBasePtr(), in visitTRUNCATE()
7228 LN0->getMemoryVT(), in visitTRUNCATE()
7229 LN0->getMemOperand()); in visitTRUNCATE()
7434 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitBITCAST() local
7435 unsigned OrigAlign = LN0->getAlignment(); in visitBITCAST()
7439 LN0->getAddressSpace(), OrigAlign, &Fast) && in visitBITCAST()
7441 SDValue Load = DAG.getLoad(VT, SDLoc(N), LN0->getChain(), in visitBITCAST()
7442 LN0->getBasePtr(), LN0->getPointerInfo(), in visitBITCAST()
7443 LN0->isVolatile(), LN0->isNonTemporal(), in visitBITCAST()
7444 LN0->isInvariant(), OrigAlign, in visitBITCAST()
7445 LN0->getAAInfo()); in visitBITCAST()
9239 LoadSDNode *LN0 = cast<LoadSDNode>(N0); in visitFP_EXTEND() local
9241 LN0->getChain(), in visitFP_EXTEND()
9242 LN0->getBasePtr(), N0.getValueType(), in visitFP_EXTEND()
9243 LN0->getMemOperand()); in visitFP_EXTEND()
12482 LoadSDNode *LN0 = nullptr; in visitEXTRACT_VECTOR_ELT() local
12485 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12493 LN0 = cast<LoadSDNode>(InVec.getOperand(0)); in visitEXTRACT_VECTOR_ELT()
12521 LN0 = cast<LoadSDNode>(InVec); in visitEXTRACT_VECTOR_ELT()
12529 if (!LN0 || !LN0->hasNUsesOfValue(1,0) || LN0->isVolatile()) in visitEXTRACT_VECTOR_ELT()
12536 return ReplaceExtractVectorEltOfLoadWithNarrowedLoad(N, VT, EltNo, LN0); in visitEXTRACT_VECTOR_ELT()