Searched refs:RHSInt (Results 1 – 3 of 3) sorted by relevance
1454 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local1456 if (RHSInt->isZero()) in urem()1460 return {LHSInt->urem(*RHSInt)}; in urem()1476 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local1478 if (RHSInt->isZero()) in srem()1482 return {LHSInt->srem(*RHSInt)}; in srem()
13055 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local13059 if (!RHSInt) { in diagnoseXorMisusedAsPow()13065 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()13066 if (!RHSInt) in diagnoseXorMisusedAsPow()13076 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()13084 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()13100 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()
8100 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() local8102 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()8172 ConstantInt::get(LHSI->getOperand(0)->getType(), RHSInt)); in foldFCmpIntToFPConst()