Home | History | Annotate | Download | only in IPO

Lines Matching refs:AI

173     AllocaInst *AI = IFI.StaticAllocas[AllocaNo];
178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
179 if (ATy == 0 || AI->isArrayAllocation())
194 unsigned Align1 = AI->getAlignment(),
204 if (AvailableAlloca->getParent() != AI->getParent())
212 // Otherwise, we *can* reuse it, RAUW AI into AvailableAlloca and declare
214 DEBUG(dbgs() << " ***MERGED ALLOCA: " << *AI << "\n\t\tINTO: "
217 AI->replaceAllUsesWith(AvailableAlloca);
222 unsigned TypeAlign = TD->getABITypeAlignment(AI->getAllocatedType());
229 AvailableAlloca->setAlignment(AI->getAlignment());
232 AI->eraseFromParent();
248 AllocasForType.push_back(AI);
249 UsedAllocas.insert(AI);