Searched refs:MaskElt (Results 1 – 10 of 10) sorted by relevance
279 APInt MaskElt = cast<ConstantInt>(COp)->getValue(); in DecodeVPPERMMask() local281 APInt Index = MaskElt.getLoBits(5); in DecodeVPPERMMask()282 APInt PermuteOp = MaskElt.lshr(5).getLoBits(3); in DecodeVPPERMMask()283 MaskElt = MaskElt.lshr(8); in DecodeVPPERMMask()
14347 APInt MaskElt = in LowerFABSorFNEG() local14349 Constant *C = ConstantInt::get(*Context, MaskElt); in LowerFABSorFNEG()
540 int MaskElt; in visitShuffleVectorInst() local542 MaskElt = -1; // undef in visitShuffleVectorInst()544 MaskElt = LHSMask[Mask[i]]; in visitShuffleVectorInst()546 if (MaskElt >= 0) { in visitShuffleVectorInst()547 if (SplatElt >=0 && SplatElt != MaskElt) in visitShuffleVectorInst()549 SplatElt = MaskElt; in visitShuffleVectorInst()551 NewMask.push_back(MaskElt); in visitShuffleVectorInst()
296 for (int MaskElt : ShuffleInst->getShuffleMask()) in getSplatValue() local297 if (MaskElt != 0 && MaskElt != -1) in getSplatValue()
1862 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall() local1863 if (!MaskElt) in ConstantFoldVectorCall()1867 if (isa<UndefValue>(MaskElt)) { in ConstantFoldVectorCall()1875 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()1879 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
3955 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local3956 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
1049 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local1050 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
7134 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local7136 if (MaskElt < (int)HalfElts) in PerformVECTOR_SHUFFLECombine()7137 NewElt = MaskElt; in PerformVECTOR_SHUFFLECombine()7138 else if (MaskElt >= (int)NumElts && MaskElt < (int)(NumElts + HalfElts)) in PerformVECTOR_SHUFFLECombine()7139 NewElt = HalfElts + MaskElt - NumElts; in PerformVECTOR_SHUFFLECombine()
3844 int MaskElt = SVOp->getMaskElt(i+(l*LaneSize)); in getShuffleVPERMILPSImmediate() local3845 if (MaskElt < 0) in getShuffleVPERMILPSImmediate()3847 if (MaskElt >= LaneSize) in getShuffleVPERMILPSImmediate()3848 MaskElt -= LaneSize; in getShuffleVPERMILPSImmediate()3849 Mask |= MaskElt << (i*2); in getShuffleVPERMILPSImmediate()3869 int MaskElt = SVOp->getMaskElt(i); in getShuffleVPERMILPDImmediate() local3870 if (MaskElt < 0) in getShuffleVPERMILPDImmediate()3872 Mask |= (MaskElt-l*LaneSize) << i; in getShuffleVPERMILPDImmediate()
9878 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local9880 if (MaskElt < (int)HalfElts) in PerformVECTOR_SHUFFLECombine()9881 NewElt = MaskElt; in PerformVECTOR_SHUFFLECombine()9882 else if (MaskElt >= (int)NumElts && MaskElt < (int)(NumElts + HalfElts)) in PerformVECTOR_SHUFFLECombine()9883 NewElt = HalfElts + MaskElt - NumElts; in PerformVECTOR_SHUFFLECombine()