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

/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp879 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements(); local
880 APInt EltMask(APInt::getAllOnesValue(VWidth));
907 for (unsigned i = 0; i != VWidth; ++i) {
953 APInt UndefElts2(VWidth, 0);
974 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) {
996 for (unsigned i = 0; i < VWidth; i++) {
1021 for (unsigned i = 0; i < VWidth; i++) {
1044 for (unsigned i = 0; i < VWidth; ++i) {
1059 for (unsigned i = 0; i < VWidth; i++) {
1094 if (VWidth
[all...]
H A DInstCombineVectorOps.cpp603 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); local
604 APInt UndefElts(VWidth, 0);
605 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
915 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements(); local
917 APInt UndefElts(VWidth, 0);
918 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
934 Value *Result = (VWidth == LHSWidth)
941 for (unsigned i = 0, e = LHSWidth; i != VWidth; ++i) {
964 if (VWidth == LHSWidth) {
1175 for (unsigned i = 0; i < VWidth;
[all...]
H A DInstCombineCalls.cpp280 unsigned VWidth = VT->getNumElements(); local
299 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt);
1112 unsigned VWidth = Arg->getType()->getVectorNumElements(); local
1113 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, VWidth, 1)) {
1167 unsigned VWidth = Arg1->getType()->getVectorNumElements(); local
1169 if (Value *V = SimplifyDemandedVectorEltsLow(Arg1, VWidth, VWidth / 2)) {
1246 unsigned VWidth = Op0->getType()->getVectorNumElements(); local
1247 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
1260 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth,
1270 unsigned VWidth = Op0->getType()->getVectorNumElements(); local
[all...]
H A DInstCombineSelect.cpp1199 unsigned VWidth = VecTy->getNumElements(); local
1200 APInt UndefElts(VWidth, 0);
1201 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
H A DInstCombineMulDivRem.cpp1451 unsigned VWidth = C->getType()->getVectorNumElements(); local
1455 for (unsigned i = 0; i != VWidth; ++i) {
1468 SmallVector<Constant *, 16> Elts(VWidth);
1469 for (unsigned i = 0; i != VWidth; ++i) {
H A DInstructionCombining.cpp1268 unsigned VWidth = cast<VectorType>(Inst.getType())->getNumElements(); local
1270 assert(cast<VectorType>(LHS->getType())->getNumElements() == VWidth);
1271 assert(cast<VectorType>(RHS->getType())->getNumElements() == VWidth);
1308 SmallVector<Constant*, 16> C2M(VWidth,
1311 for (unsigned I = 0; I < VWidth; ++I) {
1313 assert(ShMask[I] < (int)VWidth);

Completed in 184 milliseconds