Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp877 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
881 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
901 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
909 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
910 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
914 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
915 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
922 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp471 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
477 APSIntType(RHSValue)); in evalBinOpNN()
479 CompareType.apply(RHSValue); in evalBinOpNN()
483 IntType.apply(RHSValue); in evalBinOpNN()
487 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
590 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
605 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
622 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
637 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
638 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2876 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2888 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2923 Result = (LHSValue < RHSValue); in handleCompareOpForVectorHelper()
2926 Result = (LHSValue > RHSValue); in handleCompareOpForVectorHelper()
6096 APValue RHSValue; in HandleFunctionCall() local
10353 APValue RHSValue; in VisitBinaryOperator() local
12649 LValue LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
12671 (!RHSValue.Base && !RHSValue.Offset.isZero())) in EvaluateComparisonBinaryOperator()
12688 (RHSValue.Base && RHSValue.Offset.isZero() && in EvaluateComparisonBinaryOperator()
12790 MemberPtr LHSValue, RHSValue; in EvaluateComparisonBinaryOperator() local
[all …]
H A DASTContext.cpp9840 QualType RHSValue = RHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
9843 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
9845 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
9851 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp3148 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
3149 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
3150 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3321 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
3322 bool IsRHSOne = RHSValue == 1; in get32BitSExtCompare()
3323 bool IsRHSNegOne = RHSValue == -1LL; in get32BitSExtCompare()
3493 bool IsRHSZero = RHSValue == 0; in get64BitZExtCompare()
3494 bool IsRHSOne = RHSValue == 1; in get64BitZExtCompare()
3495 bool IsRHSNegOne = RHSValue == -1LL; in get64BitZExtCompare()
3650 bool IsRHSZero = RHSValue == 0; in get64BitSExtCompare()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11797 Optional<llvm::APSInt> RHSValue = RHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
11801 if (RHSValue && LHSValue) in AnalyzeComparison()
11805 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
11807 const bool RhsConstant = (bool)RHSValue; in AnalyzeComparison()
11810 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
H A DSemaExpr.cpp10332 Expr::EvalResult RHSValue; in DiagnoseBadDivideOrRemainderValues() local
10334 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues()
10335 RHSValue.Val.getInt() == 0) in DiagnoseBadDivideOrRemainderValues()