Home
last modified time | relevance | path

Searched refs:SignBits (Results 1 – 7 of 7) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp691 unsigned SignBits = in SimplifyDemandedUseBits() local
693 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
733 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits() local
738 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
774 BitWidth, std::min(SignBits + ShiftAmt - 1, BitWidth))); in SimplifyDemandedUseBits()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1704 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in LowerDIVREM24() local
1705 unsigned DivBits = BitSize - SignBits; in LowerDIVREM24()
4202 unsigned SignBits = Signed ? (32 - WidthVal + 1) : (32 - WidthVal); in PerformDAGCombine() local
4205 if (OpSignBits >= SignBits) in PerformDAGCombine()
4662 unsigned SignBits = 32 - MaxValBits + 1; in computeKnownBitsForTargetNode() local
4671 Known.Zero.setHighBits(SignBits); in computeKnownBitsForTargetNode()
4673 Known.One.setHighBits(SignBits); in computeKnownBitsForTargetNode()
4771 unsigned SignBits = 32 - Width->getZExtValue() + 1; in ComputeNumSignBitsForTargetNode() local
4773 return SignBits; in ComputeNumSignBitsForTargetNode()
4777 return std::max(SignBits, Op0SignBits); in ComputeNumSignBitsForTargetNode()
H A DAMDGPUCodeGenPrepare.cpp897 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in getDivNumBits() local
898 unsigned DivBits = Num->getType()->getScalarSizeInBits() - SignBits; in getDivNumBits()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp395 unsigned SignBits = ComputeNumSignBits(V, DL, Depth, AC, CxtI, DT); in ComputeMaxSignificantBits() local
396 return V->getType()->getScalarSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
4982 unsigned SignBits = ComputeNumSignBits(LHS, DL, 0, AC, CxtI, DT) + in computeOverflowForSignedMul() local
4987 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul()
4995 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3824 unsigned SignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in computeKnownBits() local
3825 Known.Zero.setHighBits(std::min(SignBits, ValueLow.getNumSignBits())); in computeKnownBits()
4619 unsigned SignBits = ComputeNumSignBits(Op, Depth); in ComputeMaxSignificantBits() local
4620 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
4626 unsigned SignBits = ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeMaxSignificantBits() local
4627 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
H A DDAGCombiner.cpp5084 unsigned SignBits = DAG.ComputeNumSignBits(N0); in visitMULO() local
5085 if (SignBits > 1) in visitMULO()
5086 SignBits += DAG.ComputeNumSignBits(N1); in visitMULO()
5087 if (SignBits > VT.getScalarSizeInBits() + 1) in visitMULO()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp33600 SDValue SignBits = DAG.getSetCC(dl, MVT::v4i32, Zero, In, ISD::SETGT); in ReplaceNodeResults() local
33604 SDValue Lo = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
33607 SDValue Hi = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
47206 unsigned SignBits[2] = {1, 1}; in canReduceVMulWidth() local
47211 SignBits[i] = DAG.ComputeNumSignBits(Opd); in canReduceVMulWidth()
47216 unsigned MinSignBits = std::min(SignBits[0], SignBits[1]); in canReduceVMulWidth()