/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 44 EvalResult LHSResult; in evaluate() 54 EvalResult RHSResult; in evaluate() 96 class EvalResult { class in llvm::RuntimeDyldCheckerExprEval 98 EvalResult() : Value(0), ErrorMsg("") {} in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 99 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 100 EvalResult(std::string ErrorMsg) : Value(0), ErrorMsg(ErrorMsg) {} in EvalResult() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 128 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr, in unexpectedToken() 141 return EvalResult(std::move(ErrorMsg)); in unexpectedToken() 144 bool handleError(StringRef Expr, const EvalResult &R) const { in handleError() 183 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 | 6143 Expr::EvalResult Result; in EvaluateBuiltinConstantP() 6536 struct EvalResult { struct in __anona626307c1311::DataRecursiveIntBinOpEvaluator 6540 EvalResult() : Failed(false) { } in EvalResult() argument 6542 void swap(EvalResult &RHS) { in swap() argument 6551 EvalResult LHSResult; // meaningful only for binary operator expression. 6593 EvalResult PrevResult; in Traverse() 6622 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, 6625 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 6628 void EvaluateExpr(const Expr *E, EvalResult &Result) { in EvaluateExpr() 6634 void process(EvalResult &Result); [all …]
|
D | ASTDiagnostic.cpp | 1330 Expr::EvalResult FromResult, ToResult; in IsEqualExpr()
|
D | Expr.cpp | 2739 EvalResult Result; in isConstantInitializer()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4216 Expr::EvalResult EvalResult; in isNullPointerValueTemplateArgument() local 4218 EvalResult.Diag = &Notes; in isNullPointerValueTemplateArgument() 4219 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument() 4220 EvalResult.HasSideEffects) { in isNullPointerValueTemplateArgument() 4249 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument() 4250 (EvalResult.Val.isMemberPointer() && in isNullPointerValueTemplateArgument() 4251 !EvalResult.Val.getMemberPointerDecl())) { in isNullPointerValueTemplateArgument()
|
D | SemaExpr.cpp | 11841 Expr::EvalResult EvalResult; in VerifyIntegerConstantExpression() local 11843 EvalResult.Diag = &Notes; in VerifyIntegerConstantExpression() 11847 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression() 11848 EvalResult.Val.isInt() && !EvalResult.HasSideEffects; in VerifyIntegerConstantExpression() 11855 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression() 11883 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression()
|
D | SemaChecking.cpp | 5732 Expr::EvalResult result; in GetExprRange() 6662 Expr::EvalResult result; in CheckImplicitConversion()
|
D | SemaOverload.cpp | 5094 Expr::EvalResult Eval; in CheckConvertedConstantExpression()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3058 Expr::EvalResult EvalResult; in GetAddrOfGlobalTemporary() local 3059 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary() 3060 !EvalResult.hasSideEffects()) in GetAddrOfGlobalTemporary() 3061 Value = &EvalResult.Val; in GetAddrOfGlobalTemporary()
|
D | CGExprConstant.cpp | 1050 Expr::EvalResult Result; in EmitConstantExpr()
|
D | CGExpr.cpp | 1009 Expr::EvalResult result; in tryEmitAsConstant()
|
D | CGBuiltin.cpp | 217 Expr::EvalResult Result; in EmitBuiltinExpr()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 331 Expr::EvalResult *switchCond; 806 bool tryEvaluate(Expr *S, Expr::EvalResult &outResult) { in tryEvaluate() 3030 Expr::EvalResult result; in VisitSwitchStmt() 3032 SaveAndRestore<Expr::EvalResult*> save_switchCond(switchCond, in VisitSwitchStmt() 3078 const Expr::EvalResult *switchCond, in shouldAddCase()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 553 struct EvalResult : EvalStatus { struct 568 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const; argument 611 bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;
|