Home
last modified time | relevance | path

Searched refs:StructorType (Results 1 – 15 of 15) 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.h286 virtual void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
558 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;
1232 MicrosoftCXXABI::buildStructorSignature(const CXXMethodDecl *MD, StructorType T, in buildStructorSignature()
1235 if (T == StructorType::Deleting) { in buildStructorSignature()
1835 Dtor, StructorType::Deleting); in EmitVirtualDestructorCall()
1849 StructorType::Deleting); in EmitVirtualDestructorCall()
3735 StructorType ctorType) { in emitCXXConstructor()
3737 llvm::Function *Fn = CGM.codegenCXXStructor(ctor, StructorType::Complete); in emitCXXConstructor()
3742 StructorType dtorType) { in emitCXXDestructor()
3746 (dtorType == StructorType::Complete || dtorType == StructorType::Base)) { in emitCXXDestructor()
[all …]
DItaniumCXXABI.cpp215 void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
371 void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) override;
1103 Dtor = CGM.getAddrOfCXXStructor(DtorD, StructorType::Complete); in emitThrow()
1350 ItaniumCXXABI::buildStructorSignature(const CXXMethodDecl *MD, StructorType T, in buildStructorSignature()
1358 if (T == StructorType::Base && MD->getParent()->getNumVBases() != 0) in buildStructorSignature()
3439 StructorType Type) { in emitCXXStructor()
3445 if (Type == StructorType::Complete) { in emitCXXStructor()
3473 if (DD && Type == StructorType::Base && CGType != StructorCodegen::COMDAT && in emitCXXStructor()
DCGExprCXX.cpp88 const CallExpr *CE, StructorType Type) { in EmitCXXStructorCall()
211 Dtor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
214 Ctor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
241 CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete, FInfo, Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
DCodeGenModule.h811 StructorType Type);
815 getAddrOfCXXStructor(const CXXMethodDecl *MD, StructorType Type,
DCGDeclCXX.cpp97 function = CGM.getAddrOfCXXStructor(dtor, StructorType::Complete); in EmitDeclDestroy()
DCGClass.cpp2159 llvm::Value *Callee = CGM.getAddrOfCXXStructor(D, StructorType::Complete); in EmitSynthesizedCXXCopyCtorCall()
DCodeGenFunction.h2685 StructorType Type);
DCGCall.cpp224 StructorType Type) { in arrangeCXXStructorDeclaration()
DCGExpr.cpp288 StructorType::Complete); in pushTemporaryCleanup()
/external/clang/lib/AST/
DMicrosoftMangle.cpp219 unsigned StructorType; member in __anon5b8cd7620111::MicrosoftCXXNameMangler
237 : Context(C), Out(Out_), Structor(nullptr), StructorType(-1), in MicrosoftCXXNameMangler()
243 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in MicrosoftCXXNameMangler()
249 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in MicrosoftCXXNameMangler()
818 if (StructorType == Ctor_CopyingClosure) { in mangleUnqualifiedName()
822 if (StructorType == Ctor_DefaultClosure) { in mangleUnqualifiedName()
834 mangleCXXDtorType(static_cast<CXXDtorType>(StructorType)); in mangleUnqualifiedName()
1758 IsCtorClosure = (StructorType == Ctor_CopyingClosure || in mangleFunctionType()
1759 StructorType == Ctor_DefaultClosure) && in mangleFunctionType()
1782 StructorType == Dtor_Deleting) { in mangleFunctionType()
[all …]
DItaniumMangle.cpp220 unsigned StructorType; member in __anon46c5fa630111::CXXNameMangler
271 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(0), in CXXNameMangler()
279 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
283 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), in CXXNameMangler()
1049 mangleCXXCtorType(static_cast<CXXCtorType>(StructorType)); in mangleUnqualifiedName()
1060 mangleCXXDtorType(static_cast<CXXDtorType>(StructorType)); in mangleUnqualifiedName()
/external/clang/tools/libclang/
DCIndex.cpp3615 unsigned StructorType) { in getMangledStructor() argument
3620 M->mangleCXXCtor(CD, static_cast<CXXCtorType>(StructorType), FOS); in getMangledStructor()
3622 M->mangleCXXDtor(DD, static_cast<CXXDtorType>(StructorType), FOS); in getMangledStructor()