Home
last modified time | relevance | path

Searched refs:EntryAI (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp377 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() local
378 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
379 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst()
388 const Align MaxAlign = std::max(EntryAI->getAlign(), AI.getAlign()); in visitAllocaInst()
389 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
390 if (AI.getType() != EntryAI->getType()) in visitAllocaInst()
391 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst()
392 return replaceInstUsesWith(AI, EntryAI); in visitAllocaInst()