Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp251 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() local
252 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
253 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst()
260 if (EntryAI->getAlignment() == 0) in visitAllocaInst()
261 EntryAI->setAlignment( in visitAllocaInst()
262 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
266 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst()
268 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
269 if (AI.getType() != EntryAI->getType()) in visitAllocaInst()
270 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst()
[all …]