| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 433 const APInt &DemandedElts, APInt &DemandedLHS, in getShuffleDemandedElts() argument 435 DemandedLHS = DemandedRHS = APInt::getZero(SrcWidth); in getShuffleDemandedElts() 443 DemandedLHS.setBit(0); in getShuffleDemandedElts() 461 DemandedLHS.setBit(M); in getShuffleDemandedElts()
|
| H A D | ValueTracking.cpp | 159 APInt &DemandedLHS, APInt &DemandedRHS) { in getShuffleDemandedElts() argument 162 DemandedLHS = DemandedRHS = DemandedElts; in getShuffleDemandedElts() 169 DemandedElts, DemandedLHS, DemandedRHS); in getShuffleDemandedElts() 1784 APInt DemandedLHS, DemandedRHS; in computeKnownBitsFromOperator() local 1785 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) { in computeKnownBitsFromOperator() 1791 if (!!DemandedLHS) { in computeKnownBitsFromOperator() 1793 computeKnownBits(LHS, DemandedLHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator() 3344 APInt DemandedLHS, DemandedRHS; in ComputeNumSignBitsImpl() local 3347 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) in ComputeNumSignBitsImpl() 3350 if (!!DemandedLHS) { in ComputeNumSignBitsImpl() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 1578 APInt DemandedLHS(DemandedElts), DemandedRHS(DemandedElts); in SimplifyDemandedVectorElts() local 1590 DemandedLHS.clearBit(i); in SimplifyDemandedVectorElts() 1596 simplifyAndSetOp(I, 1, DemandedLHS, UndefElts2); in SimplifyDemandedVectorElts()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 375 const APInt &DemandedElts, APInt &DemandedLHS,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2664 APInt DemandedLHS = APInt::getNullValue(NumElts); in isSplatValue() local 2676 DemandedLHS.setBit(M); in isSplatValue() 2683 if ((DemandedLHS.isZero() && DemandedRHS.isZero()) || in isSplatValue() 2684 (!DemandedLHS.isZero() && !DemandedRHS.isZero())) in isSplatValue() 2696 if (!DemandedLHS.isZero()) in isSplatValue() 2697 return CheckSplatSrc(V.getOperand(0), DemandedLHS); in isSplatValue() 3019 APInt DemandedLHS, DemandedRHS; in computeKnownBits() local 3023 DemandedLHS, DemandedRHS)) in computeKnownBits() 3028 if (!!DemandedLHS) { in computeKnownBits() 3030 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits() [all …]
|
| H A D | TargetLowering.cpp | 1302 APInt DemandedLHS, DemandedRHS; in SimplifyDemandedBits() local 1303 if (!getShuffleDemandedElts(NumElts, ShuffleMask, DemandedElts, DemandedLHS, in SimplifyDemandedBits() 1307 if (!!DemandedLHS || !!DemandedRHS) { in SimplifyDemandedBits() 1313 if (!!DemandedLHS) { in SimplifyDemandedBits() 1314 if (SimplifyDemandedBits(Op0, DemandedBits, DemandedLHS, Known2, TLO, in SimplifyDemandedBits() 1328 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1); in SimplifyDemandedBits() 3181 APInt DemandedLHS(DemandedElts); in SimplifyDemandedVectorElts() local 3185 if (SimplifyDemandedVectorElts(LHS, DemandedLHS, UndefLHS, ZeroLHS, TLO, in SimplifyDemandedVectorElts() 3211 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedVectorElts() local 3219 DemandedLHS.setBit(M); in SimplifyDemandedVectorElts() [all …]
|
| H A D | DAGCombiner.cpp | 24076 APInt DemandedLHS = APInt::getNullValue(NumElts); in visitVECTOR_SHUFFLE() local 24085 APInt &Demanded = M < (int)NumElts ? DemandedLHS : DemandedRHS; in visitVECTOR_SHUFFLE() 24091 (!DemandedLHS.isNullValue() || !DemandedRHS.isNullValue()) && in visitVECTOR_SHUFFLE() 24092 (DemandedLHS.isNullValue() || in visitVECTOR_SHUFFLE() 24093 DAG.MaskedVectorIsZero(N0, DemandedLHS)) && in visitVECTOR_SHUFFLE()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 2918 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyMul24() local 2920 if (DemandedLHS || DemandedRHS) in simplifyMul24() 2922 DemandedLHS ? DemandedLHS : LHS, in simplifyMul24()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 7659 APInt &DemandedLHS, APInt &DemandedRHS) { in getPackDemandedElts() argument 7666 DemandedLHS = APInt::getZero(NumInnerElts); in getPackDemandedElts() 7675 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts() 7684 APInt &DemandedLHS, APInt &DemandedRHS) { in getHorizDemandedElts() argument 7690 DemandedLHS = APInt::getZero(NumElts); in getHorizDemandedElts() 7700 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 0); in getHorizDemandedElts() 7701 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 1); in getHorizDemandedElts() 37882 APInt DemandedLHS, DemandedRHS; in computeKnownBitsForTargetNode() local 37883 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in computeKnownBitsForTargetNode() 37889 if (!!DemandedLHS) { in computeKnownBitsForTargetNode() [all …]
|