Lines Matching refs:AllocaInst

198   AllocaSlices(const DataLayout &DL, AllocaInst &AI);
258 AllocaInst &AI;
328 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &S)
656 AllocaSlices::AllocaSlices(const DataLayout &DL, AllocaInst &AI)
729 AllocaInst &AI;
737 AllocaInst &AI, DIBuilder &DIB)
861 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16> > Worklist;
876 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16> > PostPromotionWorklist;
879 std::vector<AllocaInst *> PromotableAllocas;
912 bool rewritePartition(AllocaInst &AI, AllocaSlices &S,
916 bool splitAlloca(AllocaInst &AI, AllocaSlices &S);
917 bool runOnAlloca(AllocaInst &AI);
918 void deleteDeadInstructions(SmallPtrSet<AllocaInst *, 4> &DeletedAllocas);
1911 AllocaInst &OldAI, &NewAI;
1951 AllocaInst &OldAI, AllocaInst &NewAI,
2217 if (AllocaInst *AI = dyn_cast<AllocaInst>(V->stripInBoundsOffsets()))
2497 if (AllocaInst *AI
2498 = dyn_cast<AllocaInst>(OtherPtr->stripInBoundsOffsets()))
3051 bool SROA::rewritePartition(AllocaInst &AI, AllocaSlices &S,
3088 AllocaInst *NewAI;
3108 NewAI = new AllocaInst(SliceTy, 0, Alignment,
3219 bool SROA::splitAlloca(AllocaInst &AI, AllocaSlices &S) {
3334 bool SROA::runOnAlloca(AllocaInst &AI) {
3409 void SROA::deleteDeadInstructions(SmallPtrSet<AllocaInst*, 4> &DeletedAllocas) {
3424 if (AllocaInst *AI = dyn_cast<AllocaInst>(I))
3473 AllocaInst *AI = PromotableAllocas[Idx];
3527 typedef SmallPtrSet<AllocaInst *, 4> SetType;
3531 typedef AllocaInst *argument_type;
3534 bool operator()(AllocaInst *AI) const { return Set.count(AI); }
3551 if (AllocaInst *AI = dyn_cast<AllocaInst>(I))
3557 SmallPtrSet<AllocaInst *, 4> DeletedAllocas;