Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1454 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local
1456 if (RHSInt->isZero()) in urem()
1460 return {LHSInt->urem(*RHSInt)}; in urem()
1476 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local
1478 if (RHSInt->isZero()) in srem()
1482 return {LHSInt->srem(*RHSInt)}; in srem()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp13055 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local
13059 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp8100 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() local
8102 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
8172 ConstantInt::get(LHSI->getOperand(0)->getType(), RHSInt)); in foldFCmpIntToFPConst()