Home
last modified time | relevance | path

Searched refs:MinSignedBits (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp757 unsigned MinSignedBits = in narrowSDivOrSRem() local
763 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
764 ++MinSignedBits; in narrowSDivOrSRem()
767 unsigned NewWidth = std::max<unsigned>(PowerOf2Ceil(MinSignedBits), 8); in narrowSDivOrSRem()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2355 unsigned MinSignedBits = in SimplifyDemandedBits() local
2357 bool AlreadySignExtended = ExVTBits >= MinSignedBits; in SimplifyDemandedBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp17773 unsigned MinSignedBits = ExpandedMask.getSignificantBits(); in targetShrinkDemandedConstant()
17779 if (MinSignedBits <= 12) in targetShrinkDemandedConstant()
17781 else if (!C->isOpaque() && MinSignedBits <= 32 && !ShrunkMask.isSignedIntN(32)) in targetShrinkDemandedConstant()
17770 unsigned MinSignedBits = ExpandedMask.getSignificantBits(); targetShrinkDemandedConstant() local