Home
last modified time | relevance | path

Searched refs:RHSValue (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/MC/
DMCExpr.cpp708 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
712 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
718 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
725 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
726 -RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
730 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
731 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
738 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp368 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
374 APSIntType(RHSValue)); in evalBinOpNN()
376 CompareType.apply(RHSValue); in evalBinOpNN()
380 IntType.apply(RHSValue); in evalBinOpNN()
384 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
480 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
495 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
512 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
526 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
527 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/external/clang/lib/AST/
DExprConstant.cpp3835 APValue RHSValue; in HandleFunctionCall() local
3837 RHS, RHSValue)) in HandleFunctionCall()
3840 RHSValue)) in HandleFunctionCall()
7293 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
7299 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in VisitBinaryOperator()
7304 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
7307 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
7310 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
7331 (!RHSValue.Base && !RHSValue.Offset.isZero())) in VisitBinaryOperator()
7337 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
[all …]
DASTContext.cpp7684 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7687 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
7689 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7694 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/external/clang/lib/Sema/
DSemaChecking.cpp6776 llvm::APSInt RHSValue; in AnalyzeComparison() local
6778 RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison()
6783 DiagnoseOutOfRangeComparison(S, E, RHS, LHS, RHSValue, true); in AnalyzeComparison()
DSemaExpr.cpp7601 llvm::APSInt RHSValue; in DiagnoseBadDivideOrRemainderValues() local
7603 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && RHSValue == 0) in DiagnoseBadDivideOrRemainderValues()