Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCExpr.cpp881 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
885 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
905 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
913 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
914 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
918 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
919 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
926 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp515 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
521 APSIntType(RHSValue)); in evalBinOpNN()
523 CompareType.apply(RHSValue); in evalBinOpNN()
527 IntType.apply(RHSValue); in evalBinOpNN()
531 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
634 if (const llvm::APSInt *RHSValue = getConstValue(state, rhs)) { in evalBinOpNN() local
649 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
676 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
681 if (const llvm::APSInt *RHSValue = getConstValue(state, rhs)) in evalBinOpNN() local
682 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp2888 const APInt &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2890 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2900 const APFloat &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2902 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2913 const APValue &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2917 RHSValue.getInt(), Result); in handleLogicalOpForVector()
2920 RHSValue.getFloat(), Result); in handleLogicalOpForVector()
2926 const APTy &RHSValue, APInt &Result) { in handleCompareOpForVectorHelper() argument
2931 Result = (LHSValue == RHSValue); in handleCompareOpForVectorHelper()
2934 Result = (LHSValue != RHSValue); in handleCompareOpForVectorHelper()
[all …]
H A DASTContext.cpp10608 QualType RHSValue = RHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
10611 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
10613 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
10619 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp2759 int64_t RHSValue, SDLoc dl);
2761 int64_t RHSValue, SDLoc dl);
2763 int64_t RHSValue, SDLoc dl);
2765 int64_t RHSValue, SDLoc dl);
3166 int64_t RHSValue, SDLoc dl) { in get32BitZExtCompare() argument
3170 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
3171 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
3172 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3339 int64_t RHSValue, SDLoc dl) { in get32BitSExtCompare() argument
3343 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp43 if (auto *RHSValue = in evaluateBooleanEquality() local
45 return Env.makeIff(*LHSValue, *RHSValue); in evaluateBooleanEquality()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp13159 std::optional<llvm::APSInt> RHSValue = in AnalyzeComparison() local
13165 if (RHSValue && LHSValue) in AnalyzeComparison()
13169 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
13171 const bool RhsConstant = (bool)RHSValue; in AnalyzeComparison()
13174 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
H A DSemaExpr.cpp11042 Expr::EvalResult RHSValue; in DiagnoseBadDivideOrRemainderValues() local
11044 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues()
11045 RHSValue.Val.getInt() == 0) in DiagnoseBadDivideOrRemainderValues()