Searched refs:KnownVal (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Analysis/ |
D | CFG.cpp | 1697 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local 1698 if (!KnownVal.isKnown()) in VisitLogicalOperator() 1699 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator() 1700 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 1701 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 1740 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local 1744 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 1745 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 1748 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 1749 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() [all …]
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 2446 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local 2447 if (!KnownVal.isKnown()) in VisitLogicalOperator() 2448 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator() 2456 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 2457 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 2496 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local 2500 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 2501 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 2504 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 2505 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 940 unsigned KnownVal = ValVRegAndVal->Value; in getMemsetValue() local 941 APInt Scalar = APInt(8, KnownVal); in getMemsetValue()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1229 auto KF = [NSW](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1230 KnownBits Result = KnownBits::shl(KnownVal, KnownAmt); in computeKnownBitsFromOperator() 1234 if (KnownVal.Zero.isSignBitSet()) in computeKnownBitsFromOperator() 1236 if (KnownVal.One.isSignBitSet()) in computeKnownBitsFromOperator() 1246 auto KF = [](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1247 return KnownBits::lshr(KnownVal, KnownAmt); in computeKnownBitsFromOperator() 1254 auto KF = [](const KnownBits &KnownVal, const KnownBits &KnownAmt) { in computeKnownBitsFromOperator() argument 1255 return KnownBits::ashr(KnownVal, KnownAmt); in computeKnownBitsFromOperator()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 1032 unsigned KnownVal = ValVRegAndVal->Value; in getMemsetValue() local 1033 APInt Scalar = APInt(8, KnownVal); in getMemsetValue()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 10559 Expr::EvalResult KnownVal; in CheckAdditionOperands() local 10562 (!IExp->EvaluateAsInt(KnownVal, Context) || in CheckAdditionOperands() 10563 KnownVal.Val.getInt() != 0))) { in CheckAdditionOperands() 10644 Expr::EvalResult KnownVal; in CheckSubtractionOperands() local 10647 (!RHS.get()->EvaluateAsInt(KnownVal, Context) || in CheckSubtractionOperands() 10648 KnownVal.Val.getInt() != 0))) { in CheckSubtractionOperands()
|