/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 313 const APInt &DemandedElts, APInt &DemandedLHS, in getShuffleDemandedElts() argument 315 DemandedLHS = DemandedRHS = APInt::getZero(SrcWidth); in getShuffleDemandedElts() 323 DemandedLHS.setBit(0); in getShuffleDemandedElts() 341 DemandedLHS.setBit(M); in getShuffleDemandedElts() 572 APInt &DemandedLHS, in getHorizDemandedEltsForFirstOperand() argument 580 DemandedLHS = APInt::getZero(NumElts); in getHorizDemandedEltsForFirstOperand() 590 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx); in getHorizDemandedEltsForFirstOperand()
|
H A D | ValueTracking.cpp | 137 APInt &DemandedLHS, APInt &DemandedRHS) { in getShuffleDemandedElts() argument 140 DemandedLHS = DemandedRHS = DemandedElts; in getShuffleDemandedElts() 147 DemandedElts, DemandedLHS, DemandedRHS); in getShuffleDemandedElts() 1879 APInt DemandedLHS, DemandedRHS; in computeKnownBitsFromOperator() local 1880 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) { in computeKnownBitsFromOperator() 1886 if (!!DemandedLHS) { in computeKnownBitsFromOperator() 1888 computeKnownBits(LHS, DemandedLHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator() 3013 APInt DemandedLHS, DemandedRHS; in isKnownNonZeroFromOperator() local 3016 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) in isKnownNonZeroFromOperator() 3021 (DemandedLHS.isZero() || in isKnownNonZeroFromOperator() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 193 const APInt &DemandedElts, APInt &DemandedLHS, 272 APInt &DemandedLHS,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1736 APInt DemandedLHS(DemandedElts), DemandedRHS(DemandedElts); in SimplifyDemandedVectorElts() local 1748 DemandedLHS.clearBit(i); in SimplifyDemandedVectorElts() 1754 simplifyAndSetOp(I, 1, DemandedLHS, PoisonElts2); in SimplifyDemandedVectorElts()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2821 APInt DemandedLHS = APInt::getZero(NumElts); in isSplatValue() local 2833 DemandedLHS.setBit(M); in isSplatValue() 2840 if ((DemandedLHS.isZero() && DemandedRHS.isZero()) || in isSplatValue() 2841 (!DemandedLHS.isZero() && !DemandedRHS.isZero())) in isSplatValue() 2853 if (!DemandedLHS.isZero()) in isSplatValue() 2854 return CheckSplatSrc(V.getOperand(0), DemandedLHS); in isSplatValue() 3251 APInt DemandedLHS, DemandedRHS; in computeKnownBits() local 3255 DemandedLHS, DemandedRHS)) in computeKnownBits() 3260 if (!!DemandedLHS) { in computeKnownBits() 3262 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits() [all …]
|
H A D | TargetLowering.cpp | 1350 APInt DemandedLHS, DemandedRHS; in SimplifyDemandedBits() local 1351 if (!getShuffleDemandedElts(NumElts, ShuffleMask, DemandedElts, DemandedLHS, in SimplifyDemandedBits() 1355 if (!!DemandedLHS || !!DemandedRHS) { in SimplifyDemandedBits() 1361 if (!!DemandedLHS) { in SimplifyDemandedBits() 1362 if (SimplifyDemandedBits(Op0, DemandedBits, DemandedLHS, Known2, TLO, in SimplifyDemandedBits() 1376 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1); in SimplifyDemandedBits() 3423 APInt DemandedLHS(DemandedElts); in SimplifyDemandedVectorElts() local 3427 if (SimplifyDemandedVectorElts(LHS, DemandedLHS, UndefLHS, ZeroLHS, TLO, in SimplifyDemandedVectorElts() 3453 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedVectorElts() local 3461 DemandedLHS.setBit(M); in SimplifyDemandedVectorElts() [all …]
|
H A D | DAGCombiner.cpp | 26019 APInt DemandedLHS = APInt::getZero(NumElts); in visitVECTOR_SHUFFLE() local 26028 APInt &Demanded = M < (int)NumElts ? DemandedLHS : DemandedRHS; in visitVECTOR_SHUFFLE() 26033 if (!IsInLaneMask && (!DemandedLHS.isZero() || !DemandedRHS.isZero()) && in visitVECTOR_SHUFFLE() 26034 (DemandedLHS.isZero() || DAG.MaskedVectorIsZero(N0, DemandedLHS)) && in visitVECTOR_SHUFFLE()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 3736 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyMul24() local 3738 if (DemandedLHS || DemandedRHS) in simplifyMul24() 3740 DemandedLHS ? DemandedLHS : LHS, in simplifyMul24()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 5187 APInt &DemandedLHS, APInt &DemandedRHS) { in getPackDemandedElts() argument 5194 DemandedLHS = APInt::getZero(NumInnerElts); in getPackDemandedElts() 5203 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts() 5212 APInt &DemandedLHS, APInt &DemandedRHS) { in getHorizDemandedElts() argument 5214 DemandedLHS, DemandedRHS); in getHorizDemandedElts() 5215 DemandedLHS |= DemandedLHS << 1; in getHorizDemandedElts() 37276 APInt DemandedLHS, DemandedRHS; in computeKnownBitsForTargetNode() local 37277 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in computeKnownBitsForTargetNode() 37283 if (!!DemandedLHS) { in computeKnownBitsForTargetNode() 37284 Known2 = DAG.computeKnownBits(Op.getOperand(0), DemandedLHS, Depth + 1); in computeKnownBitsForTargetNode() [all …]
|