reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APInt.h
  472   bool isSignMask() const { return isMinSignedValue(); }
include/llvm/IR/Constants.h
  231       return Val.isMinSignedValue();
lib/Analysis/InstructionSimplify.cpp
  973     if (match(X, m_APInt(C)) && !C->isMinSignedValue()) {
  987       if (C->isMinSignedValue())
lib/Analysis/ScalarEvolution.cpp
 4015       !getSignedRangeMin(RHS).isMinSignedValue();
 9001         assert(!RA.isMinSignedValue() && "Should have been caught earlier!");
 9033     } else if (!getSignedRangeMin(LHS).isMinSignedValue()) {
 9041     if (!getSignedRangeMin(RHS).isMinSignedValue()) {
lib/Analysis/ValueTracking.cpp
 3932       return !Numerator->isMinSignedValue();
 4720         C2->isMinSignedValue())
 5532       if (C->isMinSignedValue()) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 3249   if (IsSigned && N1C && !N1C->getAPIntValue().isMinSignedValue()) {
 3645   if (N1C && N1C->getAPIntValue().isMinSignedValue())
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 5144     HadIntMinDivisor |= D.isMinSignedValue();
 5155     if (!D.isMinSignedValue()) {
 5178     if (!D.isMinSignedValue()) {
 7186       bool UseArithShift = isSigned && !C.isMinSignedValue();
lib/IR/ConstantFold.cpp
 1237         if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
 1245         if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
lib/IR/ConstantRange.cpp
  100     if (SMax.isMinSignedValue())
  165   } else if (getLower().isMinSignedValue() || getLower().isMinValue()) {
  167         getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT;
  170   } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) {
  172         getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE;
  321   return Lower.sgt(Upper) && !Upper.isMinSignedValue();
  693   if (Upper.isMinSignedValue())
  956       (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue()))
 1071     if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) {
lib/IR/Constants.cpp
  159     return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
  170         return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue();
  171       return CV->getElementAsAPInt(0).isMinSignedValue();
  185     return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
lib/Support/APInt.cpp
 1959   Overflow = isMinSignedValue() && RHS.isAllOnesValue();
lib/Target/X86/X86ISelLowering.cpp
20786     if (ConstValue.isMinSignedValue())
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  922       C2->isMinSignedValue() && C2->sext(Ty->getScalarSizeInBits()) == *C)
 1902         !DivC->isMinSignedValue() && *DivC != 1) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  175   if (isSigned ? Lo.isMinSignedValue() : Lo.isMinValue()) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2063       assert(!C.isMinSignedValue() && "Unexpected icmp slt");
 2207       if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() &&
 5469     if (Pred == ICmpInst::ICMP_ULT && C->isMinSignedValue()) {
lib/Transforms/InstCombine/InstCombineInternal.h
  141     return RHS.isMinSignedValue();
  145     return RHS.isMinSignedValue();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  664   if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue())
 1100     if (!Op1C->isMinSignedValue() &&
 1327              !Op1Int->isMinSignedValue())) {
 1410     if (match(Op1, m_Negative(Y)) && !Y->isMinSignedValue()) {
lib/Transforms/InstCombine/InstructionCombining.cpp
  628             if (!CInt->isMinSignedValue())
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2447                 C->getValue().isMinSignedValue())
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  424     if (PtrDelta.isMinSignedValue())
tools/clang/lib/AST/ExprConstant.cpp
 1758   if (Int.isUnsigned() || Int.isMinSignedValue()) {
 2513         LHS.isSigned() && LHS.isMinSignedValue())
12038     if (Value.isSigned() && Value.isMinSignedValue() && E->canOverflow() &&
14084             if (LEval.isMinSignedValue())
tools/clang/lib/Basic/FixedPoint.cpp
  207           (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue());
  216     return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema);
tools/clang/lib/Lex/PPExpressions.cpp
  441     bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue();
tools/clang/lib/Sema/SemaChecking.cpp
11182           !IntegerValue.isMinSignedValue()) {
tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  201     const llvm::APSInt &newTo = (from.isMinSignedValue() ?
  205         newRanges.begin()->From().isMinSignedValue()) {
  206       assert(newRanges.begin()->To().isMinSignedValue() &&
  208       assert(!from.isMinSignedValue() && "Ranges should not overlap");
  212     } else if (!to.isMinSignedValue()) {
  216     if (from.isMinSignedValue()) {
unittests/ADT/APIntTest.cpp
  242   EXPECT_FALSE(zero.isMinSignedValue());
  243   EXPECT_TRUE(one.isMinSignedValue());
unittests/IR/ConstantRangeTest.cpp
 1093         if (N1.isMinSignedValue() && N2.isAllOnesValue())