Searched refs:SMax (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Support/
H A DConstantRange.cpp73 APInt SMax(CR.getSignedMax());
74 if (SMax.isMinSignedValue())
76 return ConstantRange(APInt::getSignedMinValue(W), SMax);
85 APInt SMax(CR.getSignedMax());
86 if (SMax.isMaxSignedValue())
88 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1);
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp783 ConstantInt *SMax = ConstantInt::get(X->getContext(), local
793 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI));
804 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C));
3092 APFloat SMax(RHS.getSemantics());
3093 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true,
3095 if (SMax.compare(RHS) == APFloat::cmpLessThan) { // smax < 13123.0
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp2424 // Find the first SMax
2428 // Check to see if one of the operands is an SMax. If so, expand its operands
2432 while (const SCEVSMaxExpr *SMax = dyn_cast<SCEVSMaxExpr>(Ops[Idx])) {
2434 Ops.append(SMax->op_begin(), SMax->op_end());
3343 if (const SCEVSMaxExpr *SMax = dyn_cast<SCEVSMaxExpr>(S)) {
3344 ConstantRange X = getUnsignedRange(SMax->getOperand(0));
3345 for (unsigned i = 1, e = SMax->getNumOperands(); i != e; ++i)
3346 X = X.smax(getUnsignedRange(SMax->getOperand(i)));
3347 return setUnsignedRange(SMax, ConservativeResul
[all...]

Completed in 62 milliseconds