Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCExpr.cpp898 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
902 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
922 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
930 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
931 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
935 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
936 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
943 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp2874 const APInt &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2876 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2886 const APFloat &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2888 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2899 const APValue &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2903 RHSValue.getInt(), Result); in handleLogicalOpForVector()
2906 RHSValue.getFloat(), Result); in handleLogicalOpForVector()
2912 const APTy &RHSValue, APInt &Result) { in handleCompareOpForVectorHelper() argument
2917 Result = (LHSValue == RHSValue); in handleCompareOpForVectorHelper()
2920 Result = (LHSValue != RHSValue); in handleCompareOpForVectorHelper()
[all …]
H A DASTContext.cpp9798 QualType RHSValue = RHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
9801 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
9803 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
9809 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp2741 int64_t RHSValue, SDLoc dl);
2743 int64_t RHSValue, SDLoc dl);
2745 int64_t RHSValue, SDLoc dl);
2747 int64_t RHSValue, SDLoc dl);
3148 int64_t RHSValue, SDLoc dl) { in get32BitZExtCompare() argument
3152 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
3153 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
3154 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3321 int64_t RHSValue, SDLoc dl) { in get32BitSExtCompare() argument
3325 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp11524 Optional<llvm::APSInt> RHSValue = RHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
11528 if (RHSValue && LHSValue) in AnalyzeComparison()
11532 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
11534 const bool RhsConstant = (bool)RHSValue; in AnalyzeComparison()
11537 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
H A DSemaExpr.cpp10268 Expr::EvalResult RHSValue; in DiagnoseBadDivideOrRemainderValues() local
10270 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues()
10271 RHSValue.Val.getInt() == 0) in DiagnoseBadDivideOrRemainderValues()