Searched refs:KnownVal (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 2453 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local 2454 if (!KnownVal.isKnown()) in VisitLogicalOperator() 2455 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator() 2503 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local 2794 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator() 3455 TryResult KnownVal(true); in VisitForStmt() local 3484 KnownVal = tryEvaluateBool(C); in VisitForStmt() 3816 const TryResult& KnownVal = tryEvaluateBool(C); in VisitWhileStmt() local 3977 if (!KnownVal.isFalse()) in VisitDoStmt() 4451 TryResult KnownVal(true); in VisitCXXForRangeStmt() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 4020 Optional<bool> KnownVal; in matchICmpToTrueFalseKnownBits() local 4025 KnownVal = KnownBits::eq(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4028 KnownVal = KnownBits::ne(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4031 KnownVal = KnownBits::sge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4034 KnownVal = KnownBits::sgt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4037 KnownVal = KnownBits::sle(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4040 KnownVal = KnownBits::slt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4043 KnownVal = KnownBits::uge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4046 KnownVal = KnownBits::ugt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4055 if (!KnownVal) in matchICmpToTrueFalseKnownBits() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1242 auto KF = [NSW](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1243 KnownBits Result = KnownBits::shl(KnownVal, KnownAmt); in computeKnownBitsFromOperator() 1247 if (KnownVal.Zero.isSignBitSet()) in computeKnownBitsFromOperator() 1249 if (KnownVal.One.isSignBitSet()) in computeKnownBitsFromOperator() 1263 auto KF = [](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1264 return KnownBits::lshr(KnownVal, KnownAmt); in computeKnownBitsFromOperator() 1275 auto KF = [](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1276 return KnownBits::ashr(KnownVal, KnownAmt); in computeKnownBitsFromOperator()
|
| H A D | InstructionSimplify.cpp | 1310 KnownBits KnownVal = computeKnownBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift() local 1311 KnownBits KnownShl = KnownBits::shl(KnownVal, KnownAmt); in SimplifyShift() 1313 if (KnownVal.Zero.isSignBitSet()) in SimplifyShift() 1315 if (KnownVal.One.isSignBitSet()) in SimplifyShift()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 10748 Expr::EvalResult KnownVal; in CheckAdditionOperands() local 10751 (!IExp->EvaluateAsInt(KnownVal, Context) || in CheckAdditionOperands() 10752 KnownVal.Val.getInt() != 0))) { in CheckAdditionOperands() 10837 Expr::EvalResult KnownVal; in CheckSubtractionOperands() local 10840 (!RHS.get()->EvaluateAsInt(KnownVal, Context) || in CheckSubtractionOperands() 10841 KnownVal.Val.getInt() != 0))) { in CheckSubtractionOperands()
|