Searched refs:VWidth (Results 1 - 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp809 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements(); local
810 APInt EltMask(APInt::getAllOnesValue(VWidth));
830 for (unsigned i = 0; i != VWidth; ++i)
859 for (unsigned i = 0; i != VWidth; ++i) {
890 APInt UndefElts2(VWidth, 0);
911 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) {
933 for (unsigned i = 0; i < VWidth; i++) {
958 for (unsigned i = 0; i < VWidth; i++) {
981 for (unsigned i = 0; i < VWidth; ++i) {
1001 if (VWidth
[all...]
H A DInstCombineVectorOps.cpp434 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); local
435 APInt UndefElts(VWidth, 0);
436 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
458 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements(); local
460 if (VWidth != cast<VectorType>(LHS->getType())->getNumElements())
463 APInt UndefElts(VWidth, 0);
464 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
H A DInstCombineCalls.cpp588 unsigned VWidth = local
590 APInt DemandedElts(VWidth, 1);
591 APInt UndefElts(VWidth, 0);
608 unsigned VWidth = local
610 unsigned LowHalfElts = VWidth / 2;
611 APInt InputDemandedElts(APInt::getBitsSet(VWidth, 0, LowHalfElts));
612 APInt UndefElts(VWidth, 0);
H A DInstCombineMulDivRem.cpp688 unsigned VWidth = RHSV->getNumOperands(); local
691 for (unsigned i = 0; !hasNegative && i != VWidth; ++i)
697 std::vector<Constant *> Elts(VWidth);
698 for (unsigned i = 0; i != VWidth; ++i) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp909 unsigned VWidth = V->getType()->getVectorNumElements(); local
910 APInt EltMask(APInt::getAllOnesValue(VWidth));
937 for (unsigned i = 0; i != VWidth; ++i) {
983 APInt UndefElts2(VWidth, 0);
1004 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) {
1026 for (unsigned i = 0; i < VWidth; i++) {
1051 for (unsigned i = 0; i < VWidth; i++) {
1074 for (unsigned i = 0; i < VWidth; ++i) {
1089 for (unsigned i = 0; i < VWidth; i++) {
1124 if (VWidth
[all...]
H A DInstCombineVectorOps.cpp619 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); local
620 APInt UndefElts(VWidth, 0);
621 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
931 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements(); local
933 APInt UndefElts(VWidth, 0);
934 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
950 Value *Result = (VWidth == LHSWidth)
957 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) {
980 if (VWidth == LHSWidth) {
1191 for (unsigned i = 0; i < VWidth;
[all...]
H A DInstCombineCalls.cpp298 unsigned VWidth = VT->getNumElements(); local
317 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt);
1614 unsigned VWidth = Arg->getType()->getVectorNumElements(); local
1615 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, VWidth, 1)) {
1663 unsigned VWidth = Arg0->getType()->getVectorNumElements(); local
1664 if (Value *V = SimplifyDemandedVectorEltsLow(Arg0, VWidth, 1)) {
1668 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, 1)) {
1694 unsigned VWidth = Arg1->getType()->getVectorNumElements(); local
1695 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, 1)) {
1709 unsigned VWidth local
1770 unsigned VWidth = Arg1->getType()->getVectorNumElements(); local
1840 unsigned VWidth = Op0->getType()->getVectorNumElements(); local
1864 unsigned VWidth = Op0->getType()->getVectorNumElements(); local
[all...]
H A DInstCombineSelect.cpp1234 unsigned VWidth = VecTy->getNumElements(); local
1235 APInt UndefElts(VWidth, 0);
1236 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
H A DInstCombineMulDivRem.cpp1490 unsigned VWidth = C->getType()->getVectorNumElements(); local
1494 for (unsigned i = 0; i != VWidth; ++i) {
1507 SmallVector<Constant *, 16> Elts(VWidth);
1508 for (unsigned i = 0; i != VWidth; ++i) {
H A DInstructionCombining.cpp1264 unsigned VWidth = cast<VectorType>(Inst.getType())->getNumElements(); local
1266 assert(cast<VectorType>(LHS->getType())->getNumElements() == VWidth);
1267 assert(cast<VectorType>(RHS->getType())->getNumElements() == VWidth);
1304 SmallVector<Constant*, 16> C2M(VWidth,
1307 for (unsigned I = 0; I < VWidth; ++I) {
1309 assert(ShMask[I] < (int)VWidth);
/external/clang/test/CodeGenCXX/
H A Dpragma-loop.cpp108 const T VWidth = VECWIDTH; local
111 #pragma clang loop vectorize_width(VWidth) interleave_count(ICount)

Completed in 199 milliseconds