Searched refs:LHSResult (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 67 EvalResult LHSResult; in evaluate() local 68 std::tie(LHSResult, RemainingExpr) = in evaluate() 70 if (LHSResult.hasError()) in evaluate() 71 return handleError(Expr, LHSResult); in evaluate() 85 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate() 87 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate() 207 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() argument 213 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult() 215 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult() 217 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 13223 EvalResult LHSResult; // meaningful only for binary operator expression. member 13289 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, 13292 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, 13314 VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, in VisitBinOpLHSOnly() argument 13318 if (LHSResult.Failed) in VisitBinOpLHSOnly() 13325 if (!LHSResult.Failed && HandleConversionToBool(LHSResult.Val, LHSAsBool)) { in VisitBinOpLHSOnly() 13329 Success(LHSAsBool, E, LHSResult.Val); in VisitBinOpLHSOnly() 13333 LHSResult.Failed = true; in VisitBinOpLHSOnly() 13352 if (LHSResult.Failed && !Info.noteFailure()) in VisitBinOpLHSOnly() 13372 VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, in VisitBinOp() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 8334 ExprResult LHSResult = CheckPlaceholderExpr(LHS.get()); in CheckConditionalOperands() local 8335 if (!LHSResult.isUsable()) return QualType(); in CheckConditionalOperands() 8336 LHS = LHSResult; in CheckConditionalOperands() 8712 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp() local 8719 if (!LHSResult.isUsable()) in ActOnConditionalOp() 8727 LHSExpr = LHSResult.get(); in ActOnConditionalOp() 11169 Expr::EvalResult LHSResult; in DiagnoseBadShiftValues() local 11172 !LHS.get()->EvaluateAsInt(LHSResult, S.Context)) in DiagnoseBadShiftValues() 11174 llvm::APSInt Left = LHSResult.Val.getInt(); in DiagnoseBadShiftValues() 12975 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 1275 Expr::EvalResult LHSResult; in tryEvaluateBool() local 1276 if (Bop->getLHS()->EvaluateAsInt(LHSResult, *Context)) { in tryEvaluateBool() 1277 llvm::APSInt IntVal = LHSResult.Val.getInt(); in tryEvaluateBool()
|