Lines Matching refs:dtorStub
332 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
333 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
341 llvm::Function *dtorStub = in registerGlobalDtorWithLLVM() local
343 CGM.AddGlobalDtor(dtorStub); in registerGlobalDtorWithLLVM()
346 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
348 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
351 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
355 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
363 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
367 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
375 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
378 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
382 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); in unregisterGlobalDtorWithUnAtExit()
389 return EmitNounwindRuntimeCall(unatexit, dtorStub); in unregisterGlobalDtorWithUnAtExit()