Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4460 Constant *RHSInt = LHSUnsigned in FoldFCmp_IntToFP_Cst() local
4465 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC in FoldFCmp_IntToFP_Cst()
4466 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC; in FoldFCmp_IntToFP_Cst()
4533 return new ICmpInst(Pred, LHSI->getOperand(0), RHSInt); in FoldFCmp_IntToFP_Cst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5846 Constant *RHSInt = LHSUnsigned in foldFCmpIntToFPConst() local
5851 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC in foldFCmpIntToFPConst()
5852 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC; in foldFCmpIntToFPConst()
5919 return new ICmpInst(Pred, LHSI->getOperand(0), RHSInt); in foldFCmpIntToFPConst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5978 Constant *RHSInt = LHSUnsigned in foldFCmpIntToFPConst() local
5983 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC in foldFCmpIntToFPConst()
5984 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC; in foldFCmpIntToFPConst()
6051 return new ICmpInst(Pred, LHSI->getOperand(0), RHSInt); in foldFCmpIntToFPConst()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp12101 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local
12105 if (!RHSInt) { in diagnoseXorMisusedAsPow()
12111 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()
12112 if (!RHSInt) in diagnoseXorMisusedAsPow()
12122 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()
12130 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()
12146 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()