Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp376 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() local
377 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
378 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst()
387 const Align MaxAlign = std::max(EntryAI->getAlign(), AI.getAlign()); in visitAllocaInst()
388 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
389 if (AI.getType() != EntryAI->getType()) in visitAllocaInst()
390 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst()
391 return replaceInstUsesWith(AI, EntryAI); in visitAllocaInst()