/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 279 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()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 540 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/ |
D | VectorUtils.cpp | 296 for (int MaskElt : ShuffleInst->getShuffleMask()) in getSplatValue() local 297 if (MaskElt != 0 && MaskElt != -1) in getSplatValue()
|
D | ConstantFolding.cpp | 1862 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()
|
D | InstructionSimplify.cpp | 3955 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local 3956 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 298 for (int MaskElt : ShuffleInst->getShuffleMask()) in getSplatValue() local 299 if (MaskElt != 0 && MaskElt != -1) in getSplatValue()
|
D | ConstantFolding.cpp | 2034 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall() local 2035 if (!MaskElt) in ConstantFoldVectorCall() 2039 if (isa<UndefValue>(MaskElt)) { in ConstantFoldVectorCall() 2047 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall() 2051 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
|
D | InstructionSimplify.cpp | 4695 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local 4696 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1049 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local 1050 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1220 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local 1221 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7134 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/ |
D | X86ISelLowering.cpp | 3844 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/ |
D | ARMISelLowering.cpp | 9878 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 11507 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local 11509 if (MaskElt < (int)HalfElts) in PerformVECTOR_SHUFFLECombine() 11510 NewElt = MaskElt; in PerformVECTOR_SHUFFLECombine() 11511 else if (MaskElt >= (int)NumElts && MaskElt < (int)(NumElts + HalfElts)) in PerformVECTOR_SHUFFLECombine() 11512 NewElt = HalfElts + MaskElt - NumElts; in PerformVECTOR_SHUFFLECombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 17453 APInt MaskElt = in LowerFABSorFNEG() local 17458 SDValue Mask = DAG.getConstantFP(APFloat(Sem, MaskElt), dl, LogicVT); in LowerFABSorFNEG()
|