Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp364 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
373 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
375 CompareType.apply(LHSValue); in evalBinOpNN()
379 IntType.apply(LHSValue); in evalBinOpNN()
384 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
413 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
418 if (LHSValue == 0) in evalBinOpNN()
/freebsd-9-stable/contrib/llvm/lib/MC/
DMCExpr.cpp680 MCValue LHSValue, RHSValue; in EvaluateAsRelocatableImpl() local
682 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
690 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in EvaluateAsRelocatableImpl()
696 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
702 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
712 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in EvaluateAsRelocatableImpl()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DExprConstant.cpp6632 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
6634 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator()
6643 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
6646 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
6648 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
6670 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in VisitBinaryOperator()
6677 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
6678 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator()
6682 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator()
6691 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator()
[all …]
DASTContext.cpp7277 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7280 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
7283 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7286 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaChecking.cpp4993 llvm::APSInt LHSValue; in AnalyzeComparison() local
4995 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
4999 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false); in AnalyzeComparison()