Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp510 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
519 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
521 CompareType.apply(LHSValue); in evalBinOpNN()
525 IntType.apply(LHSValue); in evalBinOpNN()
530 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
559 if (LHSValue.isAllOnes() && LHSValue.isSigned()) in evalBinOpNN()
564 if (LHSValue == 0) in evalBinOpNN()
571 if (LHSValue == 0) in evalBinOpNN()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCExpr.cpp881 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
883 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
905 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
912 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
917 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
926 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp2887 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2899 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
2983 if (!LHSValue.isVector()) { in handleVectorVectorBinOp()
2984 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
10493 APValue LHSValue; in VisitBinaryOperator() local
10504 return Success(LHSValue, E); in VisitBinaryOperator()
12877 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12898 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in EvaluateComparisonBinaryOperator()
12914 if ((LHSValue.Base && LHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
13018 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
[all …]
H A DASTContext.cpp10476 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
10479 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
10482 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
10486 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp40 if (auto *LHSValue = in evaluateBooleanEquality() local
44 return Env.makeIff(*LHSValue, *RHSValue); in evaluateBooleanEquality()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp12837 Optional<llvm::APSInt> LHSValue = LHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
12840 if (RHSValue && LHSValue) in AnalyzeComparison()
12844 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
12849 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()