Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp677 unsigned SignBits = in SimplifyDemandedUseBits() local
679 if (SignBits > ShiftAmt && SignBits - ShiftAmt >= NumHiDemandedBits) in SimplifyDemandedUseBits()
759 unsigned SignBits = in SimplifyDemandedUseBits() local
761 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
808 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Q.CxtI, Depth + 1); in SimplifyDemandedUseBits() local
813 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp1209 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in getDivNumBits() local
1210 DivBits = SSBits - SignBits + 1; in getDivNumBits()
1229 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in getDivNumBits() local
1230 DivBits = SSBits - SignBits; in getDivNumBits()
H A DAMDGPUISelLowering.cpp1980 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in LowerDIVREM24() local
1981 unsigned DivBits = BitSize - SignBits; in LowerDIVREM24()
5413 unsigned SignBits = Signed ? (32 - WidthVal + 1) : (32 - WidthVal); in PerformDAGCombine() local
5416 if (OpSignBits >= SignBits) in PerformDAGCombine()
5910 unsigned SignBits = 32 - MaxValBits + 1; in computeKnownBitsForTargetNode() local
5919 Known.Zero.setHighBits(SignBits); in computeKnownBitsForTargetNode()
5921 Known.One.setHighBits(SignBits); in computeKnownBitsForTargetNode()
6026 unsigned SignBits = 32 - Width->getZExtValue() + 1; in ComputeNumSignBitsForTargetNode() local
6028 return SignBits; in ComputeNumSignBitsForTargetNode()
6032 return std::max(SignBits, Op0SignBits); in ComputeNumSignBitsForTargetNode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4367 unsigned SignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in computeKnownBits() local
4368 Known.Zero.setHighBits(std::min(SignBits, ValueLow.getNumSignBits())); in computeKnownBits()
4597 unsigned SignBits = ComputeNumSignBits(N0) + ComputeNumSignBits(N1); in computeOverflowForSignedMul() local
4600 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul()
4603 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
5398 unsigned SignBits = ComputeNumSignBits(Op, Depth); in ComputeMaxSignificantBits() local
5399 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
5405 unsigned SignBits = ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeMaxSignificantBits() local
5406 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp347 unsigned SignBits = ComputeNumSignBits(V, DL, AC, CxtI, DT, Depth); in ComputeMaxSignificantBits() local
348 return V->getType()->getScalarSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
7113 unsigned SignBits = in computeOverflowForSignedMul() local
7118 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul()
7126 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp20420 unsigned SignBits = OrigBitWidth - BitWidth; in collectValuesToDemote() local
20426 return SignBits <= Op0SignBits && in collectValuesToDemote()
20427 ((SignBits != Op0SignBits && in collectValuesToDemote()
20431 SignBits <= Op1SignBits && in collectValuesToDemote()
20432 ((SignBits != Op1SignBits && in collectValuesToDemote()
20441 unsigned SignBits = OrigBitWidth - BitWidth; in collectValuesToDemote() local
20445 return SignBits <= Op0SignBits && in collectValuesToDemote()
20446 ((SignBits != Op0SignBits && in collectValuesToDemote()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp34074 SDValue SignBits = DAG.getSetCC(dl, MVT::v4i32, Zero, In, ISD::SETGT); in ReplaceNodeResults() local
34078 SDValue Lo = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
34081 SDValue Hi = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults()
49268 unsigned SignBits[2] = {1, 1}; in canReduceVMulWidth() local
49273 SignBits[i] = DAG.ComputeNumSignBits(Opd); in canReduceVMulWidth()
49278 unsigned MinSignBits = std::min(SignBits[0], SignBits[1]); in canReduceVMulWidth()