Searched refs:lhsInt (Results 1 – 4 of 4) sorted by relevance
117 int lhsInt = lhs.intValue(context); in evaluate() local121 return lhsInt < rhsInt; in evaluate()123 return lhsInt <= rhsInt; in evaluate()125 return lhsInt > rhsInt; in evaluate()127 return lhsInt >= rhsInt; in evaluate()129 return lhsInt + rhsInt; in evaluate()131 return lhsInt - rhsInt; in evaluate()133 return lhsInt * rhsInt; in evaluate()135 return lhsInt / rhsInt; in evaluate()137 return lhsInt % rhsInt; in evaluate()
1468 int64_t lhsInt = lhs.get<Attribute>().cast<IntegerAttr>().getInt(); in multiplyOperandsOrIntegers() local1471 if (lhsInt == 0) return lhs; in multiplyOperandsOrIntegers()1472 if (lhsInt == 1) return rhs; in multiplyOperandsOrIntegers()1474 lhs = builder.create<arith::ConstantIndexOp>(loc, lhsInt).getResult(); in multiplyOperandsOrIntegers()1496 int64_t lhsInt = lhs.get<Attribute>().cast<IntegerAttr>().getInt(); in addOperandsOrIntegers() local1499 if (lhsInt == 0) return rhs; in addOperandsOrIntegers()1501 lhs = builder.create<arith::ConstantIndexOp>(loc, lhsInt).getResult(); in addOperandsOrIntegers()
871 if (Optional<loc::ConcreteInt> lhsInt = lhs.getAs<loc::ConcreteInt>()) { in evalBinOpLN() local872 const llvm::APSInt &leftI = lhsInt->getValue(); in evalBinOpLN()
3193 const llvm::APSInt &lhsInt = CS->getLHS()->EvaluateKnownConstInt(Ctx); in shouldAddCase() local3196 if (condInt == lhsInt) { in shouldAddCase()3200 else if (condInt > lhsInt) { in shouldAddCase()