Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp80 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion()
116 if (SMin.isMinSignedValue()) in makeAllowedICmpRegion()
161 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp()
163 getLower().isMinSignedValue() ? CmpInst::ICMP_SLT : CmpInst::ICMP_ULT; in getEquivalentICmp()
166 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
168 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
384 if (isFullSet() || (Lower.sgt(Upper) && !getUpper().isMinSignedValue())) in getSignedMin()
640 if (Upper.isMinSignedValue()) in signExtend()
844 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
DConstants.cpp152 bool Constant::isMinSignedValue() const { in isMinSignedValue() function in Constant
159 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
164 return Splat->isMinSignedValue(); in isMinSignedValue()
170 return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
171 return CV->getElementAsAPInt(0).isMinSignedValue(); in isMinSignedValue()
185 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
196 return !CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
197 return !CV->getElementAsAPInt(0).isMinSignedValue(); in isNotMinSignedValue()
DConstantFold.cpp1150 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1158 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
/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()
DConstantFold.cpp1137 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1145 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h74 bool isMinSignedValue() const;
/external/llvm/include/llvm/IR/
DConstant.h72 bool isMinSignedValue() const;
DConstants.h221 return Val.isMinSignedValue(); in isMinValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h72 bool isMinSignedValue() const;
DConstants.h232 return Val.isMinSignedValue(); in isMinValue()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp73 if (SMax.isMinSignedValue()) in makeICmpRegion()
109 if (SMin.isMinSignedValue()) in makeICmpRegion()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp641 if (IsSigned && C1.isMinSignedValue() && C2.isAllOnesValue()) in isMultiple()
1073 if (RHS->isMinSignedValue()) in visitSDiv()
1284 !Op1Int->isMinSignedValue())) { in commonIRemTransforms()
1365 if (match(Op1, m_Negative(Y)) && !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/include/llvm/ADT/
DAPInt.h344 bool isMinSignedValue() const { in isMinSignedValue() function
374 bool isSignBit() const { return isMinSignedValue(); } in isSignBit()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h442 bool isMinSignedValue() const { in isMinSignedValue() function
472 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/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp3525 if (Min.isMinSignedValue() && Max.isMaxSignedValue()) in getSignedRange()
5514 if ((RA - 1).isMinSignedValue()) { in SimplifyICmpOperands()
5525 if (RA.isMinSignedValue()) goto trivially_true; in SimplifyICmpOperands()
5538 if (RA.isMinSignedValue()) { in SimplifyICmpOperands()
5578 if (RA.isMinSignedValue()) { in SimplifyICmpOperands()
5597 if ((RA - 1).isMinSignedValue()) { in SimplifyICmpOperands()
5603 if (RA.isMinSignedValue()) goto trivially_false; in SimplifyICmpOperands()
5625 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
5633 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h196 return Val.isMinSignedValue(); in isMinValue()
/external/clang/lib/Lex/
DPPExpressions.cpp428 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp3482 !getSignedRange(RHS).getSignedMin().isMinSignedValue(); in getMinusSCEV()
4655 bool IsFullRange = Min.isMinSignedValue() && Max.isMaxSignedValue(); in getRangeForAffineAR()
7374 if ((RA - 1).isMinSignedValue()) { in SimplifyICmpOperands()
7385 if (RA.isMinSignedValue()) goto trivially_true; in SimplifyICmpOperands()
7398 if (RA.isMinSignedValue()) { in SimplifyICmpOperands()
7438 if (RA.isMinSignedValue()) { in SimplifyICmpOperands()
7457 if ((RA - 1).isMinSignedValue()) { in SimplifyICmpOperands()
7463 if (RA.isMinSignedValue()) goto trivially_false; in SimplifyICmpOperands()
7485 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
7493 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp392 if (PtrDelta.isMinSignedValue()) in lookThroughComplexAddresses()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1192 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1200 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()

12