/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 662 unsigned SignBits = in SimplifyDemandedUseBits() local 664 if (SignBits > ShiftAmt && SignBits - ShiftAmt >= NumHiDemandedBits) in SimplifyDemandedUseBits() 744 unsigned SignBits = in SimplifyDemandedUseBits() local 746 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits() 784 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, Q.CxtI); in SimplifyDemandedUseBits() local 789 if (SignBits >= NumHiDemandedBits) in SimplifyDemandedUseBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 1923 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in LowerDIVREM24() local 1924 unsigned DivBits = BitSize - SignBits; in LowerDIVREM24() 5180 unsigned SignBits = Signed ? (32 - WidthVal + 1) : (32 - WidthVal); in PerformDAGCombine() local 5183 if (OpSignBits >= SignBits) in PerformDAGCombine() 5687 unsigned SignBits = 32 - MaxValBits + 1; in computeKnownBitsForTargetNode() local 5696 Known.Zero.setHighBits(SignBits); in computeKnownBitsForTargetNode() 5698 Known.One.setHighBits(SignBits); in computeKnownBitsForTargetNode() 5803 unsigned SignBits = 32 - Width->getZExtValue() + 1; in ComputeNumSignBitsForTargetNode() local 5805 return SignBits; in ComputeNumSignBitsForTargetNode() 5809 return std::max(SignBits, Op0SignBits); in ComputeNumSignBitsForTargetNode()
|
H A D | AMDGPUCodeGenPrepare.cpp | 1205 unsigned SignBits = std::min(LHSSignBits, RHSSignBits); in getDivNumBits() local 1206 unsigned DivBits = Num->getType()->getScalarSizeInBits() - SignBits; in getDivNumBits()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 4130 unsigned SignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1); in computeKnownBits() local 4131 Known.Zero.setHighBits(std::min(SignBits, ValueLow.getNumSignBits())); in computeKnownBits() 4326 unsigned SignBits = ComputeNumSignBits(N0) + ComputeNumSignBits(N1); in computeOverflowForSignedMul() local 4329 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul() 4332 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul() 5116 unsigned SignBits = ComputeNumSignBits(Op, Depth); in ComputeMaxSignificantBits() local 5117 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits() 5123 unsigned SignBits = ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeMaxSignificantBits() local 5124 return Op.getScalarValueSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 354 unsigned SignBits = ComputeNumSignBits(V, DL, Depth, AC, CxtI, DT); in ComputeMaxSignificantBits() local 355 return V->getType()->getScalarSizeInBits() - SignBits + 1; in ComputeMaxSignificantBits() 6998 unsigned SignBits = in computeOverflowForSignedMul() local 7003 if (SignBits > BitWidth + 1) in computeOverflowForSignedMul() 7011 if (SignBits == BitWidth + 1) { in computeOverflowForSignedMul()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 15426 unsigned SignBits = OrigBitWidth - BitWidth; in collectValuesToDemote() local 15432 return SignBits <= Op0SignBits && in collectValuesToDemote() 15433 ((SignBits != Op0SignBits && in collectValuesToDemote() 15437 SignBits <= Op1SignBits && in collectValuesToDemote() 15438 ((SignBits != Op1SignBits && in collectValuesToDemote() 15447 unsigned SignBits = OrigBitWidth - BitWidth; in collectValuesToDemote() local 15451 return SignBits <= Op0SignBits && in collectValuesToDemote() 15452 ((SignBits != Op0SignBits && in collectValuesToDemote()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 32835 SDValue SignBits = DAG.getSetCC(dl, MVT::v4i32, Zero, In, ISD::SETGT); in ReplaceNodeResults() local 32839 SDValue Lo = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults() 32842 SDValue Hi = DAG.getVectorShuffle(MVT::v4i32, dl, In, SignBits, in ReplaceNodeResults() 47497 unsigned SignBits[2] = {1, 1}; in canReduceVMulWidth() local 47502 SignBits[i] = DAG.ComputeNumSignBits(Opd); in canReduceVMulWidth() 47507 unsigned MinSignBits = std::min(SignBits[0], SignBits[1]); in canReduceVMulWidth()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 3901 unsigned SignBits = DAG.ComputeNumSignBits(Op); in lowerBuildVectorOfConstants() 3902 if (EltBitSize - SignBits < 8) { in lowerBuildVectorOfConstants() 3900 unsigned SignBits = DAG.ComputeNumSignBits(Op); lowerBuildVectorOfConstants() local
|