Searched refs:allocaInst (Results 1 – 2 of 2) sorted by relevance
70 if (auto allocaInst = dyn_cast<AllocaInst>(&I)) { in runOnBasicBlock() local72 auto PTy = dyn_cast<PointerType>(allocaInst->getType()); in runOnBasicBlock()75 auto NewASCToLocal = new AddrSpaceCastInst(allocaInst, LocalAddrTy, ""); in runOnBasicBlock()79 NewASCToLocal->insertAfter(allocaInst); in runOnBasicBlock()81 for (Value::use_iterator UI = allocaInst->use_begin(), in runOnBasicBlock()82 UE = allocaInst->use_end(); in runOnBasicBlock()91 if (LI && LI->getPointerOperand() == allocaInst && !LI->isVolatile()) { in runOnBasicBlock()96 if (SI && SI->getPointerOperand() == allocaInst && !SI->isVolatile()) { in runOnBasicBlock()101 if (GI && GI->getPointerOperand() == allocaInst) { in runOnBasicBlock()106 if (BI && BI->getOperand(0) == allocaInst) { in runOnBasicBlock()
50 AllocaInst *allocaInst = dyn_cast<AllocaInst>(BI++); in runOnFunction() local51 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()52 allocaInst->moveBefore(firstTerminatorInst); in runOnFunction()