Searched refs:getSingleElement (Results 1 – 5 of 5) sorted by relevance
156 const APInt *getSingleElement() const { in getSingleElement() function171 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
169 return *getConstantRange().getSingleElement(); in asConstantInteger()
153 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()210 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()235 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
1564 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()1601 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
1426 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()1428 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()