Searched refs:ParentInst (Results 1 – 1 of 1) sorted by relevance
547 Instruction *ParentInst = cast<Instruction>(ParentVal); in prepareExceptionHandlers() local552 if (ParentInst->getNumUses() == 0) { in prepareExceptionHandlers()553 BasicBlock::iterator InsertPt = ParentInst; in prepareExceptionHandlers()556 new AllocaInst(ParentInst->getType(), nullptr, in prepareExceptionHandlers()557 ParentInst->getName() + ".reg2mem", in prepareExceptionHandlers()559 new StoreInst(ParentInst, ParentAlloca, InsertPt); in prepareExceptionHandlers()561 ParentAlloca = DemoteRegToStack(*ParentInst, true, AllocaInsertPt); in prepareExceptionHandlers()