/external/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 59 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 …]
|
D | CGCXX.cpp | 218 StructorType Type) { in codegenCXXStructor() 243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor() 321 DD, StructorType::Complete); in BuildAppleKextVirtualDestructorCall()
|
D | CGCXXABI.h | 296 virtual void buildStructorSignature(const CXXMethodDecl *MD, StructorType T, 574 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
|
D | MicrosoftCXXABI.cpp | 205 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 …]
|
D | ItaniumCXXABI.cpp | 207 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()
|
D | CGExprCXX.cpp | 88 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()
|
D | CodeGenModule.h | 820 StructorType Type); 824 getAddrOfCXXStructor(const CXXMethodDecl *MD, StructorType Type,
|
D | CGDeclCXX.cpp | 105 function = CGM.getAddrOfCXXStructor(dtor, StructorType::Complete); in EmitDeclDestroy()
|
D | CodeGenFunction.h | 2869 StructorType Type);
|
D | CGCall.cpp | 259 StructorType Type) { in arrangeCXXStructorDeclaration()
|
D | CGExpr.cpp | 289 StructorType::Complete); in pushTemporaryCleanup()
|
/external/clang/lib/Index/ |
D | CodegenNameGenerator.cpp | 146 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/ |
D | MicrosoftMangle.cpp | 254 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 …]
|
D | ItaniumMangle.cpp | 228 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()
|