Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp211 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
249 if (const APInt *L = getSingleElement()) in icmp()
250 if (const APInt *R = Other.getSingleElement()) in icmp()
359 if (const APInt *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
1038 const APInt *IntMinIsPoison = Ops[1].getSingleElement(); in intrinsic()
1044 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic()
1050 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic()
1170 if (const APInt *C = getSingleElement()) { in multiply()
1177 if (const APInt *C = Other.getSingleElement()) { in multiply()
1436 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h251 const APInt *getSingleElement() const { in getSingleElement() function
266 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp190 if (const APInt *V = AbsSymRange->getSingleElement()) { in getLDSAbsoluteAddress()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h279 return *getConstantRange().getSingleElement(); in asConstantInteger()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1218 APInt IdxDiff = *IdxDiffRange.getSingleElement(); in getConstantOffsetComplexAddrs()
1506 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth); in getConstantOffset()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1736 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1771 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
H A DInstructionSimplify.cpp6770 if (const APInt *C = CR.getSingleElement()) in simplifyIntrinsic()
H A DValueTracking.cpp5451 const APInt *ConstVal = ExpRange.getSingleElement(); in computeKnownFPClass()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp954 if (CR.getSingleElement()) in getConstant()
955 return ConstantInt::get(Ty, *CR.getSingleElement()); in getConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp991 if (const APInt *Elem = DivCR.getSingleElement()) { in processSDiv()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1379 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()
1381 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h4917 if (auto *C = RangeV.getSingleElement()) {
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2042 if (const APInt *C = CR.getSingleElement()) in getVScale()
3070 if (const APInt *ShAmt = AmtRange->getSingleElement()) in getValidShiftAmount()