Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFPRange.h167 LLVM_ABI const APFloat *getSingleElement(bool ExcludesNaN = false) const;
173 return getSingleElement(ExcludesNaN) != nullptr;
H A DConstantRange.h257 const APInt *getSingleElement() const { in getSingleElement() function
272 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp222 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
260 if (const APInt *L = getSingleElement()) in icmp()
261 if (const APInt *R = Other.getSingleElement()) in icmp()
370 if (const APInt *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
1051 const APInt *IntMinIsPoison = Ops[1].getSingleElement(); in intrinsic()
1057 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic()
1063 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic()
1183 if (const APInt *C = getSingleElement()) { in multiply()
1190 if (const APInt *C = Other.getSingleElement()) { in multiply()
1454 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem()
[all …]
H A DConstantFPRange.cpp189 Other.getSingleElement(/*ExcludesNaN=*/true)) { in makeAllowedFCmpRegion()
316 const APFloat *ConstantFPRange::getSingleElement(bool ExcludesNaN) const { in getSingleElement() function in ConstantFPRange
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp197 if (const APInt *V = AbsSymRange->getSingleElement()) { in getLDSAbsoluteAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp84 if (const APInt *Fixed = CR.getSingleElement()) { in getVFFromIndVar()
H A DLoadStoreVectorizer.cpp1234 APInt IdxDiff = *IdxDiffRange.getSingleElement(); in getConstantOffsetComplexAddrs()
1634 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth); in getConstantOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h277 return *getConstantRange().getSingleElement(); in asConstantInteger()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp383 *CR.getSingleElement() == Case->getValue()) in processSwitch()
1011 if (const APInt *Elem = DivCR.getSingleElement()) { in processSDiv()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1810 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1845 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
H A DInstructionSimplify.cpp6796 if (const APInt *C = CR.getSingleElement()) in simplifyIntrinsic()
H A DValueTracking.cpp5291 const APInt *ConstVal = ExpRange.getSingleElement(); in computeKnownFPClass()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1054 if (CR.getSingleElement()) in getConstant()
1055 return ConstantInt::get(Ty, *CR.getSingleElement()); in getConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLExtras.h331 decltype(auto) getSingleElement(ContainerTy &&C) {
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h4979 if (auto *C = RangeV.getSingleElement()) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1415 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1417 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2099 if (const APInt *C = CR.getSingleElement()) in getVScale()
3317 if (const APInt *ShAmt = AmtRange->getSingleElement()) in getValidShiftAmount()