reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
190 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); 191 if (!ATy || AI->isArrayAllocation()) 204 unsigned Align1 = AI->getAlignment(), 209 if (AvailableAlloca->getParent() != AI->getParent()) 219 LLVM_DEBUG(dbgs() << " ***MERGED ALLOCA: " << *AI 224 if (auto *L = LocalAsMetadata::getIfExists(AI)) 225 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) 230 AI->replaceAllUsesWith(AvailableAlloca); 235 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType()); 242 AvailableAlloca->setAlignment(MaybeAlign(AI->getAlignment())); 245 AI->eraseFromParent(); 261 AllocasForType.push_back(AI); 262 UsedAllocas.insert(AI);