Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp735 unsigned MinSignedBits = 0; in narrowSDivOrSRem() local
738 MinSignedBits = std::max(std::get<1>(I)->getMinSignedBits(), MinSignedBits); in narrowSDivOrSRem()
744 CRs[0]->contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
745 ++MinSignedBits; in narrowSDivOrSRem()
748 unsigned NewWidth = std::max<unsigned>(PowerOf2Ceil(MinSignedBits), 8); in narrowSDivOrSRem()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp9504 unsigned MinSignedBits = ExpandedMask.getMinSignedBits(); in targetShrinkDemandedConstant() local
9510 if (MinSignedBits <= 12) in targetShrinkDemandedConstant()
9512 else if (!C->isOpaque() && MinSignedBits <= 32 && !ShrunkMask.isSignedIntN(32)) in targetShrinkDemandedConstant()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2166 unsigned MinSignedBits = in SimplifyDemandedBits() local
2168 bool AlreadySignExtended = ExVTBits >= MinSignedBits; in SimplifyDemandedBits()