Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDSimpleSValBuilder.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()
/NextBSD/contrib/llvm/lib/MC/
HDMCExpr.cpp706 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
708 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
716 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
722 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
727 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
736 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprConstant.cpp6946 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
6948 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator()
6957 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
6960 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
6962 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
6984 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in VisitBinaryOperator()
6991 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
6992 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator()
6996 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator()
7000 if ((LHSValue.Base && LHSValue.Offset.isZero() && in VisitBinaryOperator()
[all …]
HDASTContext.cpp7609 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7612 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
7615 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7618 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaChecking.cpp6596 llvm::APSInt LHSValue; in AnalyzeComparison() local
6598 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
6602 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false); in AnalyzeComparison()