Home
last modified time | relevance | path

Searched refs:DtorFn (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DDescriptor.cpp91 if (auto Fn = D->ElemDesc->DtorFn) in dtorArrayDesc()
142 if (auto Fn = F->DtorFn) in dtorRecord()
192 CtorFn(getCtorPrim(Type)), DtorFn(getDtorPrim(Type)), in Descriptor()
202 CtorFn(getCtorArrayPrim(Type)), DtorFn(getDtorArrayPrim(Type)), in Descriptor()
212 DtorFn(getDtorArrayPrim(Type)), MoveFn(getMoveArrayPrim(Type)) { in Descriptor()
222 IsArray(true), CtorFn(ctorArrayDesc), DtorFn(dtorArrayDesc), in Descriptor()
232 CtorFn(ctorArrayDesc), DtorFn(dtorArrayDesc), MoveFn(moveArrayDesc) { in Descriptor()
241 DtorFn(dtorRecord), MoveFn(moveRecord) { in Descriptor()
H A DInterpState.cpp71 if (Desc->DtorFn) in deallocate()
72 Desc->DtorFn(B, B->data(), Desc); in deallocate()
H A DDescriptor.h84 const BlockDtorFn DtorFn = nullptr; member
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.h1118 void AddCXXDtorEntry(llvm::FunctionCallee DtorFn, llvm::Constant *Object) { in AddCXXDtorEntry() argument
1119 CXXGlobalDtorsOrStermFinalizers.emplace_back(DtorFn.getFunctionType(), in AddCXXDtorEntry()
1120 DtorFn.getCallee(), Object); in AddCXXDtorEntry()
1124 void AddCXXStermFinalizerEntry(llvm::FunctionCallee DtorFn) { in AddCXXStermFinalizerEntry() argument
1125 CXXGlobalDtorsOrStermFinalizers.emplace_back(DtorFn.getFunctionType(), in AddCXXStermFinalizerEntry()
1126 DtorFn.getCallee(), nullptr); in AddCXXStermFinalizerEntry()
H A DCGDeclCXX.cpp307 if (auto *DtorFn = dyn_cast<llvm::Function>( in createTLSAtExitStub() local
309 call->setCallingConv(DtorFn->getCallingConv()); in createTLSAtExitStub()
923 llvm::FunctionCallee DtorFn = I->second; in EmitCXXGlobalCleanUpFunc() local
924 LocalCXXStermFinalizers.emplace_back(DtorFn.getFunctionType(), in EmitCXXGlobalCleanUpFunc()
925 DtorFn.getCallee(), nullptr); in EmitCXXGlobalCleanUpFunc()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2437 Function *DtorFn = in OptimizeEmptyGlobalCXXDtors() local
2439 if (!DtorFn || !cxxDtorIsEmpty(*DtorFn)) in OptimizeEmptyGlobalCXXDtors()
/llvm-project-15.0.7/clang/docs/
H A DConstantInterpreter.rst156 * **DtorFn**: invokes the destructors of non-trivial objects.