Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp547 Instruction *ParentInst = cast<Instruction>(ParentVal); in prepareExceptionHandlers() local
552 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()