Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenTypes.h59 enum class StructorType { enum
65 inline CXXCtorType toCXXCtorType(StructorType T) { in toCXXCtorType()
67 case StructorType::Complete: in toCXXCtorType()
69 case StructorType::Base: in toCXXCtorType()
71 case StructorType::Deleting: in toCXXCtorType()
77 inline StructorType getFromCtorType(CXXCtorType T) { in getFromCtorType()
80 return StructorType::Complete; in getFromCtorType()
82 return StructorType::Base; in getFromCtorType()
92 inline CXXDtorType toCXXDtorType(StructorType T) { in toCXXDtorType()
94 case StructorType::Complete: in toCXXDtorType()
[all …]
DCGCXX.cpp218 StructorType Type) { in codegenCXXStructor()
243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor()
321 DD, StructorType::Complete); in BuildAppleKextVirtualDestructorCall()
DCGCXXABI.h296 virtual void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
574 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
DMicrosoftCXXABI.cpp205 void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
669 void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) override;
1229 MicrosoftCXXABI::buildStructorSignature(const CXXMethodDecl *MD, StructorType T, in buildStructorSignature()
1232 if (T == StructorType::Deleting) { in buildStructorSignature()
1841 Dtor, StructorType::Deleting); in EmitVirtualDestructorCall()
1854 Context.IntTy, CE, StructorType::Deleting); in EmitVirtualDestructorCall()
3749 StructorType ctorType) { in emitCXXConstructor()
3751 llvm::Function *Fn = CGM.codegenCXXStructor(ctor, StructorType::Complete); in emitCXXConstructor()
3756 StructorType dtorType) { in emitCXXDestructor()
3760 (dtorType == StructorType::Complete || dtorType == StructorType::Base)) { in emitCXXDestructor()
[all …]
DItaniumCXXABI.cpp207 void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
363 void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) override;
1096 Dtor = CGM.getAddrOfCXXStructor(DtorD, StructorType::Complete); in emitThrow()
1343 ItaniumCXXABI::buildStructorSignature(const CXXMethodDecl *MD, StructorType T, in buildStructorSignature()
1351 if (T == StructorType::Base && MD->getParent()->getNumVBases() != 0) in buildStructorSignature()
3477 StructorType Type) { in emitCXXStructor()
3483 if (Type == StructorType::Complete) { in emitCXXStructor()
3511 if (DD && Type == StructorType::Base && CGType != StructorCodegen::COMDAT && in emitCXXStructor()
DCGExprCXX.cpp88 StructorType Type) { in EmitCXXDestructorCall()
211 Dtor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
214 Ctor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
241 CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete, FInfo, Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
DCodeGenModule.h820 StructorType Type);
824 getAddrOfCXXStructor(const CXXMethodDecl *MD, StructorType Type,
DCGDeclCXX.cpp105 function = CGM.getAddrOfCXXStructor(dtor, StructorType::Complete); in EmitDeclDestroy()
DCodeGenFunction.h2869 StructorType Type);
DCGCall.cpp259 StructorType Type) { in arrangeCXXStructorDeclaration()
DCGExpr.cpp289 StructorType::Complete); in pushTemporaryCleanup()
/external/clang/lib/Index/
DCodegenNameGenerator.cpp146 std::string getMangledStructor(const NamedDecl *ND, unsigned StructorType) { in getMangledStructor()
151 MC->mangleCXXCtor(CD, static_cast<CXXCtorType>(StructorType), FOS); in getMangledStructor()
153 MC->mangleCXXDtor(DD, static_cast<CXXDtorType>(StructorType), FOS); in getMangledStructor()
/external/clang/lib/AST/
DMicrosoftMangle.cpp254 unsigned StructorType; member in __anon6122d8660111::MicrosoftCXXNameMangler
275 : Context(C), Out(Out_), Structor(nullptr), StructorType(-1), in MicrosoftCXXNameMangler()
281 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in MicrosoftCXXNameMangler()
287 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in MicrosoftCXXNameMangler()
854 if (StructorType == Ctor_CopyingClosure) { in mangleUnqualifiedName()
858 if (StructorType == Ctor_DefaultClosure) { in mangleUnqualifiedName()
870 mangleCXXDtorType(static_cast<CXXDtorType>(StructorType)); in mangleUnqualifiedName()
1815 IsCtorClosure = (StructorType == Ctor_CopyingClosure || in mangleFunctionType()
1816 StructorType == Ctor_DefaultClosure) && in mangleFunctionType()
1839 StructorType == Dtor_Deleting) { in mangleFunctionType()
[all …]
DItaniumMangle.cpp228 unsigned StructorType; member in __anon0e1fea670111::CXXNameMangler
391 StructorType(0), SeqID(0), AbiTagsRoot(AbiTags) { in CXXNameMangler()
398 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
402 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
407 Structor(Outer.Structor), StructorType(Outer.StructorType), in CXXNameMangler()
412 Structor(Outer.Structor), StructorType(Outer.StructorType), in CXXNameMangler()
1333 mangleCXXCtorType(static_cast<CXXCtorType>(StructorType), InheritedFrom); in mangleUnqualifiedName()
1352 mangleCXXDtorType(static_cast<CXXDtorType>(StructorType)); in mangleUnqualifiedName()