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.cpp6271 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 …]
DASTDiagnostic.cpp1392 Expr::EvalResult FromResult, ToResult; in IsEqualExpr()
DExpr.cpp2779 EvalResult Result; in isConstantInitializer()
/external/clang/lib/Sema/
DSemaTemplate.cpp4298 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()
DSemaExpr.cpp12172 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()
DSemaChecking.cpp6224 Expr::EvalResult result; in GetExprRange()
7256 Expr::EvalResult result; in CheckImplicitConversion()
DSemaOverload.cpp5155 Expr::EvalResult Eval; in CheckConvertedConstantExpression()
/external/clang/lib/Analysis/
DCFG.cpp402 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/
DCodeGenModule.cpp3298 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()
DCGExprConstant.cpp1220 Expr::EvalResult Result; in EmitConstantExpr()
DCGExpr.cpp1125 Expr::EvalResult result; in tryEmitAsConstant()
DCGBuiltin.cpp414 Expr::EvalResult Result; in EmitBuiltinExpr()
/external/clang/include/clang/AST/
DExpr.h561 struct EvalResult : EvalStatus { struct
576 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const; argument
625 bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;