/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 | 6271 Expr::EvalResult Result; in EvaluateBuiltinConstantP() 6881 struct EvalResult { struct in __anon9d21f6281711::DataRecursiveIntBinOpEvaluator 6885 EvalResult() : Failed(false) { } in EvalResult() argument 6887 void swap(EvalResult &RHS) { in swap() argument 6896 EvalResult LHSResult; // meaningful only for binary operator expression. 6944 EvalResult PrevResult; in Traverse() 6973 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, 6976 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 6979 void EvaluateExpr(const Expr *E, EvalResult &Result) { in EvaluateExpr() 6985 void process(EvalResult &Result); [all …]
|
D | ASTDiagnostic.cpp | 1392 Expr::EvalResult FromResult, ToResult; in IsEqualExpr()
|
D | Expr.cpp | 2779 EvalResult Result; in isConstantInitializer()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4298 Expr::EvalResult EvalResult; in isNullPointerValueTemplateArgument() local 4300 EvalResult.Diag = &Notes; in isNullPointerValueTemplateArgument() 4301 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument() 4302 EvalResult.HasSideEffects) { in isNullPointerValueTemplateArgument() 4331 if ((EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) || in isNullPointerValueTemplateArgument() 4332 (EvalResult.Val.isMemberPointer() && in isNullPointerValueTemplateArgument() 4333 !EvalResult.Val.getMemberPointerDecl())) { in isNullPointerValueTemplateArgument()
|
D | SemaExpr.cpp | 12172 Expr::EvalResult EvalResult; in VerifyIntegerConstantExpression() local 12174 EvalResult.Diag = &Notes; in VerifyIntegerConstantExpression() 12178 bool Folded = E->EvaluateAsRValue(EvalResult, Context) && in VerifyIntegerConstantExpression() 12179 EvalResult.Val.isInt() && !EvalResult.HasSideEffects; in VerifyIntegerConstantExpression() 12186 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression() 12214 *Result = EvalResult.Val.getInt(); in VerifyIntegerConstantExpression()
|
D | SemaChecking.cpp | 6224 Expr::EvalResult result; in GetExprRange() 7256 Expr::EvalResult result; in CheckImplicitConversion()
|
D | SemaOverload.cpp | 5155 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() 3107 Expr::EvalResult result; in VisitSwitchStmt() 3109 SaveAndRestore<Expr::EvalResult*> save_switchCond(switchCond, in VisitSwitchStmt() 3155 const Expr::EvalResult *switchCond, in shouldAddCase()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3298 Expr::EvalResult EvalResult; in GetAddrOfGlobalTemporary() local 3299 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary() 3300 !EvalResult.hasSideEffects()) in GetAddrOfGlobalTemporary() 3301 Value = &EvalResult.Val; in GetAddrOfGlobalTemporary()
|
D | CGExprConstant.cpp | 1220 Expr::EvalResult Result; in EmitConstantExpr()
|
D | CGExpr.cpp | 1125 Expr::EvalResult result; in tryEmitAsConstant()
|
D | CGBuiltin.cpp | 414 Expr::EvalResult Result; in EmitBuiltinExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 561 struct EvalResult : EvalStatus { struct 576 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const; argument 625 bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;
|