Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp44 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/
DEvaluateAsRValueTest.cpp45 clang::Expr::EvalResult Result; in VisitVarDecl()
/external/clang/lib/AST/
DExprConstant.cpp6143 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 …]
DASTDiagnostic.cpp1330 Expr::EvalResult FromResult, ToResult; in IsEqualExpr()
DExpr.cpp2739 EvalResult Result; in isConstantInitializer()
/external/clang/lib/Sema/
DSemaTemplate.cpp4216 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()
DSemaExpr.cpp11841 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()
DSemaChecking.cpp5732 Expr::EvalResult result; in GetExprRange()
6662 Expr::EvalResult result; in CheckImplicitConversion()
DSemaOverload.cpp5094 Expr::EvalResult Eval; in CheckConvertedConstantExpression()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3058 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()
DCGExprConstant.cpp1050 Expr::EvalResult Result; in EmitConstantExpr()
DCGExpr.cpp1009 Expr::EvalResult result; in tryEmitAsConstant()
DCGBuiltin.cpp217 Expr::EvalResult Result; in EmitBuiltinExpr()
/external/clang/lib/Analysis/
DCFG.cpp331 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/
DExpr.h553 struct EvalResult : EvalStatus { struct
568 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const; argument
611 bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;