Home
last modified time | relevance | path

Searched refs:VWidth (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp879 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements(); in SimplifyDemandedVectorElts() local
880 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
907 for (unsigned i = 0; i != VWidth; ++i) { in SimplifyDemandedVectorElts()
953 APInt UndefElts2(VWidth, 0); in SimplifyDemandedVectorElts()
974 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts()
996 for (unsigned i = 0; i < VWidth; i++) { in SimplifyDemandedVectorElts()
1021 for (unsigned i = 0; i < VWidth; i++) { in SimplifyDemandedVectorElts()
1044 for (unsigned i = 0; i < VWidth; ++i) { in SimplifyDemandedVectorElts()
1059 for (unsigned i = 0; i < VWidth; i++) { in SimplifyDemandedVectorElts()
1094 if (VWidth == InVWidth) { in SimplifyDemandedVectorElts()
[all …]
DInstCombineVectorOps.cpp530 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); in visitInsertElementInst() local
531 APInt UndefElts(VWidth, 0); in visitInsertElementInst()
532 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst()
842 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements(); in visitShuffleVectorInst() local
844 APInt UndefElts(VWidth, 0); in visitShuffleVectorInst()
845 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
861 Value *Result = (VWidth == LHSWidth) in visitShuffleVectorInst()
868 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) { in visitShuffleVectorInst()
891 if (VWidth == LHSWidth) { in visitShuffleVectorInst()
1102 for (unsigned i = 0; i < VWidth; ++i) { in visitShuffleVectorInst()
[all …]
DInstCombineCalls.cpp280 unsigned VWidth = VT->getNumElements(); in SimplifyX86immshift() local
299 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt); in SimplifyX86immshift()
1112 unsigned VWidth = Arg->getType()->getVectorNumElements(); in visitCallInst() local
1113 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, VWidth, 1)) { in visitCallInst()
1167 unsigned VWidth = Arg1->getType()->getVectorNumElements(); in visitCallInst() local
1169 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, VWidth / 2)) { in visitCallInst()
1246 unsigned VWidth = Op0->getType()->getVectorNumElements(); in visitCallInst() local
1247 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in visitCallInst()
1260 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) { in visitCallInst()
1270 unsigned VWidth = Op0->getType()->getVectorNumElements(); in visitCallInst() local
[all …]
DInstCombineMulDivRem.cpp1451 unsigned VWidth = C->getType()->getVectorNumElements(); in visitSRem() local
1455 for (unsigned i = 0; i != VWidth; ++i) { in visitSRem()
1468 SmallVector<Constant *, 16> Elts(VWidth); in visitSRem()
1469 for (unsigned i = 0; i != VWidth; ++i) { in visitSRem()
DInstCombineSelect.cpp1199 unsigned VWidth = VecTy->getNumElements(); in visitSelectInst() local
1200 APInt UndefElts(VWidth, 0); in visitSelectInst()
1201 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitSelectInst()
DInstructionCombining.cpp1268 unsigned VWidth = cast<VectorType>(Inst.getType())->getNumElements(); in SimplifyVectorOp() local
1270 assert(cast<VectorType>(LHS->getType())->getNumElements() == VWidth); in SimplifyVectorOp()
1271 assert(cast<VectorType>(RHS->getType())->getNumElements() == VWidth); in SimplifyVectorOp()
1308 SmallVector<Constant*, 16> C2M(VWidth, in SimplifyVectorOp()
1311 for (unsigned I = 0; I < VWidth; ++I) { in SimplifyVectorOp()
1313 assert(ShMask[I] < (int)VWidth); in SimplifyVectorOp()
/external/clang/test/CodeGenCXX/
Dpragma-loop.cpp107 const T VWidth = VECWIDTH; in for_template_define_test() local
110 #pragma clang loop vectorize_width(VWidth) interleave_count(ICount) in for_template_define_test()