Home
last modified time | relevance | path

Searched refs:LHSValue (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp365 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
374 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
376 CompareType.apply(LHSValue); in evalBinOpNN()
380 IntType.apply(LHSValue); in evalBinOpNN()
385 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
414 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
419 if (LHSValue == 0) in evalBinOpNN()
/external/llvm/lib/MC/
DMCExpr.cpp556 MCValue LHSValue, RHSValue; in EvaluateAsRelocatableImpl() local
558 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
566 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in EvaluateAsRelocatableImpl()
572 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
578 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
588 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in EvaluateAsRelocatableImpl()
/external/clang/lib/AST/
DExprConstant.cpp4924 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
4926 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator()
4935 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
4938 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
4940 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
4962 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in VisitBinaryOperator()
4969 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
4970 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator()
4974 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator()
4983 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator()
[all …]
DASTContext.cpp7014 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7017 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
7020 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7023 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/external/clang/lib/Sema/
DSemaChecking.cpp4546 llvm::APSInt LHSValue; in AnalyzeComparison() local
4548 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
4552 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false); in AnalyzeComparison()