Home
last modified time | relevance | path

Searched refs:StructorType (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.h58 enum class StructorType { enum
66 case StructorType::Complete: in toCXXCtorType()
68 case StructorType::Base: in toCXXCtorType()
70 case StructorType::Deleting: in toCXXCtorType()
79 return StructorType::Complete; in getFromCtorType()
81 return StructorType::Base; in getFromCtorType()
93 case StructorType::Complete: in toCXXDtorType()
95 case StructorType::Base: in toCXXDtorType()
97 case StructorType::Deleting: in toCXXDtorType()
106 return StructorType::Deleting; in getFromDtorType()
[all …]
H A DCGCXX.cpp208 StructorType Type) { in codegenCXXStructor()
232 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor()
242 Type == StructorType::Complete && MD->getParent()->getNumVBases() == 0) in getAddrOfCXXStructor()
243 Type = StructorType::Base; in getAddrOfCXXStructor()
315 DD, StructorType::Complete); in BuildAppleKextVirtualDestructorCall()
H A DCGCXXABI.h313 buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
592 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
H A DMicrosoftCXXABI.cpp210 buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
1240 if (T == StructorType::Deleting) { in buildStructorSignature()
1889 Dtor, StructorType::Deleting); in EmitVirtualDestructorCall()
3821 StructorType ctorType) { in emitCXXConstructor()
3828 StructorType dtorType) { in emitCXXDestructor()
3832 if (dtorType == StructorType::Complete && in emitCXXDestructor()
3834 dtorType = StructorType::Base; in emitCXXDestructor()
3849 StructorType Type) { in emitCXXStructor()
3958 CGM.getAddrOfCXXStructor(CD, StructorType::Complete); in getAddrOfCXXCtorClosure()
4009 CopyCtor = CGM.getAddrOfCXXStructor(CD, StructorType::Complete); in getCatchableType()
[all …]
H A DItaniumCXXABI.cpp221 buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
380 void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) override;
1213 Dtor = CGM.getAddrOfCXXStructor(DtorD, StructorType::Complete); in emitThrow()
1460 ItaniumCXXABI::buildStructorSignature(const CXXMethodDecl *MD, StructorType T, in buildStructorSignature()
1468 if (T == StructorType::Base && MD->getParent()->getNumVBases() != 0) { in buildStructorSignature()
3852 StructorType Type) { in emitCXXStructor()
3858 if (Type == StructorType::Complete) { in emitCXXStructor()
3886 if (DD && Type == StructorType::Base && CGType != StructorCodegen::COMDAT && in emitCXXStructor()
H A DCGExprCXX.cpp99 StructorType Type) { in EmitCXXDestructorCall()
299 Dtor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
302 Ctor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
356 CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete, FInfo, Ty), in EmitCXXMemberOrOperatorMemberCallExpr()
H A DCodeGenModule.h954 StructorType Type);
958 getAddrOfCXXStructor(const CXXMethodDecl *MD, StructorType Type,
H A DCGDeclCXX.cpp121 Func = CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete); in EmitDeclDestroy()
H A DCodeGenFunction.h3666 StructorType Type);
H A DCGCall.cpp307 StructorType Type) { in arrangeCXXStructorDeclaration()
H A DCGExpr.cpp344 StructorType::Complete); in pushTemporaryCleanup()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCodegenNameGenerator.cpp179 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
184 MC->mangleCXXCtor(CD, static_cast<CXXCtorType>(StructorType), FOS); in getMangledStructor()
186 MC->mangleCXXDtor(DD, static_cast<CXXDtorType>(StructorType), FOS); in getMangledStructor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp262 unsigned StructorType; member in __anon34da63ca0111::MicrosoftCXXNameMangler
283 : Context(C), Out(Out_), Structor(nullptr), StructorType(-1), in MicrosoftCXXNameMangler()
958 if (StructorType == Ctor_CopyingClosure) { in mangleUnqualifiedName()
962 if (StructorType == Ctor_DefaultClosure) { in mangleUnqualifiedName()
2155 IsCtorClosure = (StructorType == Ctor_CopyingClosure || in mangleFunctionType()
2156 StructorType == Ctor_DefaultClosure) && in mangleFunctionType()
2181 if (StructorType == Dtor_Deleting) { in mangleFunctionType()
2186 if (StructorType == Dtor_Complete) { in mangleFunctionType()
2196 if (StructorType == Ctor_DefaultClosure) { in mangleFunctionType()
2199 } else if (StructorType == Ctor_CopyingClosure) { in mangleFunctionType()
[all …]
H A DItaniumMangle.cpp222 unsigned StructorType; member in __anon56f54ccb0111::CXXNameMangler
386 StructorType(0), SeqID(0), AbiTagsRoot(AbiTags) { in CXXNameMangler()
393 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
397 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
402 Structor(Outer.Structor), StructorType(Outer.StructorType), in CXXNameMangler()
408 Structor(Outer.Structor), StructorType(Outer.StructorType), in CXXNameMangler()
1429 mangleCXXCtorType(static_cast<CXXCtorType>(StructorType), InheritedFrom); in mangleUnqualifiedName()
1448 mangleCXXDtorType(static_cast<CXXDtorType>(StructorType)); in mangleUnqualifiedName()