Searched refs:AvailableAlloca (Results 1 – 3 of 3) sorted by relevance
159 for (AllocaInst *AvailableAlloca : AllocasForType) { in InlineCallIfPossible()162 Align2 = AvailableAlloca->getAlignment(); in InlineCallIfPossible()166 if (AvailableAlloca->getParent() != AI->getParent()) in InlineCallIfPossible()171 if (!UsedAllocas.insert(AvailableAlloca).second) in InlineCallIfPossible()177 << *AvailableAlloca << '\n'); in InlineCallIfPossible()185 DDI->moveBefore(AvailableAlloca->getNextNode()); in InlineCallIfPossible()187 AI->replaceAllUsesWith(AvailableAlloca); in InlineCallIfPossible()199 AvailableAlloca->setAlignment(AI->getAlignment()); in InlineCallIfPossible()
156 AllocaInst *AvailableAlloca = AllocasForType[i]; in InlineCallIfPossible() local160 if (AvailableAlloca->getParent() != AI->getParent()) in InlineCallIfPossible()165 if (!UsedAllocas.insert(AvailableAlloca)) in InlineCallIfPossible()171 << *AvailableAlloca << '\n'); in InlineCallIfPossible()173 AI->replaceAllUsesWith(AvailableAlloca); in InlineCallIfPossible()
195 for (AllocaInst *AvailableAlloca : AllocasForType) { in mergeInlinedArrayAllocas()197 Align2 = AvailableAlloca->getAlignment(); in mergeInlinedArrayAllocas()201 if (AvailableAlloca->getParent() != AI->getParent()) in mergeInlinedArrayAllocas()206 if (!UsedAllocas.insert(AvailableAlloca).second) in mergeInlinedArrayAllocas()212 << "\n\t\tINTO: " << *AvailableAlloca << '\n'); in mergeInlinedArrayAllocas()220 DDI->moveBefore(AvailableAlloca->getNextNode()); in mergeInlinedArrayAllocas()222 AI->replaceAllUsesWith(AvailableAlloca); in mergeInlinedArrayAllocas()234 AvailableAlloca->setAlignment(AI->getAlignment()); in mergeInlinedArrayAllocas()