Lines Matching refs:TheModule
83 Module *TheModule = nullptr; member in __anon34257a1f0111::WinEHStatePass
118 TheModule = &M; in doInitialization()
119 FrameEscape = Intrinsic::getDeclaration(TheModule, Intrinsic::localescape); in doInitialization()
120 FrameRecover = Intrinsic::getDeclaration(TheModule, Intrinsic::localrecover); in doInitialization()
121 FrameAddress = Intrinsic::getDeclaration(TheModule, Intrinsic::frameaddress); in doInitialization()
126 assert(TheModule == &M); in doFinalization()
127 TheModule = nullptr; in doFinalization()
198 LLVMContext &Context = TheModule->getContext(); in getEHLinkRegistrationType()
217 LLVMContext &Context = TheModule->getContext(); in getCXXEHRegistrationType()
239 LLVMContext &Context = TheModule->getContext(); in getSEHRegistrationType()
267 Intrinsic::getDeclaration(TheModule, Intrinsic::stacksave), {}); in emitExceptionRegistrationRecord()
284 Intrinsic::getDeclaration(TheModule, Intrinsic::stacksave), {}); in emitExceptionRegistrationRecord()
293 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_lsda), FI8); in emitExceptionRegistrationRecord()
294 Type *Int32Ty = Type::getInt32Ty(TheModule->getContext()); in emitExceptionRegistrationRecord()
300 TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
324 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_lsda), FI8); in emitEHLSDA()
350 TheModule); in generateLSDAInEAXThunk()
407 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_ehregnode), in addStateStores()