Lines Matching defs:Exn
364 llvm::Value *exn;
365 FreeException(llvm::Value *exn) : exn(exn) {}
367 CGF.EmitNounwindRuntimeCall(getFreeExceptionFn(CGF.CGM), exn);
404 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot");
415 return Builder.CreateLoad(getExceptionSlot(), "exn");
550 llvm::Value *exn = CGF.getExceptionFromSlot();
551 CGF.EmitRuntimeCall(getUnexpectedFn(CGF.CGM), exn)
934 llvm::Value *Exn,
937 CGF.EmitNounwindRuntimeCall(getBeginCatchFn(CGF.CGM), Exn);
950 llvm::Value *Exn = CGF.getExceptionFromSlot();
963 llvm::Value *AdjustedExn = CallBeginCatch(CGF, Exn, EndCatchMightThrow);
975 // Exn points to the struct _Unwind_Exception header, which
979 AdjustedExn = CGF.Builder.CreateConstGEP1_32(Exn, HeaderSize);
984 // the language/ABI contract here: we can't use Exn because it
1001 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp");
1011 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.byref");
1019 llvm::Value *AdjustedExn = CallBeginCatch(CGF, Exn, false);
1025 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.casted");
1077 llvm::Value *rawAdjustedExn = CallBeginCatch(CGF, Exn, true);
1086 CGF.EmitNounwindRuntimeCall(getGetExceptionPtrFn(CGF.CGM), Exn);
1115 CallBeginCatch(CGF, Exn, true);
1146 llvm::Value *Exn = CGF.getExceptionFromSlot();
1147 CallBeginCatch(CGF, Exn, true);
1441 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finally.exn");
1489 llvm::Value *exn = 0;
1493 exn = CGF.getExceptionFromSlot();
1494 CGF.EmitNounwindRuntimeCall(BeginCatchFn, exn);
1499 if (!exn) exn = CGF.getExceptionFromSlot();
1500 CGF.Builder.CreateStore(exn, SavedExnVar);
1529 /// void @__clang_call_terminate(i8* %exn) nounwind noreturn
1558 llvm::Value *exn = &*fn->arg_begin();
1560 // Call __cxa_begin_catch(exn).
1561 llvm::CallInst *catchCall = builder.CreateCall(getBeginCatchFn(CGM), exn);
1598 llvm::Value *exn = Builder.CreateExtractValue(LPadInst, 0);
1599 terminateCall = EmitNounwindRuntimeCall(getClangCallTerminateFn(CGM), exn);
1625 llvm::Value *exn = getExceptionFromSlot();
1626 terminateCall = EmitNounwindRuntimeCall(getClangCallTerminateFn(CGM), exn);
1671 llvm::Value *Exn = getExceptionFromSlot();
1674 llvm::Type *LPadType = llvm::StructType::get(Exn->getType(),
1677 LPadVal = Builder.CreateInsertValue(LPadVal, Exn, 0, "lpad.val");