/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCExpr.cpp | 500 MCValue LHSValue, RHSValue; in EvaluateAsRelocatableImpl() local 504 !ABE->getRHS()->EvaluateAsRelocatableImpl(RHSValue, Asm, Layout, in EvaluateAsRelocatableImpl() 510 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in EvaluateAsRelocatableImpl() 517 RHSValue.getSymB(), RHSValue.getSymA(), in EvaluateAsRelocatableImpl() 518 -RHSValue.getConstant(), in EvaluateAsRelocatableImpl() 523 RHSValue.getSymA(), RHSValue.getSymB(), in EvaluateAsRelocatableImpl() 524 RHSValue.getConstant(), in EvaluateAsRelocatableImpl() 532 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in EvaluateAsRelocatableImpl()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 686 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-7.0/llvm/lib/MC/ |
D | MCExpr.cpp | 753 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local 757 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 777 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl() 785 RHSValue.getSymB(), RHSValue.getSymA(), in evaluateAsRelocatableImpl() 786 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl() 790 RHSValue.getSymA(), RHSValue.getSymB(), in evaluateAsRelocatableImpl() 791 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl() 798 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 368 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 2330 int64_t RHSValue, SDLoc dl); 2332 int64_t RHSValue, SDLoc dl); 2334 int64_t RHSValue, SDLoc dl); 2336 int64_t RHSValue, SDLoc dl); 2736 int64_t RHSValue, SDLoc dl) { in get32BitZExtCompare() argument 2740 bool IsRHSZero = RHSValue == 0; in get32BitZExtCompare() 2741 bool IsRHSOne = RHSValue == 1; in get32BitZExtCompare() 2742 bool IsRHSNegOne = RHSValue == -1LL; in get32BitZExtCompare() 2909 int64_t RHSValue, SDLoc dl) { in get32BitSExtCompare() argument 2913 bool IsRHSZero = RHSValue == 0; in get32BitSExtCompare() [all …]
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 3970 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 …]
|
D | ASTContext.cpp | 7799 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/clang/lib/Sema/ |
D | SemaChecking.cpp | 7669 llvm::APSInt RHSValue; in AnalyzeComparison() local 7671 RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison() 7676 DiagnoseOutOfRangeComparison(S, E, RHS, LHS, RHSValue, true); in AnalyzeComparison()
|
D | SemaExpr.cpp | 8037 llvm::APSInt RHSValue; in DiagnoseBadDivideOrRemainderValues() local 8039 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && RHSValue == 0) in DiagnoseBadDivideOrRemainderValues()
|