Home
last modified time | relevance | path

Searched refs:getSingleElement (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp158 } 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 …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h219 const APInt *getSingleElement() const { in getSingleElement() function
234 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h280 return *getConstantRange().getSingleElement(); in asConstantInteger()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp523 if (CR.getSingleElement()) in getConstant()
524 return ConstantInt::get(Ctx, *CR.getSingleElement()); in getConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1596 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1633 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3961 if (auto *C = RangeV.getSingleElement())
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1532 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1534 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()