Home
last modified time | relevance | path

Searched refs:dtorStub (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp270 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
271 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
274 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
276 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
279 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
283 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
291 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
295 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
303 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
306 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
[all …]
DItaniumCXXABI.cpp540 void emitCXXStermFinalizer(const VarDecl &D, llvm::Function *dtorStub,
4632 llvm::Function *dtorStub = CGF.createAtExitStub(D, dtor, addr); in registerGlobalDtor() local
4635 CGF.registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtor()
4639 emitCXXStermFinalizer(D, dtorStub, addr); in registerGlobalDtor()
4642 void XLCXXABI::emitCXXStermFinalizer(const VarDecl &D, llvm::Function *dtorStub, in emitCXXStermFinalizer() argument
4666 llvm::Value *V = CGF.unregisterGlobalDtorWithUnAtExit(dtorStub); in emitCXXStermFinalizer()
4680 llvm::CallInst *CI = CGF.Builder.CreateCall(dtorStub); in emitCXXStermFinalizer()
4683 CI->setCallingConv(dtorStub->getCallingConv()); in emitCXXStermFinalizer()
DCodeGenFunction.h4301 void registerGlobalDtorWithAtExit(llvm::Constant *dtorStub);
4304 llvm::Value *unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub);
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp231 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
235 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
242 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()