Home
last modified time | relevance | path

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

/external/llvm/lib/MC/
DMCExpr.cpp686 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
690 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
696 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
704 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
705 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
709 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
710 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
717 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCExpr.cpp784 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
788 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
808 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
816 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
817 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
821 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
822 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
829 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp368 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
374 APSIntType(RHSValue)); in evalBinOpNN()
376 CompareType.apply(RHSValue); in evalBinOpNN()
380 IntType.apply(RHSValue); in evalBinOpNN()
384 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
480 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
495 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
512 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
526 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
527 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/external/llvm-project/llvm/lib/MC/
DMCExpr.cpp893 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
897 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
917 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
925 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl()
926 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
930 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl()
931 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl()
938 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp602 llvm::APSInt RHSValue = *KnownRHSValue; in evalBinOpNN() local
608 APSIntType(RHSValue)); in evalBinOpNN()
610 CompareType.apply(RHSValue); in evalBinOpNN()
614 IntType.apply(RHSValue); in evalBinOpNN()
618 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
719 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) { in evalBinOpNN() local
734 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
751 return MakeSymIntVal(symIntExpr, op, *RHSValue, resultTy); in evalBinOpNN()
766 if (const llvm::APSInt *RHSValue = getKnownValue(state, rhs)) in evalBinOpNN() local
767 return MakeSymIntVal(Sym, op, *RHSValue, resultTy); in evalBinOpNN()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp2869 const APInt &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2871 bool RHS = (RHSValue != 0); in handleLogicalOpForVector()
2881 const APFloat &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2883 bool RHS = !RHSValue.isZero(); in handleLogicalOpForVector()
2894 const APValue &RHSValue, APInt &Result) { in handleLogicalOpForVector() argument
2898 RHSValue.getInt(), Result); in handleLogicalOpForVector()
2901 RHSValue.getFloat(), Result); in handleLogicalOpForVector()
2907 const APTy &RHSValue, APInt &Result) { in handleCompareOpForVectorHelper() argument
2912 Result = (LHSValue == RHSValue); in handleCompareOpForVectorHelper()
2915 Result = (LHSValue != RHSValue); in handleCompareOpForVectorHelper()
[all …]
DASTContext.cpp9684 QualType RHSValue = RHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
9687 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
9689 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
9695 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2501 int64_t RHSValue, SDLoc dl);
2503 int64_t RHSValue, SDLoc dl);
2505 int64_t RHSValue, SDLoc dl);
2507 int64_t RHSValue, SDLoc dl);
2908 int64_t RHSValue, SDLoc dl) { in get32BitZExtCompare() argument
2912 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
2913 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
2914 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3081 int64_t RHSValue, SDLoc dl) { in get32BitSExtCompare() argument
3085 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2461 int64_t RHSValue, SDLoc dl);
2463 int64_t RHSValue, SDLoc dl);
2465 int64_t RHSValue, SDLoc dl);
2467 int64_t RHSValue, SDLoc dl);
2868 int64_t RHSValue, SDLoc dl) { in get32BitZExtCompare() argument
2872 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare()
2873 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare()
2874 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare()
3041 int64_t RHSValue, SDLoc dl) { in get32BitSExtCompare() argument
3045 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare()
[all …]
/external/clang/lib/AST/
DExprConstant.cpp3970 APValue RHSValue; in HandleFunctionCall() local
3972 RHS, RHSValue)) in HandleFunctionCall()
3975 RHSValue)) in HandleFunctionCall()
7589 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
7595 if (!EvaluatePointer(E->getRHS(), RHSValue, Info) || !LHSOK) in VisitBinaryOperator()
7600 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
7603 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
7606 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
7627 (!RHSValue.Base && !RHSValue.Offset.isZero())) in VisitBinaryOperator()
7633 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
[all …]
DASTContext.cpp7799 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7802 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
7804 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7809 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
7907 QualType RHSValue = RHS->getAs<PipeType>()->getElementType(); in mergeTypes() local
7910 RHSValue = RHSValue.getUnqualifiedType(); in mergeTypes()
7912 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7917 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp11264 Optional<llvm::APSInt> RHSValue = RHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
11268 if (RHSValue && LHSValue) in AnalyzeComparison()
11272 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
11274 const bool RhsConstant = (bool)RHSValue; in AnalyzeComparison()
11277 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
DSemaExpr.cpp10168 Expr::EvalResult RHSValue; in DiagnoseBadDivideOrRemainderValues() local
10170 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues()
10171 RHSValue.Val.getInt() == 0) in DiagnoseBadDivideOrRemainderValues()
/external/clang/lib/Sema/
DSemaChecking.cpp7669 llvm::APSInt RHSValue; in AnalyzeComparison() local
7671 RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison()
7676 DiagnoseOutOfRangeComparison(S, E, RHS, LHS, RHSValue, true); in AnalyzeComparison()
DSemaExpr.cpp8037 llvm::APSInt RHSValue; in DiagnoseBadDivideOrRemainderValues() local
8039 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && RHSValue == 0) in DiagnoseBadDivideOrRemainderValues()