Home
last modified time | relevance | path

Searched refs:KnownVal (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp2278 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local
2279 if (!KnownVal.isKnown()) in VisitLogicalOperator()
2280 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator()
2328 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local
2612 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator()
3222 TryResult KnownVal(true); in VisitForStmt() local
3251 KnownVal = tryEvaluateBool(C); in VisitForStmt()
3583 const TryResult& KnownVal = tryEvaluateBool(C); in VisitWhileStmt() local
3744 if (!KnownVal.isFalse()) in VisitDoStmt()
4213 TryResult KnownVal(true); in VisitCXXForRangeStmt() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp9287 Expr::EvalResult KnownVal; in CheckAdditionOperands() local
9290 (!IExp->EvaluateAsInt(KnownVal, Context) || in CheckAdditionOperands()
9291 KnownVal.Val.getInt() != 0))) { in CheckAdditionOperands()
9366 Expr::EvalResult KnownVal; in CheckSubtractionOperands() local
9369 (!RHS.get()->EvaluateAsInt(KnownVal, Context) || in CheckSubtractionOperands()
9370 KnownVal.Val.getInt() != 0))) { in CheckSubtractionOperands()