Searched refs:isMinSignedValue (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h78 bool isMinSignedValue() const;
H A DConstants.h239 return Val.isMinSignedValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp100 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())
966 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue()))
1081 if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) {
H A DConstants.cpp177 bool Constant::isMinSignedValue() const { function in class:Constant
184 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
189 return Splat->isMinSignedValue();
195 return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue();
196 return CV->getElementAsAPInt(0).isMinSignedValue();
210 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
H A DConstantFold.cpp1311 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
1319 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DFixedPoint.cpp343 (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue());
352 return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp729 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue())
1163 if (!Op1C->isMinSignedValue() &&
1392 !Op1Int->isMinSignedValue())) {
1477 if (match(Op1, m_Negative(Y)) && !Y->isMinSignedValue())
H A DInstCombineInternal.h143 return RHS.isMinSignedValue();
147 return RHS.isMinSignedValue();
H A DInstCombineCompares.cpp2086 assert(!C.isMinSignedValue() && "Unexpected icmp slt");
2230 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() &&
5608 if (Pred == ICmpInst::ICMP_ULT && C->isMinSignedValue()) {
H A DInstCombineAddSub.cpp923 C2->isMinSignedValue() && C2->sext(Ty->getScalarSizeInBits()) == *C)
H A DInstCombineAndOrXor.cpp174 if (isSigned ? Lo.isMinSignedValue() : Lo.isMinValue()) {
H A DInstructionCombining.cpp640 if (!CInt->isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h447 bool isMinSignedValue() const { function
477 bool isSignMask() const { return isMinSignedValue(); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp461 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp596 if (Origin.From().isMinSignedValue()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp408 if (PtrDelta.isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp4360 return !Numerator->isMinSignedValue();
5392 C2->isMinSignedValue())
6223 if (C->isMinSignedValue()) {
H A DInstructionSimplify.cpp1014 if (match(X, m_APInt(C)) && !C->isMinSignedValue()) {
1028 if (C->isMinSignedValue())
H A DScalarEvolution.cpp3808 !getSignedRangeMin(RHS).isMinSignedValue();
8867 assert(!RA.isMinSignedValue() && "Should have been caught earlier!");
8899 } else if (!getSignedRangeMin(LHS).isMinSignedValue()) {
8907 if (!getSignedRangeMin(RHS).isMinSignedValue()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5502 HadIntMinDivisor |= D.isMinSignedValue();
5513 if (!D.isMinSignedValue()) {
5536 if (!D.isMinSignedValue()) {
7700 bool UseArithShift = isSigned && !C.isMinSignedValue();
H A DDAGCombiner.cpp3460 if (IsSigned && N1C && !N1C->getAPIntValue().isMinSignedValue()) {
3858 if (N1C && N1C->getAPIntValue().isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1787 if (Int.isUnsigned() || Int.isMinSignedValue()) {
2558 LHS.isSigned() && LHS.isMinSignedValue())
12665 if (Value.isSigned() && Value.isMinSignedValue() && E->canOverflow() &&
14739 if (LEval.isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1982 Overflow = isMinSignedValue() && RHS.isAllOnesValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2440 C->getValue().isMinSignedValue())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp5032 bool UseArithShift = isSigned && !C.isMinSignedValue();

Completed in 493 milliseconds

12