Home
last modified time | relevance | path

Searched refs:isMinSignedValue (Results 1 – 25 of 73) sorted by relevance

123

/external/llvm/lib/IR/
DConstantRange.cpp77 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion()
113 if (SMin.isMinSignedValue()) in makeAllowedICmpRegion()
150 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
152 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
155 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
560 if (Upper.isMinSignedValue()) in signExtend()
DConstants.cpp149 bool Constant::isMinSignedValue() const { in isMinSignedValue() function in Constant
156 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
161 return Splat->isMinSignedValue(); in isMinSignedValue()
166 return Splat->isMinSignedValue(); in isMinSignedValue()
178 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp101 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion()
166 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
168 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
171 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
173 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
322 return Lower.sgt(Upper) && !Upper.isMinSignedValue(); in isSignWrappedSet()
709 if (Upper.isMinSignedValue()) in signExtend()
1030 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1145 if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) { in sdiv()
1523 if (IntMinIsPoison && SMin.isMinSignedValue()) { in abs()
[all …]
DConstants.cpp177 bool Constant::isMinSignedValue() const { in isMinSignedValue() function in Constant
184 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
189 return Splat->isMinSignedValue(); in isMinSignedValue()
195 return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
196 return CV->getElementAsAPInt(0).isMinSignedValue(); in isMinSignedValue()
210 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h74 bool isMinSignedValue() const;
/external/llvm/include/llvm/IR/
DConstant.h72 bool isMinSignedValue() const;
/external/llvm-project/llvm/include/llvm/IR/
DConstant.h78 bool isMinSignedValue() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h76 bool isMinSignedValue() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp100 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion()
165 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
167 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
170 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
172 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
321 return Lower.sgt(Upper) && !Upper.isMinSignedValue(); in isSignWrappedSet()
693 if (Upper.isMinSignedValue()) in signExtend()
964 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1079 if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) { in sdiv()
DConstants.cpp177 bool Constant::isMinSignedValue() const { in isMinSignedValue() function in Constant
184 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
189 return Splat->isMinSignedValue(); in isMinSignedValue()
195 return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
196 return CV->getElementAsAPInt(0).isMinSignedValue(); in isMinSignedValue()
210 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h185 return RHS.isMinSignedValue(); in isSignBitCheck()
189 return RHS.isMinSignedValue(); in isSignBitCheck()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp401 (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue()); in negate()
410 return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema); in negate()
DKnownBits.cpp283 if (IntMinIsPoison || (!One.isNullValue() && !One.isMinSignedValue())) in abs()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp102 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue()) in IsMultiple()
1174 if (RHS->isMinSignedValue()) in visitSDiv()
1400 !Op1Int->isMinSignedValue())) { in commonIRemTransforms()
1469 if (match(Op1, m_APInt(Y)) && Y->isNegative() && !Y->isMinSignedValue()) { in visitSRem()
/external/llvm/include/llvm/ADT/
DAPInt.h368 bool isMinSignedValue() const { in isMinSignedValue() function
396 bool isSignBit() const { return isMinSignedValue(); } in isSignBit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp664 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue()) in isMultiple()
1100 if (!Op1C->isMinSignedValue() && in visitSDiv()
1335 !Op1Int->isMinSignedValue())) { in commonIRemTransforms()
1420 if (match(Op1, m_Negative(Y)) && !Y->isMinSignedValue()) { in visitSRem()
DInstCombineInternal.h141 return RHS.isMinSignedValue(); in isSignBitCheck()
145 return RHS.isMinSignedValue(); in isSignBitCheck()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h372 bool isMinSignedValue() const { in isMinSignedValue() function
400 bool isSignBit() const { return isMinSignedValue(); } in isSignBit()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp693 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue()) in isMultiple()
1144 if (!Op1C->isMinSignedValue() && in visitSDiv()
1388 !Op1Int->isMinSignedValue())) { in commonIRemTransforms()
1473 if (match(Op1, m_Negative(Y)) && !Y->isMinSignedValue()) in visitSRem()
/external/llvm-project/llvm/unittests/Support/
DKnownBitsTest.cpp267 if (!N.isMinSignedValue()) { in TEST()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h448 bool isMinSignedValue() const {
478 bool isSignMask() const { return isMinSignedValue(); }
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h447 bool isMinSignedValue() const { in isMinSignedValue() function
477 bool isSignMask() const { return isMinSignedValue(); } in isSignMask()
/external/llvm/unittests/ADT/
DAPIntTest.cpp148 EXPECT_FALSE(zero.isMinSignedValue()); in TEST()
149 EXPECT_TRUE(one.isMinSignedValue()); in TEST()
/external/llvm-project/clang/lib/Lex/
DPPExpressions.cpp461 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue()
/external/clang/lib/Lex/
DPPExpressions.cpp428 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue()

123