Home
last modified time | relevance | path

Searched refs:isMinValue (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp50 return C->isMinValue(true); in isIdempotentRMW()
54 return C->isMinValue(false); in isIdempotentRMW()
92 return C->isMinValue(true); in isSaturating()
96 return C->isMinValue(false); in isSaturating()
H A DInstCombineMulDivRem.cpp1078 return Remainder.isMinValue(); in isMultiple()
2141 if (match(Op1, m_APInt(Op1Int)) && !Op1Int->isMinValue() && in commonIRemTransforms()
H A DInstCombineCompares.cpp3088 if (Lower.isMinValue()) in foldICmpAddConstant()
3090 if (Upper.isMinValue()) in foldICmpAddConstant()
6796 return WillIncrement ? !C->isMaxValue(IsSigned) : !C->isMinValue(IsSigned); in getFlippedStrictnessPredicateAndConstant()
H A DInstCombineSelect.cpp1681 if (CmpC->isMinValue() && match(TVal, m_SpecificInt(*CmpC + 1))) in foldSelectInstWithICmpConst()
H A DInstCombineAndOrXor.cpp63 if (isSigned ? Lo.isMinSignedValue() : Lo.isMinValue()) { in insertRangeTest()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp55 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange()
114 if (UMax.isMinValue()) in makeAllowedICmpRegion()
217 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
221 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
418 return Lower == Upper && Lower.isMinValue(); in isEmptySet()
H A DConstants.cpp172 return CI->isMinValue(/*isSigned=*/true); in isMinSignedValue()
189 return !CI->isMinValue(/*isSigned=*/true); in isNotMinSignedValue()
H A DVerifier.cpp4154 Check(LowV != HighV || LowV.isMaxValue() || LowV.isMinValue(), in verifyRangeMetadata()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h141 bool isMin() const { return V.isMinValue(); } in isMin()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h237 bool isMinValue(bool IsSigned) const { in isMinValue() function
241 return Val.isMinValue(); in isMinValue()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp62 .isMinValue()) in isDereferenceableAndAlignedPointer()
H A DScalarEvolution.cpp3892 bool IsMinV = LHSC->getValue()->isMinValue(IsSigned); in getMinMaxExpr()
10746 assert(!RA.isMinValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()
10816 } else if (!getUnsignedRangeMin(LHS).isMinValue()) { in SimplifyICmpOperands()
10823 if (!getUnsignedRangeMin(RHS).isMinValue()) { in SimplifyICmpOperands()
12107 if (LDiff->isMinValue()) in isImpliedCondOperandsViaNoOverflow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp917 if (MaxDiff.isMinValue() || !all_of(drop_begin(CurrentChecks), OffsetOK)) in combineRangeChecks()
H A DReassociate.cpp1616 if (CI->isNegative() && !CI->isMinValue(true)) { in OptimizeAdd()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h397 bool isMinValue() const { return isZero(); } in isMinValue() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1681 bool isMinSignedValue() const { return Value->isMinValue(true); }
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp945 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in emitSwitchCase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2937 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in visitSwitchCase()
10389 if (!Lo.isMinValue()) in lowerRangeToAssertZExt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9861 if (Value.isMinValue()) return Min; in compare()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp46479 if (CC == X86::COND_AE && !Comparison.isMinValue()) { in combineSetCCAtomicArith()