Home
last modified time | relevance | path

Searched refs:LCR (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp746 static bool narrowSDivOrSRem(BinaryOperator *Instr, const ConstantRange &LCR, in narrowSDivOrSRem() argument
758 std::max(LCR.getMinSignedBits(), RCR.getMinSignedBits()); in narrowSDivOrSRem()
763 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
926 static bool processSRem(BinaryOperator *SDI, const ConstantRange &LCR, in processSRem() argument
930 if (LCR.abs().icmp(CmpInst::ICMP_ULT, RCR.abs())) { in processSRem()
940 std::array<Operand, 2> Ops = {{{SDI->getOperand(0), getDomain(LCR)}, in processSRem()
985 static bool processSDiv(BinaryOperator *SDI, const ConstantRange &LCR, in processSDiv() argument
990 ConstantRange DivCR = LCR.sdiv(RCR); in processSDiv()
1001 std::array<Operand, 2> Ops = {{{SDI->getOperand(0), getDomain(LCR)}, in processSDiv()
1045 ConstantRange LCR = in processSDivOrSRem() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp151 const ConstantRange &LCR = LA.getRange(); in cmpAttrs() local
153 if (int Res = cmpAPInts(LCR.getLower(), RCR.getLower())) in cmpAttrs()
155 if (int Res = cmpAPInts(LCR.getUpper(), RCR.getUpper())) in cmpAttrs()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td922 def LCR : UnaryRR <"lcr", 0x13, ineg, GR32, GR32>;
2316 (SLLG GR64:$val, (LCR GR32:$shift), 0)>;
2319 (SRAG GR64:$val, (LCR GR32:$shift), 0)>;
2322 (SRLG GR64:$val, (LCR GR32:$shift), 0)>;
2325 (RLLG GR64:$val, (LCR GR32:$shift), 0)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.td894 // e.g. LCR
1540 // Section 8.19.9 - LCR (Load Communication Register)
1541 defm LCR : LOADCRm<"lcr", 0x40, I64>;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp9049 CmpInst::Predicate LPred, const ConstantRange &LCR, in isImpliedCondCommonOperandWithCR() argument
9051 ConstantRange DomCR = ConstantRange::makeAllowedICmpRegion(LPred, LCR); in isImpliedCondCommonOperandWithCR()
9106 ConstantRange LCR = computeConstantRange( in isImpliedCondICmps() local
9114 if (auto R = isImpliedCondCommonOperandWithCR(LPred, LCR, RPred, RCR)) in isImpliedCondICmps()