/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 56 EvalResult RHSResult; in evaluate() local 57 std::tie(RHSResult, RemainingExpr) = in evaluate() 59 if (RHSResult.hasError()) in evaluate() 60 return handleError(Expr, RHSResult); in evaluate() 64 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate() 67 << " != " << format("0x%" PRIx64, RHSResult.getValue()) in evaluate() 187 const EvalResult &RHSResult) const { in computeBinOpResult() 192 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult() 194 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult() 196 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 55 EvalResult RHSResult; in evaluate() local 56 std::tie(RHSResult, RemainingExpr) = in evaluate() 58 if (RHSResult.hasError()) in evaluate() 59 return handleError(Expr, RHSResult); in evaluate() 63 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate() 66 << " != " << format("0x%" PRIx64, RHSResult.getValue()) in evaluate() 186 const EvalResult &RHSResult) const { in computeBinOpResult() 191 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult() 193 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult() 195 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 55 EvalResult RHSResult; in evaluate() local 56 std::tie(RHSResult, RemainingExpr) = in evaluate() 58 if (RHSResult.hasError()) in evaluate() 59 return handleError(Expr, RHSResult); in evaluate() 63 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate() 66 << " != " << format("0x%" PRIx64, RHSResult.getValue()) in evaluate() 186 const EvalResult &RHSResult) const { in computeBinOpResult() 191 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult() 193 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult() 195 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult() [all …]
|
/external/llvm-project/llvm/lib/TableGen/ |
D | TGParser.cpp | 2315 Init *RHSResult = ParseValue(CurRec, ItemType, ParseValueMode); in ParseValue() 2316 if (!RHSResult) in ParseValue() 2318 Result = BinOpInit::getListConcat(LHS, RHSResult); in ParseValue() 2354 Init *RHSResult = ParseValue(CurRec, nullptr, ParseNameMode); in ParseValue() 2355 if (!RHSResult) in ParseValue() 2357 RHS = dyn_cast<TypedInit>(RHSResult); in ParseValue()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7248 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 7315 VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, in VisitBinOp() argument 7318 if (RHSResult.Failed) in VisitBinOp() 7320 Result = RHSResult.Val; in VisitBinOp() 7327 bool RHSIsOK = HandleConversionToBool(RHSResult.Val, rhsResult); in VisitBinOp() 7351 if (LHSResult.Failed || RHSResult.Failed) in VisitBinOp() 7355 const APValue &RHSVal = RHSResult.Val; in VisitBinOp() 9579 ICEDiag RHSResult = CheckICE(Exp->getRHS(), Ctx); in CheckICE() local 9584 if (LHSResult.Kind == IK_ICE && RHSResult.Kind == IK_ICE) { in CheckICE() 9599 if (LHSResult.Kind == IK_ICE && RHSResult.Kind == IK_ICE) in CheckICE() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 2243 Init *RHSResult = ParseValue(CurRec, ItemType, ParseNameMode); in ParseValue() 2244 Result = BinOpInit::getListConcat(LHS, RHSResult); in ParseValue() 2279 Init *RHSResult = ParseValue(CurRec, nullptr, ParseNameMode); in ParseValue() 2280 RHS = dyn_cast<TypedInit>(RHSResult); in ParseValue()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 12232 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 12312 VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, in VisitBinOp() argument 12315 if (RHSResult.Failed) in VisitBinOp() 12317 Result = RHSResult.Val; in VisitBinOp() 12324 bool RHSIsOK = HandleConversionToBool(RHSResult.Val, rhsResult); in VisitBinOp() 12348 if (LHSResult.Failed || RHSResult.Failed) in VisitBinOp() 12352 const APValue &RHSVal = RHSResult.Val; in VisitBinOp() 15297 ICEDiag RHSResult = CheckICE(Exp->getRHS(), Ctx); in CheckICE() local 15302 if (LHSResult.Kind == IK_ICE && RHSResult.Kind == IK_ICE) { in CheckICE() 15317 if (LHSResult.Kind == IK_ICE && RHSResult.Kind == IK_ICE) in CheckICE() [all …]
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 1563 Init *RHSResult = ParseValue(CurRec, ItemType, ParseNameMode); in ParseValue() 1564 RHS = dyn_cast<TypedInit>(RHSResult); in ParseValue()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 8124 ExprResult RHSResult = CheckPlaceholderExpr(RHS.get()); in CheckConditionalOperands() local 8125 if (!RHSResult.isUsable()) return QualType(); in CheckConditionalOperands() 8126 RHS = RHSResult; in CheckConditionalOperands() 8621 ExprResult RHSResult = CorrectDelayedTyposInExpr(RHSExpr); in ActOnConditionalOp() local 8631 if (!RHSResult.isUsable()) in ActOnConditionalOp() 8636 RHSExpr = RHSResult.get(); in ActOnConditionalOp() 10725 Expr::EvalResult RHSResult; in DiagnoseBadShiftValues() local 10727 !RHS.get()->EvaluateAsInt(RHSResult, S.Context)) in DiagnoseBadShiftValues() 10729 llvm::APSInt Right = RHSResult.Val.getInt(); in DiagnoseBadShiftValues() 12329 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands() local [all …]
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 6621 ExprResult RHSResult = CheckPlaceholderExpr(RHS.get()); in CheckConditionalOperands() local 6622 if (!RHSResult.isUsable()) return QualType(); in CheckConditionalOperands() 6623 RHS = RHSResult; in CheckConditionalOperands() 7017 ExprResult RHSResult = CorrectDelayedTyposInExpr(RHSExpr); in ActOnConditionalOp() local 7027 if (!RHSResult.isUsable()) in ActOnConditionalOp() 7032 RHSExpr = RHSResult.get(); in ActOnConditionalOp() 9538 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands() local 9539 QualType compType = UsualArithmeticConversions(LHSResult, RHSResult, in CheckBitwiseOperands() 9541 if (LHSResult.isInvalid() || RHSResult.isInvalid()) in CheckBitwiseOperands() 9544 RHS = RHSResult.get(); in CheckBitwiseOperands()
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 1210 Expr::EvalResult RHSResult; in tryEvaluateBool() local 1211 if (Bop->getRHS()->EvaluateAsInt(RHSResult, *Context)) { in tryEvaluateBool() 1212 llvm::APSInt IntVal = RHSResult.Val.getInt(); in tryEvaluateBool()
|