Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCExpr.cpp762 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
764 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
786 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
793 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
798 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
807 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp591 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
600 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
602 CompareType.apply(LHSValue); in evalBinOpNN()
606 IntType.apply(LHSValue); in evalBinOpNN()
611 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
640 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
645 if (LHSValue == 0) in evalBinOpNN()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp9197 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
9208 if (!HasSameBase(LHSValue, RHSValue)) { in EvaluateComparisonBinaryOperator()
9216 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in EvaluateComparisonBinaryOperator()
9224 LHSValue.Base && RHSValue.Base) in EvaluateComparisonBinaryOperator()
9232 if ((LHSValue.Base && LHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
9315 if (!LHSValue.Base.isNull() && IsRelational) { in EvaluateComparisonBinaryOperator()
9316 QualType BaseTy = getType(LHSValue.Base); in EvaluateComparisonBinaryOperator()
9336 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
9366 bool Equal = LHSValue == RHSValue; in EvaluateComparisonBinaryOperator()
9452 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
[all …]
H A DASTContext.cpp8877 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
8880 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
8883 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
8887 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp10229 llvm::APSInt LHSValue; in AnalyzeComparison() local
10232 bool IsLHSIntegralLiteral = LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
10244 const llvm::APSInt &Value = RhsConstant ? RHSValue : LHSValue; in AnalyzeComparison()