Searched refs:getSingleElement (Results 1 – 17 of 17) sorted by relevance
167 LLVM_ABI const APFloat *getSingleElement(bool ExcludesNaN = false) const;173 return getSingleElement(ExcludesNaN) != nullptr;
257 const APInt *getSingleElement() const { in getSingleElement() function272 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
222 } 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 …]
189 Other.getSingleElement(/*ExcludesNaN=*/true)) { in makeAllowedFCmpRegion()316 const APFloat *ConstantFPRange::getSingleElement(bool ExcludesNaN) const { in getSingleElement() function in ConstantFPRange
197 if (const APInt *V = AbsSymRange->getSingleElement()) { in getLDSAbsoluteAddress()
84 if (const APInt *Fixed = CR.getSingleElement()) { in getVFFromIndVar()
1234 APInt IdxDiff = *IdxDiffRange.getSingleElement(); in getConstantOffsetComplexAddrs()1634 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth); in getConstantOffset()
277 return *getConstantRange().getSingleElement(); in asConstantInteger()
383 *CR.getSingleElement() == Case->getValue()) in processSwitch()1011 if (const APInt *Elem = DivCR.getSingleElement()) { in processSDiv()
1810 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()1845 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
6796 if (const APInt *C = CR.getSingleElement()) in simplifyIntrinsic()
5291 const APInt *ConstVal = ExpRange.getSingleElement(); in computeKnownFPClass()
1054 if (CR.getSingleElement()) in getConstant()1055 return ConstantInt::get(Ty, *CR.getSingleElement()); in getConstant()
331 decltype(auto) getSingleElement(ContainerTy &&C) {
4979 if (auto *C = RangeV.getSingleElement()) {
1415 if (const APInt *EqC = Intersection.getSingleElement()) in foldICmpWithDominatingICmp()1417 if (const APInt *NeC = Difference.getSingleElement()) in foldICmpWithDominatingICmp()
2099 if (const APInt *C = CR.getSingleElement()) in getVScale()3317 if (const APInt *ShAmt = AmtRange->getSingleElement()) in getValidShiftAmount()