Home
last modified time | relevance | path

Searched refs:LHSResult (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp46 EvalResult LHSResult; in evaluate() local
47 std::tie(LHSResult, RemainingExpr) = in evaluate()
49 if (LHSResult.hasError()) in evaluate()
50 return handleError(Expr, LHSResult); in evaluate()
64 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate()
66 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate()
186 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() argument
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/
DRuntimeDyldChecker.cpp45 EvalResult LHSResult; in evaluate() local
46 std::tie(LHSResult, RemainingExpr) = in evaluate()
48 if (LHSResult.hasError()) in evaluate()
49 return handleError(Expr, LHSResult); in evaluate()
63 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate()
65 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate()
185 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() argument
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/
DRuntimeDyldChecker.cpp45 EvalResult LHSResult; in evaluate() local
46 std::tie(LHSResult, RemainingExpr) = in evaluate()
48 if (LHSResult.hasError()) in evaluate()
49 return handleError(Expr, LHSResult); in evaluate()
63 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate()
65 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate()
185 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() argument
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/clang/lib/AST/
DExprConstant.cpp7175 EvalResult LHSResult; // meaningful only for binary operator expression. member
7180 : E(J.E), LHSResult(J.LHSResult), Kind(J.Kind), in Job()
7245 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E,
7248 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult,
7270 VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, in VisitBinOpLHSOnly() argument
7274 if (LHSResult.Failed) in VisitBinOpLHSOnly()
7281 if (!LHSResult.Failed && HandleConversionToBool(LHSResult.Val, LHSAsBool)) { in VisitBinOpLHSOnly()
7285 Success(LHSAsBool, E, LHSResult.Val); in VisitBinOpLHSOnly()
7289 LHSResult.Failed = true; in VisitBinOpLHSOnly()
7308 if (LHSResult.Failed && !Info.noteFailure()) in VisitBinOpLHSOnly()
[all …]
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp12163 EvalResult LHSResult; // meaningful only for binary operator expression. member
12229 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E,
12232 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult,
12254 VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, in VisitBinOpLHSOnly() argument
12258 if (LHSResult.Failed) in VisitBinOpLHSOnly()
12265 if (!LHSResult.Failed && HandleConversionToBool(LHSResult.Val, LHSAsBool)) { in VisitBinOpLHSOnly()
12269 Success(LHSAsBool, E, LHSResult.Val); in VisitBinOpLHSOnly()
12273 LHSResult.Failed = true; in VisitBinOpLHSOnly()
12292 if (LHSResult.Failed && !Info.noteFailure()) in VisitBinOpLHSOnly()
12312 VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, in VisitBinOp() argument
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp8120 ExprResult LHSResult = CheckPlaceholderExpr(LHS.get()); in CheckConditionalOperands() local
8121 if (!LHSResult.isUsable()) return QualType(); in CheckConditionalOperands()
8122 LHS = LHSResult; in CheckConditionalOperands()
8620 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp() local
8627 if (!LHSResult.isUsable()) in ActOnConditionalOp()
8635 LHSExpr = LHSResult.get(); in ActOnConditionalOp()
10764 Expr::EvalResult LHSResult; in DiagnoseBadShiftValues() local
10767 !LHS.get()->EvaluateAsInt(LHSResult, S.Context)) in DiagnoseBadShiftValues()
10769 llvm::APSInt Left = LHSResult.Val.getInt(); in DiagnoseBadShiftValues()
12329 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands() local
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp6617 ExprResult LHSResult = CheckPlaceholderExpr(LHS.get()); in CheckConditionalOperands() local
6618 if (!LHSResult.isUsable()) return QualType(); in CheckConditionalOperands()
6619 LHS = LHSResult; in CheckConditionalOperands()
7016 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp() local
7023 if (!LHSResult.isUsable()) in ActOnConditionalOp()
7031 LHSExpr = LHSResult.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()
9543 LHS = LHSResult.get(); in CheckBitwiseOperands()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp1203 Expr::EvalResult LHSResult; in tryEvaluateBool() local
1204 if (Bop->getLHS()->EvaluateAsInt(LHSResult, *Context)) { in tryEvaluateBool()
1205 llvm::APSInt IntVal = LHSResult.Val.getInt(); in tryEvaluateBool()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...