Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp388 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() local
389 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
390 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst()
399 const Align MaxAlign = std::max(EntryAI->getAlign(), AI.getAlign()); in visitAllocaInst()
400 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
401 if (AI.getType() != EntryAI->getType()) in visitAllocaInst()
402 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst()
403 return replaceInstUsesWith(AI, EntryAI); in visitAllocaInst()