Home
last modified time | relevance | path

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

/external/llvm/lib/MC/
DMCExpr.cpp533 MCValue LHSValue, RHSValue; in EvaluateAsRelocatableImpl() local
537 !ABE->getRHS()->EvaluateAsRelocatableImpl(RHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
543 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in EvaluateAsRelocatableImpl()
550 RHSValue.getSymB(), RHSValue.getSymA(), in EvaluateAsRelocatableImpl()
551 -RHSValue.getConstant(), in EvaluateAsRelocatableImpl()
556 RHSValue.getSymA(), RHSValue.getSymB(), in EvaluateAsRelocatableImpl()
557 RHSValue.getConstant(), in EvaluateAsRelocatableImpl()
565 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in EvaluateAsRelocatableImpl()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp363 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
369 APSIntType(RHSValue)); in evalBinOpNN()
371 CompareType.apply(RHSValue); in evalBinOpNN()
375 IntType.apply(RHSValue); in evalBinOpNN()
379 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
471 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
486 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
503 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
517 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
518 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/external/clang/lib/AST/
DExprConstant.cpp4896 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
4902 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in VisitBinaryOperator()
4907 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
4910 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
4935 (!RHSValue.Base && !RHSValue.Offset.isZero())) in VisitBinaryOperator()
4941 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
4942 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator()
4946 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator()
4956 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator()
4959 SubobjectDesignator &RHSDesignator = RHSValue.getLValueDesignator(); in VisitBinaryOperator()
[all …]
DASTContext.cpp6616 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
6619 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
6621 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
6626 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()