Lines Matching refs:hasOneUse
100 if (!AI.hasOneUse() && CastElTyAlign == AllocElTyAlign) return nullptr; in PromoteCastOfAllocation()
110 if (!AI.hasOneUse() && CastElTyStoreSize < AllocElTyStoreSize) return nullptr; in PromoteCastOfAllocation()
148 if (!AI.hasOneUse()) { in PromoteCastOfAllocation()
350 if (!I->hasOneUse()) return false; in canEvaluateTruncated()
443 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) in foldVecTruncToExtElt()
524 if (Src->hasOneUse() && in visitTrunc()
550 if (Src->hasOneUse() && in visitTrunc()
552 cast<Instruction>(Src)->getOperand(0)->hasOneUse()) { in visitTrunc()
567 if (Src->hasOneUse() && isa<IntegerType>(SrcTy) && in visitTrunc()
740 if (!I->hasOneUse()) return false; in canEvaluateZExtd()
835 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitZExt()
929 if (LHS && RHS && LHS->hasOneUse() && RHS->hasOneUse() && in visitZExt()
956 if (SrcI && SrcI->hasOneUse() && in visitZExt()
958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
997 if (ICI->hasOneUse() && in transformSExtICmp()
1076 if (!I->hasOneUse()) return false; in canEvaluateSExtd()
1120 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitSExt()
1172 if (TI->hasOneUse() && TI->getOperand(0)->getType() == DestTy) { in visitSExt()
1267 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1693 if (!V->hasOneUse()) return false; in collectInsertionElements()
1776 if (!ExtElt || !ExtElt->hasOneUse()) in canonicalizeBitCastExtElt()
1894 if (SVI->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()