Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstantRange.h156 const APInt *getSingleElement() const { in getSingleElement() function
171 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DValueLattice.h169 return *getConstantRange().getSingleElement(); in asConstantInteger()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp153 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
210 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
235 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1564 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1601 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1426 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1428 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()