Home
last modified time | relevance | path

Searched refs:EvalResult (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp45 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/
DEvaluateAsRValueTest.cpp45 clang::Expr::EvalResult Result; in VisitVarDecl()
/external/clang/lib/AST/
DExprConstant.cpp6542 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 …]
DExpr.cpp2626 EvalResult Result; in isConstantInitializer()
/external/clang/lib/Sema/
DSemaTemplate.cpp4339 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()
DSemaExpr.cpp12713 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()
DSemaChecking.cpp7117 Expr::EvalResult result; in GetExprRange()
8244 Expr::EvalResult result; in CheckImplicitConversion()
DSemaOverload.cpp5215 Expr::EvalResult Eval; in CheckConvertedConstantExpression()
/external/clang/lib/Analysis/
DCFG.cpp402 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/
DCodeGenModule.cpp3571 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()
DCGExprConstant.cpp1240 Expr::EvalResult Result; in EmitConstantExpr()
DCGExpr.cpp1151 Expr::EvalResult result; in tryEmitAsConstant()
DCGBuiltin.cpp469 Expr::EvalResult Result; in EmitBuiltinExpr()
/external/clang/include/clang/AST/
DExpr.h562 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/
DCIndex.cpp3516 Expr::EvalResult ER; in evaluateExpr()