Searched refs:RHSVal (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 29 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local 32 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI() 67 if (I->getOperand(1) != RHSVal) RHSVal = 0; in FoldPHIArgBinOpIntoPHI() 74 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI() 90 if (RHSVal == 0) { in FoldPHIArgBinOpIntoPHI() 95 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 115 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI() 122 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineSimplifyDemanded.cpp | 530 const APInt &RHSVal = RHS->getValue(); in SimplifyDemandedUseBits() local 531 APInt CarryBits((~LHSKnownZero + RHSVal) ^ (~LHSKnownZero ^ RHSVal)); in SimplifyDemandedUseBits() 537 KnownOne = ((LHSKnownZero & RHSVal) | in SimplifyDemandedUseBits() 538 (LHSKnownOne & ~RHSVal)) & ~CarryBits; in SimplifyDemandedUseBits() 542 KnownZero = LHSKnownZero & ~RHSVal & ~CarryBits; in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 117 const APInt &RHSVal = CI->getValue(); in visitAdd() local 121 if (XorRHS->getValue() == -RHSVal) { in visitAdd() 122 if (RHSVal.isPowerOf2()) in visitAdd() 123 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdempotentOperationChecker.cpp | 149 SVal RHSVal = state->getSVal(RHS); in checkPreStmt() local 152 if (LHSVal.isUnknownOrUndef() || RHSVal.isUnknownOrUndef()) { in checkPreStmt() 221 if (LHSVal != RHSVal || LHSContainsFalsePositive in checkPreStmt() 240 if (!RHSVal.isConstant(1) || RHSContainsFalsePositive) in checkPreStmt() 284 if (!RHSVal.isConstant(0) || RHSContainsFalsePositive) in checkPreStmt()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 211 SourceLocation DotDotDotLoc, Expr *RHSVal, in ActOnCaseStmt() argument 223 if (RHSVal && !RHSVal->isTypeDependent() && !RHSVal->isValueDependent() && in ActOnCaseStmt() 224 VerifyIntegerConstantExpression(RHSVal)) { in ActOnCaseStmt() 225 RHSVal = 0; // Recover by just forgetting about it. in ActOnCaseStmt() 233 CaseStmt *CS = new (Context) CaseStmt(LHSVal, RHSVal, CaseLoc, DotDotDotLoc, in ActOnCaseStmt()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1505 APValue RHSVal; in VisitBinaryOperator() local 1506 if (!EvaluateIntegerOrLValue(E->getRHS(), RHSVal, Info)) in VisitBinaryOperator() 1510 if (E->isAdditiveOp() && Result.isLValue() && RHSVal.isInt()) { in VisitBinaryOperator() 1513 RHSVal.getInt().getZExtValue()); in VisitBinaryOperator() 1524 RHSVal.isLValue() && Result.isInt()) { in VisitBinaryOperator() 1525 CharUnits Offset = RHSVal.getLValueOffset(); in VisitBinaryOperator() 1527 Result = APValue(RHSVal.getLValueBase(), Offset); in VisitBinaryOperator() 1532 if (!Result.isInt() || !RHSVal.isInt()) in VisitBinaryOperator() 1535 APSInt& RHS = RHSVal.getInt(); in VisitBinaryOperator()
|
/external/llvm/utils/TableGen/ |
D | Record.cpp | 148 int64_t RHSVal = RHSi->getValue(); in convertValue() local 150 if (canFitInBitfield(MHSVal, Size) && canFitInBitfield(RHSVal, Size)) { in convertValue() 156 new IntInit((RHSVal & (1LL << i)) ? 1 : 0), in convertValue()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 5240 SDValue RHSVal = getMemCmpLoad(RHS, LoadVT, LoadTy, *this); in visitMemCmpCall() local 5242 SDValue Res = DAG.getSetCC(getCurDebugLoc(), MVT::i1, LHSVal, RHSVal, in visitMemCmpCall()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1991 SourceLocation DotDotDotLoc, Expr *RHSVal,
|