Lines Matching refs:MemVT
437 EVT MemVT, unsigned NumStores,
966 EVT MemVT = LD->getMemoryVT(); in PromoteOperand() local
968 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, PVT, MemVT) ? ISD::ZEXTLOAD in PromoteOperand()
974 MemVT, LD->getMemOperand()); in PromoteOperand()
1188 EVT MemVT = LD->getMemoryVT(); in PromoteLoad() local
1190 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, PVT, MemVT) ? ISD::ZEXTLOAD in PromoteLoad()
1195 MemVT, LD->getMemOperand()); in PromoteLoad()
3269 EVT MemVT = LN0->getMemoryVT(); in visitAND() local
3274 BitWidth - MemVT.getScalarType().getSizeInBits())) && in visitAND()
3276 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT))) { in visitAND()
3279 MemVT, LN0->getMemOperand()); in visitAND()
3289 EVT MemVT = LN0->getMemoryVT(); in visitAND() local
3294 BitWidth - MemVT.getScalarType().getSizeInBits())) && in visitAND()
3296 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT))) { in visitAND()
3299 MemVT, LN0->getMemOperand()); in visitAND()
6062 EVT MemVT = LN0->getMemoryVT(); in visitSIGN_EXTEND() local
6064 TLI.isLoadExtLegal(ISD::SEXTLOAD, VT, MemVT)) { in visitSIGN_EXTEND()
6067 LN0->getBasePtr(), MemVT, in visitSIGN_EXTEND()
6423 EVT MemVT = LN0->getMemoryVT(); in visitZERO_EXTEND() local
6425 TLI.isLoadExtLegal(ISD::ZEXTLOAD, VT, MemVT)) { in visitZERO_EXTEND()
6428 LN0->getBasePtr(), MemVT, in visitZERO_EXTEND()
6618 EVT MemVT = LN0->getMemoryVT(); in visitANY_EXTEND() local
6619 if (!LegalOperations || TLI.isLoadExtLegal(ExtType, VT, MemVT)) { in visitANY_EXTEND()
6622 MemVT, LN0->getMemOperand()); in visitANY_EXTEND()
11099 SmallVectorImpl<MemOpLink> &StoreNodes, EVT MemVT, in MergeStoresOfConstantsOrVecElts() argument
11105 int64_t ElementSizeBytes = MemVT.getSizeInBits() / 8; in MergeStoresOfConstantsOrVecElts()
11126 bool IsVec = MemVT.isVector(); in MergeStoresOfConstantsOrVecElts()
11130 Elts *= MemVT.getVectorNumElements(); in MergeStoresOfConstantsOrVecElts()
11133 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeStoresOfConstantsOrVecElts()
11144 if (Val.getValueType() != MemVT) in MergeStoresOfConstantsOrVecElts()
11237 EVT MemVT = St->getMemoryVT(); in getStoreMergeAndAliasCandidates() local
11259 if (OtherST->getMemoryVT() != MemVT) in getStoreMergeAndAliasCandidates()
11294 if (Index->getMemoryVT() != MemVT) in getStoreMergeAndAliasCandidates()
11301 if (Index->getAlignment() < MemVT.getStoreSize()) in getStoreMergeAndAliasCandidates()
11339 EVT MemVT = St->getMemoryVT(); in MergeConsecutiveStores() local
11340 int64_t ElementSizeBytes = MemVT.getSizeInBits() / 8; in MergeConsecutiveStores()
11345 if (ElementSizeBytes * 8 != MemVT.getSizeInBits()) in MergeConsecutiveStores()
11348 if (!MemVT.isSimple()) in MergeConsecutiveStores()
11366 if (MemVT.isVector() && IsLoadSrc) in MergeConsecutiveStores()
11477 if ((!NonZero || TLI.storeOfVectorConstantIsCheap(MemVT, i+1, in MergeConsecutiveStores()
11481 EVT Ty = EVT::getVectorVT(Context, MemVT, i+1); in MergeConsecutiveStores()
11496 return MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, in MergeConsecutiveStores()
11504 bool IsVec = MemVT.isVector(); in MergeConsecutiveStores()
11521 Elts *= MemVT.getVectorNumElements(); in MergeConsecutiveStores()
11523 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeConsecutiveStores()
11531 return MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumStoresToMerge, in MergeConsecutiveStores()
11563 if (Ld->getMemoryVT() != MemVT) in MergeConsecutiveStores()
11587 if (LoadNodes.size() == 2 && TLI.hasPairedLoad(MemVT, RequiredAlignment) && in MergeConsecutiveStores()
11614 EVT StoreTy = EVT::getVectorVT(Context, MemVT, i+1); in MergeConsecutiveStores()
11688 JointMemOpVT = EVT::getVectorVT(Context, MemVT, NumElem); in MergeConsecutiveStores()