Searched refs:RHSInt (Results 1 – 3 of 3) sorted by relevance
1436 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local1438 if (RHSInt->isZero()) in urem()1442 return {LHSInt->urem(*RHSInt)}; in urem()1458 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local1460 if (RHSInt->isZero()) in srem()1464 return {LHSInt->srem(*RHSInt)}; in srem()
12699 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local12703 if (!RHSInt) { in diagnoseXorMisusedAsPow()12709 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()12710 if (!RHSInt) in diagnoseXorMisusedAsPow()12720 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()12728 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()12744 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()
7764 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() local7766 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()7835 ConstantInt::get(LHSI->getOperand(0)->getType(), RHSInt)); in foldFCmpIntToFPConst()