Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp849 bool PromoteMem2Reg::QueuePhiNode(BasicBlock *BB, unsigned AllocaNo, in QueuePhiNode() argument
852 PHINode *&PN = NewPhiNodes[std::make_pair(BBNumbers[BB], AllocaNo)]; in QueuePhiNode()
860 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
861 Allocas[AllocaNo]->getName() + "." + Twine(Version++), in QueuePhiNode()
864 PhiToAllocaMap[PN] = AllocaNo; in QueuePhiNode()
867 AST->copyValue(PointerAllocaValues[AllocaNo], PN); in QueuePhiNode()
901 unsigned AllocaNo = PhiToAllocaMap[APN]; in RenamePass() local
905 APN->addIncoming(IncomingVals[AllocaNo], Pred); in RenamePass()
908 IncomingVals[AllocaNo] = APN; in RenamePass()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp191 for (unsigned AllocaNo = 0, e = IFI.StaticAllocas.size(); in InlineCallIfPossible() local
192 AllocaNo != e; ++AllocaNo) { in InlineCallIfPossible()
193 AllocaInst *AI = IFI.StaticAllocas[AllocaNo]; in InlineCallIfPossible()
257 IFI.StaticAllocas[AllocaNo] = nullptr; in InlineCallIfPossible()