/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 358 APInt NewMask = DemandedMask; in SimplifyDemandedBits() local 374 NewMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() 401 if ((LHSZero & NewMask) == (~RHSC->getAPIntValue() & NewMask)) in SimplifyDemandedBits() 405 if (TLO.ShrinkDemandedConstant(Op, ~LHSZero & NewMask)) in SimplifyDemandedBits() 409 if (SimplifyDemandedBits(Op.getOperand(1), NewMask, KnownZero, in SimplifyDemandedBits() 413 if (SimplifyDemandedBits(Op.getOperand(0), ~KnownZero & NewMask, in SimplifyDemandedBits() 420 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)) in SimplifyDemandedBits() 422 if ((NewMask & ~KnownZero & KnownOne2) == (~KnownZero & NewMask)) in SimplifyDemandedBits() 425 if ((NewMask & (KnownZero|KnownZero2)) == NewMask) in SimplifyDemandedBits() 428 if (TLO.ShrinkDemandedConstant(Op, ~KnownZero2 & NewMask)) in SimplifyDemandedBits() [all …]
|
D | LegalizeDAG.cpp | 196 SmallVector<int, 8> NewMask; in ShuffleWithNarrowerEltType() local 201 NewMask.push_back(-1); in ShuffleWithNarrowerEltType() 203 NewMask.push_back(Idx * NumEltsGrowth + j); in ShuffleWithNarrowerEltType() 206 assert(NewMask.size() == NumDestElts && "Non-integer NumEltsGrowth?"); in ShuffleWithNarrowerEltType() 207 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); in ShuffleWithNarrowerEltType() 208 return DAG.getVectorShuffle(NVT, dl, N1, N2, &NewMask[0]); in ShuffleWithNarrowerEltType() 3009 SmallVector<int, 32> NewMask; in ExpandNode() local 3046 NewMask.push_back(Mask[i]); in ExpandNode() 3050 NewMask.push_back(Mask[i]*factor+fi); in ExpandNode() 3053 Mask = NewMask; in ExpandNode()
|
D | LegalizeVectorTypes.cpp | 2117 SmallVector<int, 16> NewMask; in WidenVecRes_VECTOR_SHUFFLE() local 2121 NewMask.push_back(Idx); in WidenVecRes_VECTOR_SHUFFLE() 2123 NewMask.push_back(Idx - NumElts + WidenNumElts); in WidenVecRes_VECTOR_SHUFFLE() 2126 NewMask.push_back(-1); in WidenVecRes_VECTOR_SHUFFLE() 2127 return DAG.getVectorShuffle(WidenVT, dl, InOp1, InOp2, &NewMask[0]); in WidenVecRes_VECTOR_SHUFFLE()
|
D | DAGCombiner.cpp | 5014 APInt NewMask = Mask << Amt; in GetDemandedBits() local 5015 SDValue SimplifyLHS = GetDemandedBits(V.getOperand(0), NewMask); in GetDemandedBits() 9043 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local 9047 NewMask.push_back(Idx); in visitVECTOR_SHUFFLE() 9050 &NewMask[0]); in visitVECTOR_SHUFFLE() 9055 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local 9064 NewMask.push_back(Idx); in visitVECTOR_SHUFFLE() 9067 &NewMask[0]); in visitVECTOR_SHUFFLE() 9073 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local 9080 NewMask.push_back(Idx); in visitVECTOR_SHUFFLE() [all …]
|
D | LegalizeIntegerTypes.cpp | 2908 SmallVector<int, 8> NewMask; in PromoteIntRes_VECTOR_SHUFFLE() local 2910 NewMask.push_back(SV->getMaskElt(i)); in PromoteIntRes_VECTOR_SHUFFLE() 2917 return DAG.getVectorShuffle(OutVT, dl, V0, V1, &NewMask[0]); in PromoteIntRes_VECTOR_SHUFFLE()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 359 APInt NewMask = ~(LHSKnownOne & RHSKnownOne & DemandedMask); in SimplifyDemandedUseBits() local 362 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits() 367 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue()); in SimplifyDemandedUseBits()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 785 SDValue NewMask = DAG.getConstant(0xff, VT); in FoldMaskAndShiftToExtract() local 787 SDValue And = DAG.getNode(ISD::AND, DL, VT, Srl, NewMask); in FoldMaskAndShiftToExtract() 798 InsertDAGNode(DAG, N, NewMask); in FoldMaskAndShiftToExtract() 832 SDValue NewMask = DAG.getConstant(Mask >> ShiftAmt, VT); in FoldMaskedShiftToScaledMask() local 833 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, NewMask); in FoldMaskedShiftToScaledMask() 841 InsertDAGNode(DAG, N, NewMask); in FoldMaskedShiftToScaledMask()
|
D | X86ISelLowering.cpp | 6954 SmallVector<int, 8> NewMask(M.begin(), M.end()); in LowerVECTOR_SHUFFLE() local 6955 NormalizeMask(NewMask, NumElems); in LowerVECTOR_SHUFFLE() 6956 if (isUNPCKLMask(NewMask, VT, HasInt256, true)) in LowerVECTOR_SHUFFLE() 6958 if (isUNPCKHMask(NewMask, VT, HasInt256, true)) in LowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8587 SmallVector<int, 16> NewMask; in PerformVECTOR_SHUFFLECombine() local 8598 NewMask.push_back(NewElt); in PerformVECTOR_SHUFFLECombine() 8601 DAG.getUNDEF(VT), NewMask.data()); in PerformVECTOR_SHUFFLECombine()
|