Searched refs:MaskElt (Results 1 – 7 of 7) sorted by relevance
761 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local762 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()778 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local779 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
2411 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall() local2412 if (!MaskElt) in ConstantFoldVectorCall()2416 if (isa<UndefValue>(MaskElt)) { in ConstantFoldVectorCall()2424 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()2428 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
4474 if (all_of(Indices, [InsertIndex](int MaskElt) { in SimplifyShuffleVectorInst() argument4475 return MaskElt == InsertIndex || MaskElt == -1; in SimplifyShuffleVectorInst()
1738 Constant *MaskElt = Mask->getAggregateElement(i); in foldIdentityExtractShuffle() local1739 NewMask[i] = isa<UndefValue>(ExtractMaskElt) ? ExtractMaskElt : MaskElt; in foldIdentityExtractShuffle()1766 if (none_of(Mask, [IdxC](int MaskElt) { return MaskElt == (int)IdxC; })) { in foldShuffleWithInsert() argument1776 if (none_of(Mask, [IdxC](int MaskElt) { return MaskElt == (int)IdxC; })) { in foldShuffleWithInsert() argument
1822 int MaskElt = getMaskValue(i); in commute() local1823 if (MaskElt == -1) { in commute()1827 assert(MaskElt >= 0 && MaskElt < 2 * NumOpElts && "Out-of-range mask"); in commute()1828 MaskElt = (MaskElt < NumOpElts) ? MaskElt + NumOpElts : MaskElt - NumOpElts; in commute()1829 NewMask[i] = ConstantInt::get(Int32Ty, MaskElt); in commute()
13053 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local13055 if (MaskElt < (int)HalfElts) in PerformVECTOR_SHUFFLECombine()13056 NewElt = MaskElt; in PerformVECTOR_SHUFFLECombine()13057 else if (MaskElt >= (int)NumElts && MaskElt < (int)(NumElts + HalfElts)) in PerformVECTOR_SHUFFLECombine()13058 NewElt = HalfElts + MaskElt - NumElts; in PerformVECTOR_SHUFFLECombine()
20455 APInt MaskElt = IsFABS ? APInt::getSignedMaxValue(EltBits) : in LowerFABSorFNEG() local20458 SDValue Mask = DAG.getConstantFP(APFloat(Sem, MaskElt), dl, LogicVT); in LowerFABSorFNEG()