Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp211 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
330 if (const APInt *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
986 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic()
1112 if (const APInt *C = getSingleElement()) { in multiply()
1119 if (const APInt *C = Other.getSingleElement()) { in multiply()
1358 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem()
1363 if (const APInt *LHSInt = getSingleElement()) in urem()
1380 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem()
1385 if (const APInt *LHSInt = getSingleElement()) in srem()
1462 return {*getSingleElement() ^ *Other.getSingleElement()}; in binaryXor()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h246 const APInt *getSingleElement() const { in getSingleElement() function
261 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp191 if (const APInt *V = AbsSymRange->getSingleElement()) { in getLDSAbsoluteAddress()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h279 return *getConstantRange().getSingleElement(); in asConstantInteger()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1219 APInt IdxDiff = *IdxDiffRange.getSingleElement(); in getConstantOffsetComplexAddrs()
1507 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth); in getConstantOffset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp910 if (CR.getSingleElement()) in getConstant()
911 return ConstantInt::get(Ty, *CR.getSingleElement()); in getConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1727 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1763 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
H A DInstructionSimplify.cpp6709 if (const APInt *C = CR.getSingleElement()) in simplifyIntrinsic()
H A DValueTracking.cpp4839 const APInt *ConstVal = ExpRange.getSingleElement(); in computeKnownFPClass()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp930 if (const APInt *Elem = DivCR.getSingleElement()) { in processSDiv()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1383 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1385 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h4924 if (auto *C = RangeV.getSingleElement()) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2006 if (const APInt *C = CR.getSingleElement()) in getVScale()