Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp467 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
476 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
478 CompareType.apply(LHSValue); in evalBinOpNN()
482 IntType.apply(LHSValue); in evalBinOpNN()
487 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
516 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
521 if (LHSValue == 0) in evalBinOpNN()
528 if (LHSValue == 0) in evalBinOpNN()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp877 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
879 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
901 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
908 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
913 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
922 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2875 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2887 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
2966 if (!LHSValue.isVector()) { in handleVectorVectorBinOp()
2967 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
10352 APValue LHSValue; in VisitBinaryOperator() local
10363 return Success(LHSValue, E); in VisitBinaryOperator()
12649 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12670 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in EvaluateComparisonBinaryOperator()
12686 if ((LHSValue.Base && LHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
12790 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
[all …]
H A DASTContext.cpp9839 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
9842 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
9845 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
9849 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11798 Optional<llvm::APSInt> LHSValue = LHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
11801 if (RHSValue && LHSValue) in AnalyzeComparison()
11805 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
11810 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()