Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantRange.cpp158 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
896 const APInt *IntMinIsPoison = Ops[1].getSingleElement(); in intrinsic()
1286 return {*getSingleElement() & *Other.getSingleElement()}; in binaryAnd()
1301 return {*getSingleElement() | *Other.getSingleElement()}; in binaryOr()
1315 return {*getSingleElement() ^ *Other.getSingleElement()}; in binaryXor()
1318 if (Other.isSingleElement() && Other.getSingleElement()->isAllOnesValue()) in binaryXor()
1320 if (isSingleElement() && getSingleElement()->isAllOnesValue()) in binaryXor()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstantRange.h219 const APInt *getSingleElement() const { in getSingleElement() function
234 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueLattice.h280 return *getConstantRange().getSingleElement(); in asConstantInteger()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp512 if (CR.getSingleElement()) in getConstant()
513 return ConstantInt::get(Ctx, *CR.getSingleElement()); in getConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1577 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1614 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3545 if (auto *C = RangeV.getSingleElement())
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1509 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1511 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()