Lines Matching refs:MemVT
449 EVT MemVT, unsigned NumStores,
959 EVT MemVT = LD->getMemoryVT(); in PromoteOperand() local
961 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, PVT, MemVT) ? ISD::ZEXTLOAD in PromoteOperand()
967 MemVT, LD->getMemOperand()); in PromoteOperand()
1184 EVT MemVT = LD->getMemoryVT(); in PromoteLoad() local
1186 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, PVT, MemVT) ? ISD::ZEXTLOAD in PromoteLoad()
1191 MemVT, LD->getMemOperand()); in PromoteLoad()
3307 EVT MemVT = LN0->getMemoryVT(); in visitAND() local
3312 BitWidth - MemVT.getScalarType().getSizeInBits())) && in visitAND()
3314 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT))) { in visitAND()
3317 MemVT, LN0->getMemOperand()); in visitAND()
3327 EVT MemVT = LN0->getMemoryVT(); in visitAND() local
3332 BitWidth - MemVT.getScalarType().getSizeInBits())) && in visitAND()
3334 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT))) { in visitAND()
3337 MemVT, LN0->getMemOperand()); in visitAND()
6117 EVT MemVT = LN0->getMemoryVT(); in visitSIGN_EXTEND() local
6119 TLI.isLoadExtLegal(ISD::SEXTLOAD, VT, MemVT)) { in visitSIGN_EXTEND()
6122 LN0->getBasePtr(), MemVT, in visitSIGN_EXTEND()
6478 EVT MemVT = LN0->getMemoryVT(); in visitZERO_EXTEND() local
6480 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT)) { in visitZERO_EXTEND()
6483 LN0->getBasePtr(), MemVT, in visitZERO_EXTEND()
6665 EVT MemVT = LN0->getMemoryVT(); in visitANY_EXTEND() local
6666 if (!LegalOperations || TLI.isLoadExtLegal(ExtType, VT, MemVT)) { in visitANY_EXTEND()
6669 MemVT, LN0->getMemOperand()); in visitANY_EXTEND()
11229 SmallVectorImpl<MemOpLink> &StoreNodes, EVT MemVT, in MergeStoresOfConstantsOrVecElts() argument
11235 int64_t ElementSizeBytes = MemVT.getSizeInBits() / 8; in MergeStoresOfConstantsOrVecElts()
11256 bool IsVec = MemVT.isVector(); in MergeStoresOfConstantsOrVecElts()
11260 Elts *= MemVT.getVectorNumElements(); in MergeStoresOfConstantsOrVecElts()
11263 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeStoresOfConstantsOrVecElts()
11274 if (Val.getValueType() != MemVT) in MergeStoresOfConstantsOrVecElts()
11375 EVT MemVT = St->getMemoryVT(); in getStoreMergeAndAliasCandidates() local
11397 if (OtherST->getMemoryVT() != MemVT) in getStoreMergeAndAliasCandidates()
11431 if (Index->getMemoryVT() != MemVT) in getStoreMergeAndAliasCandidates()
11438 if (Index->getAlignment() < MemVT.getStoreSize()) in getStoreMergeAndAliasCandidates()
11500 EVT MemVT = St->getMemoryVT(); in MergeConsecutiveStores() local
11501 int64_t ElementSizeBytes = MemVT.getSizeInBits() / 8; in MergeConsecutiveStores()
11506 if (ElementSizeBytes * 8 != MemVT.getSizeInBits()) in MergeConsecutiveStores()
11509 if (!MemVT.isSimple()) in MergeConsecutiveStores()
11527 if (MemVT.isVector() && IsLoadSrc) in MergeConsecutiveStores()
11644 if ((!NonZero || TLI.storeOfVectorConstantIsCheap(MemVT, i+1, in MergeConsecutiveStores()
11648 EVT Ty = EVT::getVectorVT(Context, MemVT, i+1); in MergeConsecutiveStores()
11663 return MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, in MergeConsecutiveStores()
11671 bool IsVec = MemVT.isVector(); in MergeConsecutiveStores()
11688 Elts *= MemVT.getVectorNumElements(); in MergeConsecutiveStores()
11690 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeConsecutiveStores()
11698 return MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumStoresToMerge, in MergeConsecutiveStores()
11730 if (Ld->getMemoryVT() != MemVT) in MergeConsecutiveStores()
11754 if (LoadNodes.size() == 2 && TLI.hasPairedLoad(MemVT, RequiredAlignment) && in MergeConsecutiveStores()
11781 EVT StoreTy = EVT::getVectorVT(Context, MemVT, i+1); in MergeConsecutiveStores()
11855 JointMemOpVT = EVT::getVectorVT(Context, MemVT, NumElem); in MergeConsecutiveStores()