Home
last modified time | relevance | path

Searched refs:MaskElt (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp279 APInt MaskElt = cast<ConstantInt>(COp)->getValue(); in DecodeVPPERMMask() local
281 APInt Index = MaskElt.getLoBits(5); in DecodeVPPERMMask()
282 APInt PermuteOp = MaskElt.lshr(5).getLoBits(3); in DecodeVPPERMMask()
283 MaskElt = MaskElt.lshr(8); in DecodeVPPERMMask()
DX86ISelLowering.cpp14347 APInt MaskElt = in LowerFABSorFNEG() local
14349 Constant *C = ConstantInt::get(*Context, MaskElt); in LowerFABSorFNEG()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp540 int MaskElt; in visitShuffleVectorInst() local
542 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()
/external/llvm/lib/Analysis/
DVectorUtils.cpp296 for (int MaskElt : ShuffleInst->getShuffleMask()) in getSplatValue() local
297 if (MaskElt != 0 && MaskElt != -1) in getSplatValue()
DConstantFolding.cpp1862 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall() local
1863 if (!MaskElt) in ConstantFoldVectorCall()
1867 if (isa<UndefValue>(MaskElt)) { in ConstantFoldVectorCall()
1875 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()
1879 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
DInstructionSimplify.cpp3955 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local
3956 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1049 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local
1050 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp7134 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local
7136 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()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp3844 int MaskElt = SVOp->getMaskElt(i+(l*LaneSize)); in getShuffleVPERMILPSImmediate() local
3845 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() local
3870 if (MaskElt < 0) in getShuffleVPERMILPDImmediate()
3872 Mask |= (MaskElt-l*LaneSize) << i; in getShuffleVPERMILPDImmediate()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9878 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local
9880 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()