reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4435 LLVM_DEBUG(dbgs() << "SROA alloca: " << AI << "\n"); 4439 if (AI.use_empty()) { 4440 AI.eraseFromParent(); 4443 const DataLayout &DL = AI.getModule()->getDataLayout(); 4446 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || 4446 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || 4447 DL.getTypeAllocSize(AI.getAllocatedType()) == 0) 4455 Changed |= AggRewriter.rewrite(AI); 4458 AllocaSlices AS(DL, AI); 4485 Changed |= splitAlloca(AI, AS);