Searched refs:LHSValue (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 364 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()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 708 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local 710 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 718 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl() 724 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl() 729 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl() 738 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7293 LValue LHSValue, RHSValue; in VisitBinaryOperator() local 7295 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator() 7304 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator() 7307 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator() 7309 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator() 7330 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in VisitBinaryOperator() 7337 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator() 7338 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator() 7342 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator() 7346 if ((LHSValue.Base && LHSValue.Offset.isZero() && in VisitBinaryOperator() [all …]
|
D | ASTContext.cpp | 7683 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local 7686 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes() 7689 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes() 7692 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 6779 llvm::APSInt LHSValue; in AnalyzeComparison() local 6781 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison() 6785 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false); in AnalyzeComparison()
|