/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 45 EvalResult LHSResult; in evaluate() 55 EvalResult RHSResult; in evaluate() 97 class EvalResult { class in llvm::RuntimeDyldCheckerExprEval 99 EvalResult() : Value(0), ErrorMsg("") {} in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 100 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 101 EvalResult(std::string ErrorMsg) in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 130 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr, in unexpectedToken() 143 return EvalResult(std::move(ErrorMsg)); in unexpectedToken() 146 bool handleError(StringRef Expr, const EvalResult &R) const { in handleError() 185 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() [all …]
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 45 clang::Expr::EvalResult Result; in VisitVarDecl()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6542 Expr::EvalResult Result; in EvaluateBuiltinConstantP() 7160 struct EvalResult { struct in __anona0fd4bf91811::DataRecursiveIntBinOpEvaluator 7164 EvalResult() : Failed(false) { } in EvalResult() argument 7166 void swap(EvalResult &RHS) { in swap() argument 7175 EvalResult LHSResult; // meaningful only for binary operator expression. 7216 EvalResult PrevResult; in Traverse() 7245 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, 7248 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 7251 void EvaluateExpr(const Expr *E, EvalResult &Result) { in EvaluateExpr() 7257 void process(EvalResult &Result); [all …]
|
D | Expr.cpp | 2626 EvalResult Result; in isConstantInitializer()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4339 Expr::EvalResult EvalResult; in isNullPointerValueTemplateArgument() local 4341 EvalResult.Diag = &Notes; in isNullPointerValueTemplateArgument() 4342 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument() 4343 EvalResult.HasSideEffects) { in isNullPointerValueTemplateArgument() 4372 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument() 4373 (EvalResult.Val.isMemberPointer() && in isNullPointerValueTemplateArgument() 4374 !EvalResult.Val.getMemberPointerDecl())) { in isNullPointerValueTemplateArgument()
|
D | SemaExpr.cpp | 12713 Expr::EvalResult EvalResult; in VerifyIntegerConstantExpression() local 12715 EvalResult.Diag = &Notes; in VerifyIntegerConstantExpression() 12719 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression() 12720 EvalResult.Val.isInt() && !EvalResult.HasSideEffects; in VerifyIntegerConstantExpression() 12727 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression() 12755 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression()
|
D | SemaChecking.cpp | 7117 Expr::EvalResult result; in GetExprRange() 8244 Expr::EvalResult result; in CheckImplicitConversion()
|
D | SemaOverload.cpp | 5215 Expr::EvalResult Eval; in CheckConvertedConstantExpression()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 402 Expr::EvalResult *switchCond; 854 bool tryEvaluate(Expr *S, Expr::EvalResult &outResult) { in tryEvaluate() 3128 Expr::EvalResult result; in VisitSwitchStmt() 3130 SaveAndRestore<Expr::EvalResult*> save_switchCond(switchCond, in VisitSwitchStmt() 3182 const Expr::EvalResult *switchCond, in shouldAddCase()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3571 Expr::EvalResult EvalResult; in GetAddrOfGlobalTemporary() local 3572 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary() 3573 !EvalResult.hasSideEffects()) in GetAddrOfGlobalTemporary() 3574 Value = &EvalResult.Val; in GetAddrOfGlobalTemporary()
|
D | CGExprConstant.cpp | 1240 Expr::EvalResult Result; in EmitConstantExpr()
|
D | CGExpr.cpp | 1151 Expr::EvalResult result; in tryEmitAsConstant()
|
D | CGBuiltin.cpp | 469 Expr::EvalResult Result; in EmitBuiltinExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 562 struct EvalResult : EvalStatus { struct 577 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const; argument 633 bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3516 Expr::EvalResult ER; in evaluateExpr()
|