Lines Matching refs:TheModule

86   Module *TheModule = nullptr;  member in __anon7bd348620111::WinEHStatePass
124 TheModule = &M; in doInitialization()
129 assert(TheModule == &M); in doFinalization()
130 TheModule = nullptr; in doFinalization()
177 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction()
178 SetJmp3 = TheModule->getOrInsertFunction( in runOnFunction()
180 Type::getInt32Ty(TheModule->getContext()), in runOnFunction()
181 {Int8PtrType, Type::getInt32Ty(TheModule->getContext())}, in runOnFunction()
219 LLVMContext &Context = TheModule->getContext(); in getEHLinkRegistrationType()
238 LLVMContext &Context = TheModule->getContext(); in getCXXEHRegistrationType()
260 LLVMContext &Context = TheModule->getContext(); in getSEHRegistrationType()
293 Intrinsic::getDeclaration(TheModule, Intrinsic::stacksave), {}); in emitExceptionRegistrationRecord()
304 CxxLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
323 Intrinsic::getDeclaration(TheModule, Intrinsic::stacksave), {}); in emitExceptionRegistrationRecord()
335 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
345 Intrinsic::getDeclaration(TheModule, Intrinsic::frameaddress), in emitExceptionRegistrationRecord()
356 SehLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
358 FunctionType::get(Type::getVoidTy(TheModule->getContext()), Int8PtrType, in emitExceptionRegistrationRecord()
379 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_lsda), FI8); in emitEHLSDA()
405 TheModule); in generateLSDAInEAXThunk()
643 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_ehregnode), in addStateStores()
651 Intrinsic::getDeclaration(TheModule, Intrinsic::x86_seh_ehguard), in addStateStores()