Searched refs:getSingleElement (Results 1 – 7 of 7) sorted by relevance
158 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()896 const APInt *IntMinIsPoison = Ops[1].getSingleElement(); in intrinsic()1224 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem()1229 if (const APInt *LHSInt = getSingleElement()) in urem()1246 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem()1251 if (const APInt *LHSInt = getSingleElement()) in srem()1304 return {*getSingleElement() & *Other.getSingleElement()}; in binaryAnd()1319 return {*getSingleElement() | *Other.getSingleElement()}; in binaryOr()1333 return {*getSingleElement() ^ *Other.getSingleElement()}; in binaryXor()1336 if (Other.isSingleElement() && Other.getSingleElement()->isAllOnesValue()) in binaryXor()[all …]
219 const APInt *getSingleElement() const { in getSingleElement() function234 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
280 return *getConstantRange().getSingleElement(); in asConstantInteger()
523 if (CR.getSingleElement()) in getConstant()524 return ConstantInt::get(Ctx, *CR.getSingleElement()); in getConstant()
1596 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()1633 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
3961 if (auto *C = RangeV.getSingleElement())
1532 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()1534 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()