Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCExpr.cpp762 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
766 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
786 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
794 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
795 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
799 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
800 RHSValue.getConstant(), Res); 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.cpp595 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
601 APSIntType(RHSValue)); in evalBinOpNN()
603 CompareType.apply(RHSValue); in evalBinOpNN()
607 IntType.apply(RHSValue); in evalBinOpNN()
611 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
707 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
722 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
739 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
754 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
755 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp2867 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
2868 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
2869 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3040 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
3041 bool IsRHSOne = RHSValue == 1; in get32BitSExtCompare()
3042 bool IsRHSNegOne = RHSValue == -1LL; in get32BitSExtCompare()
3212 bool IsRHSZero = RHSValue == 0; in get64BitZExtCompare()
3213 bool IsRHSOne = RHSValue == 1; in get64BitZExtCompare()
3214 bool IsRHSNegOne = RHSValue == -1LL; in get64BitZExtCompare()
3369 bool IsRHSZero = RHSValue == 0; in get64BitSExtCompare()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp4461 APValue RHSValue; in HandleFunctionCall() local
4466 RHSValue)) in HandleFunctionCall()
9197 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
9208 if (!HasSameBase(LHSValue, RHSValue)) { in EvaluateComparisonBinaryOperator()
9217 (!RHSValue.Base && !RHSValue.Offset.isZero())) in EvaluateComparisonBinaryOperator()
9224 LHSValue.Base && RHSValue.Base) in EvaluateComparisonBinaryOperator()
9234 (RHSValue.Base && RHSValue.Offset.isZero() && 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.cpp8878 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
8881 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
8883 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
8889 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp10228 llvm::APSInt RHSValue; in AnalyzeComparison() local
10231 bool IsRHSIntegralLiteral = RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison()
10244 const llvm::APSInt &Value = RhsConstant ? RHSValue : LHSValue; in AnalyzeComparison()
H A DSemaExpr.cpp8906 Expr::EvalResult RHSValue; in DiagnoseBadDivideOrRemainderValues() local
8908 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues()
8909 RHSValue.Val.getInt() == 0) in DiagnoseBadDivideOrRemainderValues()