Lines Matching refs:AllocaNo
855 bool PromoteMem2Reg::QueuePhiNode(BasicBlock *BB, unsigned AllocaNo, in QueuePhiNode() argument
858 PHINode *&PN = NewPhiNodes[std::make_pair(BBNumbers[BB], AllocaNo)]; in QueuePhiNode()
866 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
867 Allocas[AllocaNo]->getName() + "." + Twine(Version++), in QueuePhiNode()
870 PhiToAllocaMap[PN] = AllocaNo; in QueuePhiNode()
914 unsigned AllocaNo = PhiToAllocaMap[APN]; in RenamePass() local
917 updateForIncomingValueLocation(APN, IncomingLocs[AllocaNo], in RenamePass()
922 APN->addIncoming(IncomingVals[AllocaNo], Pred); in RenamePass()
925 IncomingVals[AllocaNo] = APN; in RenamePass()
926 for (DbgVariableIntrinsic *DII : AllocaDbgUsers[AllocaNo]) in RenamePass()
982 unsigned AllocaNo = ai->second; in RenamePass() local
983 IncomingVals[AllocaNo] = SI->getOperand(0); in RenamePass()
986 IncomingLocs[AllocaNo] = SI->getDebugLoc(); in RenamePass()