Lines Matching refs:hasOneUse
302 Op0->hasOneUse() && Op1->hasOneUse()) { in SimplifyAssociativeOrCommutative()
484 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) in tryFactorization()
504 if (!V && LHS->hasOneUse() && RHS->hasOneUse()) in tryFactorization()
742 if (!SI->hasOneUse()) return nullptr; in FoldOpIntoSelect()
771 if (CI->hasOneUse()) { in FoldOpIntoSelect()
800 if (!PN->hasOneUse()) { in FoldOpIntoPhi()
995 !Src.hasOneUse()) in shouldMergeGEPs()
1089 if (!Op->hasOneUse()) in Descale()
1098 if (!Op->hasOneUse()) in Descale()
1123 if (Amt < logScale || !Op->hasOneUse()) in Descale()
1134 if (!Op->hasOneUse()) in Descale()
1201 assert(Parent.first->hasOneUse() && "Drilled down when more than one use!"); in Descale()
1239 assert(Ancestor->hasOneUse() && "Drilled down when more than one use!"); in Descale()
1451 if (DI != -1 && !PN->hasOneUse()) in visitGetElementPtrInst()
2108 BI.getCondition()->hasOneUse()) in visitBranchInst()
2124 BI.getCondition()->hasOneUse()) in visitBranchInst()
2267 if (II->hasOneUse()) { in visitExtractValueInst()
2318 if (L->isSimple() && L->hasOneUse()) { in visitExtractValueInst()
2692 assert(I->hasOneUse() && "Invariants didn't hold!"); in TryToSinkInstruction()
2777 if (I->hasOneUse()) { in run()