Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp48 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange()
69 if (UMax.isMinValue()) in makeAllowedICmpRegion()
105 if (UMin.isMinValue()) in makeAllowedICmpRegion()
137 return Lower == Upper && Lower.isMinValue(); in isEmptySet()
713 if (umax.isMinValue()) in binaryOr()
DConstants.cpp135 return CI->isMinValue(/*isSigned=*/true); in isMinSignedValue()
157 return !CI->isMinValue(/*isSigned=*/true); in isNotMinSignedValue()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp427 if (RHS.isMinValue()) in IncorporateWeight()
430 if (LHS.isMinValue()) { in IncorporateWeight()
723 if (Weight.isMinValue()) in LinearizeExprTree()
1625 if (CI->isNegative() && !CI->isMinValue(true)) { in OptimizeAdd()
1992 if (!CI->isNegative() || CI->isMinValue(true)) in canonicalizeNegConstExpr()
/external/llvm/include/llvm/IR/
DConstants.h193 bool isMinValue(bool isSigned) const { in isMinValue() function
197 return Val.isMinValue(); in isMinValue()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2953 if (cast<SCEVConstant>(Ops[0])->getValue()->isMinValue(true)) { in getSMaxExpr()
3057 if (cast<SCEVConstant>(Ops[0])->getValue()->isMinValue(false)) { in getUMaxExpr()
3997 bool IsFullRange = Min.isMinValue() && Max.isMaxValue(); in getRange()
5276 if (cast<ConstantInt>(Result)->getValue().isMinValue()) { in ComputeLoadConstantCompareExitLimit()
6032 if (TwoA.isMinValue()) { in SolveQuadraticEquation()
6143 if (!CountDown && CR.getUnsignedMin().isMinValue()) in HowFarToZero()
6145 MaxBECount = CR.getUnsignedMax().isMinValue() in HowFarToZero()
6315 if ((RA - 1).isMinValue()) { in SimplifyICmpOperands()
6326 if (RA.isMinValue()) goto trivially_true; in SimplifyICmpOperands()
6339 if (RA.isMinValue()) { in SimplifyICmpOperands()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1655 if (RHSV.isMinValue()) in visitICmpInstWithInstAndIntCst()
1718 if (CR.getLower().isMinValue()) { in visitICmpInstWithInstAndIntCst()
1721 } else if (CR.getUpper().isMinValue()) { in visitICmpInstWithInstAndIntCst()
2806 assert(!CI->isMinValue(false)); // A >=u MIN -> TRUE in visitICmpInst()
2810 assert(!CI->isMinValue(true)); // A >=s MIN -> TRUE in visitICmpInst()
2985 if (CI->isMinValue(true)) in visitICmpInst()
3262 if (!RHSC->isMinValue(/*isSigned=*/true)) in visitICmpInst()
3385 if (!RHSC->isMinValue(/*isSigned=*/true)) in visitICmpInst()
DInstructionCombining.cpp954 if (Scale.isMinValue()) in Descale()
996 if (!Remainder.isMinValue()) in Descale()
DInstCombineSelect.cpp515 && CI->isMinValue(Pred == ICmpInst::ICMP_SLT)) in visitSelectInstWithICmp()
DInstCombineMulDivRem.cpp104 return Remainder.isMinValue(); in IsMultiple()
DInstCombineAndOrXor.cpp311 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) { in InsertRangeTest()
329 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) { in InsertRangeTest()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp312 if (Leaf.Low->isMinValue(true /*isSigned*/)) { in newLeafBlock()
/external/llvm/include/llvm/ADT/
DAPInt.h362 bool isMinValue() const { return !*this; } in isMinValue() function
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1699 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in visitSwitchCase()