Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp499 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() local
500 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
501 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst()
510 const Align MaxAlign = std::max(EntryAI->getAlign(), AI.getAlign()); in visitAllocaInst()
511 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
512 return replaceInstUsesWith(AI, EntryAI); in visitAllocaInst()