Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Exn

326     llvm::Value *exn;
327 FreeException(llvm::Value *exn) : exn(exn) {}
329 CGF.Builder.CreateCall(getFreeExceptionFn(CGF), exn)
367 ExceptionSlot = CreateTempAlloca(Int8PtrTy, "exn.slot");
378 return Builder.CreateLoad(getExceptionSlot(), "exn");
516 llvm::Value *exn = CGF.getExceptionFromSlot();
517 CGF.Builder.CreateCall(getUnexpectedFn(CGF), exn)
894 llvm::Value *Exn,
896 llvm::CallInst *Call = CGF.Builder.CreateCall(getBeginCatchFn(CGF), Exn);
910 llvm::Value *Exn
923 llvm::Value *AdjustedExn = CallBeginCatch(CGF, Exn, EndCatchMightThrow);
935 // Exn points to the struct _Unwind_Exception header, which
939 AdjustedExn = CGF.Builder.CreateConstGEP1_32(Exn, HeaderSize);
944 // the language/ABI contract here: we can't use Exn because it
961 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp");
971 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.byref");
980 llvm::Value *AdjustedExn = CallBeginCatch(CGF, Exn, false);
986 CGF.Builder.CreateBitCast(AdjustedExn, LLVMCatchTy, "exn.casted");
1002 llvm::Value *ExnLoad = CGF.Builder.CreateLoad(Cast, "exn.scalar");
1017 llvm::Value *rawAdjustedExn = CallBeginCatch(CGF, Exn, true);
1026 CGF.Builder.CreateCall(getGetExceptionPtrFn(CGF), Exn);
1054 CallBeginCatch(CGF, Exn, true);
1085 llvm::Value *Exn = CGF.getExceptionFromSlot();
1086 CallBeginCatch(CGF, Exn, true);
1381 SavedExnVar = CGF.CreateTempAlloca(CGF.Int8PtrTy, "finally.exn");
1429 llvm::Value *exn = 0;
1433 exn = CGF.getExceptionFromSlot();
1434 CGF.Builder.CreateCall(BeginCatchFn, exn)->setDoesNotThrow();
1439 if (!exn) exn = CGF.getExceptionFromSlot();
1440 CGF.Builder.CreateStore(exn, SavedExnVar);
1524 llvm::Value *Exn = getExceptionFromSlot();
1531 Builder.CreateCall(getUnwindResumeOrRethrowFn(), Exn)
1538 llvm::Value *Exn = getExceptionFromSlot();
1541 llvm::Type *LPadType = llvm::StructType::get(Exn->getType(),
1544 LPadVal = Builder.CreateInsertValue(LPadVal, Exn, 0, "lpad.val");
1555 Builder.CreateCall(getUnwindResumeFn(), Exn)