reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/X86/X86WinEHState.cpp
  281   Type *Int8PtrType = Builder.getInt8PtrTy();
  282   Type *Int32Ty = Builder.getInt32Ty();
  283   Type *VoidTy = Builder.getVoidTy();
  287     RegNode = Builder.CreateAlloca(RegNodeTy);
  289     Value *SP = Builder.CreateCall(
  291     Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0));
  291     Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0));
  295     insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState);
  298     Link = Builder.CreateStructGEP(RegNodeTy, RegNode, 1);
  299     linkExceptionRegistration(Builder, Trampoline);
  314     RegNode = Builder.CreateAlloca(RegNodeTy);
  316       EHGuardNode = Builder.CreateAlloca(Int32Ty);
  319     Value *SP = Builder.CreateCall(
  321     Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0));
  321     Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0));
  325     insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState);
  327     Value *LSDA = emitEHLSDA(Builder, F);
  328     LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty);
  333       Value *Val = Builder.CreateLoad(Int32Ty, Cookie, "cookie");
  334       LSDA = Builder.CreateXor(LSDA, Val);
  336     Builder.CreateStore(LSDA, Builder.CreateStructGEP(RegNodeTy, RegNode, 3));
  336     Builder.CreateStore(LSDA, Builder.CreateStructGEP(RegNodeTy, RegNode, 3));
  340       Value *Val = Builder.CreateLoad(Int32Ty, Cookie);
  341       Value *FrameAddr = Builder.CreateCall(
  344               Builder.getInt8PtrTy(
  346           Builder.getInt32(0), "frameaddr");
  347       Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty);
  348       FrameAddrI32 = Builder.CreateXor(FrameAddrI32, Val);
  349       Builder.CreateStore(FrameAddrI32, EHGuardNode);
  353     Link = Builder.CreateStructGEP(RegNodeTy, RegNode, 2);
  354     linkExceptionRegistration(Builder, PersonalityFn);
  371     Builder.SetInsertPoint(T);
  372     unlinkExceptionRegistration(Builder);