Lines Matching refs:Allocas
224 std::vector<AllocaInst *> Allocas; member
271 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMem2Reg()
273 : Allocas(Allocas.begin(), Allocas.end()), DT(DT), in PromoteMem2Reg()
281 Allocas[AllocaIdx] = Allocas.back(); in RemoveFromAllocasList()
282 Allocas.pop_back(); in RemoveFromAllocasList()
521 PointerAllocaValues.resize(Allocas.size()); in run()
522 AllocaDbgDeclares.resize(Allocas.size()); in run()
528 for (unsigned AllocaNum = 0; AllocaNum != Allocas.size(); ++AllocaNum) { in run()
529 AllocaInst *AI = Allocas[AllocaNum]; in run()
591 AllocaLookup[Allocas[AllocaNum]] = AllocaNum; in run()
627 if (Allocas.empty()) in run()
636 RenamePassData::ValVector Values(Allocas.size()); in run()
637 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) in run()
638 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run()
657 for (unsigned i = 0, e = Allocas.size(); i != e; ++i) { in run()
658 Instruction *A = Allocas[i]; in run()
860 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
861 Allocas[AllocaNo]->getName() + "." + Twine(Version++), in QueuePhiNode()
986 void llvm::PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, in PromoteMemToReg() argument
989 if (Allocas.empty()) in PromoteMemToReg()
992 PromoteMem2Reg(Allocas, DT, AST, AC).run(); in PromoteMemToReg()