Home | History | Annotate | Download | only in VMCore

Lines Matching defs:Exn

426 static void FindExnAndSelIntrinsics(BasicBlock *BB, CallInst *&Exn,
437 assert(!Exn && "Found more than one eh.exception call!");
438 Exn = CI;
446 if (Exn && Sel) return;
450 if (Exn && Sel) return;
453 FindExnAndSelIntrinsics(*I, Exn, Sel, Visited);
454 if (Exn && Sel) return;
543 CallInst *Exn = 0;
545 FindExnAndSelIntrinsics(UnwindDest, Exn, Sel, Visited);
546 assert(Exn && Sel && "Cannot find eh.exception and eh.selector calls!");
547 InvokeToIntrinsicsMap[Inst] = std::make_pair(Exn, Sel);
562 CallInst *Exn = cast<CallInst>(EHIntrinsics.first);
570 ExnSlot = new AllocaInst(ExnTy, "exn", Entry->getTerminator());
610 DeadInsts.insert(Exn);
620 CallInst *Exn = cast<CallInst>(EHIntrinsics.first);
622 BasicBlock *Parent = Exn->getParent();
627 Builder.SetInsertPoint(Parent, Exn);
628 LoadInst *LPExn = Builder.CreateLoad(ExnSelSlots.first, "exn.load");
631 Exn->replaceAllUsesWith(LPExn);