Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp525 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
534 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
536 CompareType.apply(LHSValue); in evalBinOpNN()
540 IntType.apply(LHSValue); in evalBinOpNN()
545 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
587 if (LHSValue.isAllOnes() && LHSValue.isSigned()) in evalBinOpNN()
592 if (LHSValue == 0) in evalBinOpNN()
599 if (LHSValue == 0) in evalBinOpNN()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp944 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
946 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
970 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
978 Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
986 Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
996 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2930 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2942 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
3026 if (!LHSValue.isVector()) { in handleVectorVectorBinOp()
3027 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
10803 APValue LHSValue; in VisitBinaryOperator() local
10814 return Success(LHSValue, E); in VisitBinaryOperator()
13284 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
13313 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in EvaluateComparisonBinaryOperator()
13331 if (LHSValue.Base && LHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
13450 if (LHSValue.getDecl() && LHSValue.getDecl()->isWeak()) { in EvaluateComparisonBinaryOperator()
[all …]
H A DASTContext.cpp10717 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
10720 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
10723 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
10727 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp55 Value *LHSValue = Env.getValue(LHS); in evaluateBooleanEquality() local
58 if (LHSValue == RHSValue) in evaluateBooleanEquality()
61 if (auto *LHSBool = dyn_cast_or_null<BoolValue>(LHSValue)) in evaluateBooleanEquality()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp14901 std::optional<llvm::APSInt> LHSValue = in AnalyzeComparison() local
14905 if (RHSValue && LHSValue) in AnalyzeComparison()
14909 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
14914 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11086 for (auto &LHSValue : LHSValues) in handleCmp() local
11088 if (!CheckPair(*LHSValue.getValue(), *RHSValue.getValue())) in handleCmp()