Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp709 unsigned SignBits = in SimplifyDemandedUseBits() local
711 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
750 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits() local
755 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
789 BitWidth, std::min(SignBits + ShiftAmt - 1, BitWidth))); in SimplifyDemandedUseBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1882 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in LowerDIVREM24() local
1883 unsigned DivBits = BitSize - SignBits; in LowerDIVREM24()
5126 unsigned SignBits = Signed ? (32 - WidthVal + 1) : (32 - WidthVal); in PerformDAGCombine() local
5129 if (OpSignBits >= SignBits) in PerformDAGCombine()
5630 unsigned SignBits = 32 - MaxValBits + 1; in computeKnownBitsForTargetNode() local
5639 Known.Zero.setHighBits(SignBits); in computeKnownBitsForTargetNode()
5641 Known.One.setHighBits(SignBits); in computeKnownBitsForTargetNode()
5746 unsigned SignBits = 32 - Width->getZExtValue() + 1; in ComputeNumSignBitsForTargetNode() local
5748 return SignBits; in ComputeNumSignBitsForTargetNode()
5752 return std::max(SignBits, Op0SignBits); in ComputeNumSignBitsForTargetNode()
H A DAMDGPUCodeGenPrepare.cpp1203 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in getDivNumBits() local
1204 unsigned DivBits = Num->getType()->getScalarSizeInBits() - SignBits; in getDivNumBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3968 unsigned SignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in computeKnownBits() local
3969 Known.Zero.setHighBits(std::min(SignBits, ValueLow.getNumSignBits())); in computeKnownBits()
4150 unsigned SignBits = ComputeNumSignBits(N0) + ComputeNumSignBits(N1); in computeOverflowForSignedMul() local
4153 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul()
4156 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
4901 unsigned SignBits = ComputeNumSignBits(Op, Depth); in ComputeMaxSignificantBits() local
4902 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
4908 unsigned SignBits = ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeMaxSignificantBits() local
4909 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp348 unsigned SignBits = ComputeNumSignBits(V, DL, Depth, AC, CxtI, DT); in ComputeMaxSignificantBits() local
349 return V->getType()->getScalarSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
6321 unsigned SignBits = in computeOverflowForSignedMul() local
6326 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul()
6334 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp32319 SDValue SignBits = DAG.getSetCC(dl, MVT::v4i32, Zero, In, ISD::SETGT); in ReplaceNodeResults() local
32323 SDValue Lo = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
32326 SDValue Hi = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
46379 unsigned SignBits[2] = {1, 1}; in canReduceVMulWidth() local
46384 SignBits[i] = DAG.ComputeNumSignBits(Opd); in canReduceVMulWidth()
46389 unsigned MinSignBits = std::min(SignBits[0], SignBits[1]); in canReduceVMulWidth()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3733 unsigned SignBits = DAG.ComputeNumSignBits(Op); in lowerBuildVectorOfConstants() local
3734 if (EltBitSize - SignBits < 8) { in lowerBuildVectorOfConstants()