Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1358 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local
1360 if (RHSInt->isZero()) in urem()
1364 return {LHSInt->urem(*RHSInt)}; in urem()
1380 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local
1382 if (RHSInt->isZero()) in srem()
1386 return {LHSInt->srem(*RHSInt)}; in srem()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp13727 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local
13731 if (!RHSInt) { in diagnoseXorMisusedAsPow()
13737 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()
13738 if (!RHSInt) in diagnoseXorMisusedAsPow()
13748 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()
13756 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()
13772 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7395 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() local
7397 RHS.convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
7465 return new ICmpInst(Pred, LHSI->getOperand(0), Builder.getInt(RHSInt)); in foldFCmpIntToFPConst()