Searched defs:dtorKind (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp72 QualType::DestructionKind dtorKind = type.isDestructedType(); local
74 switch (dtorKind) {
94 if (dtorKind == QualType::DK_cxx_destructor &&
106 .generateDestroyHelper(addr, type, CGF.getDestroyer(dtorKind),
107 CGF.needsEHCleanup(dtorKind), &D);
H A DCGBlocks.cpp593 QualType::DestructionKind dtorKind = local
595 if (dtorKind == QualType::DK_none) continue;
601 if (dtorKind == QualType::DK_objc_strong_lifetime) {
604 destroyer = CGF.getDestroyer(dtorKind);
616 bool useArrayEHCleanup = CGF.needsEHCleanup(dtorKind);
H A DCGDecl.cpp1203 QualType::DestructionKind dtorKind) {
1204 assert(dtorKind != QualType::DK_none);
1216 switch (dtorKind) {
1249 if (!destroyer) destroyer = getDestroyer(dtorKind);
1279 if (QualType::DestructionKind dtorKind = D.getType().isDestructedType())
1280 emitAutoVarTypeCleanup(emission, dtorKind);
1321 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind, argument
1323 assert(dtorKind && "cannot push destructor for trivial type");
1324 assert(needsEHCleanup(dtorKind));
1326 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), tru
1201 emitAutoVarTypeCleanup( const CodeGenFunction::AutoVarEmission &emission, QualType::DestructionKind dtorKind) argument
1331 pushDestroy(QualType::DestructionKind dtorKind, llvm::Value *addr, QualType type) argument
[all...]
H A DCGExprAgg.cpp414 QualType::DestructionKind dtorKind = elementType.isDestructedType(); local
418 if (CGF.needsEHCleanup(dtorKind)) {
427 CGF.getDestroyer(dtorKind));
432 dtorKind = QualType::DK_none;
519 if (dtorKind) CGF.DeactivateCleanupBlock(cleanup, cleanupDominator);
1223 if (QualType::DestructionKind dtorKind
1226 if (CGF.needsEHCleanup(dtorKind)) {
1231 CGF.getDestroyer(dtorKind), false);
H A DCGClass.cpp642 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); local
643 if (needsEHCleanup(dtorKind))
644 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType);
993 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); local
994 if (CGF.needsEHCleanup(dtorKind))
995 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType);
1496 QualType::DestructionKind dtorKind = type.isDestructedType(); local
1497 if (!dtorKind) continue;
1503 CleanupKind cleanupKind = getCleanupKind(dtorKind);
1505 getDestroyer(dtorKind),
[all...]
H A DCGCall.cpp273 CXXDtorType dtorKind) {
277 GlobalDecl GD(D, dtorKind);
281 TheCXXABI.BuildDestructorSignature(D, dtorKind, resultType, argTypes);
272 arrangeCXXDestructor(const CXXDestructorDecl *D, CXXDtorType dtorKind) argument
H A DCGObjC.cpp1331 QualType::DestructionKind dtorKind = type.isDestructedType(); local
1332 if (!dtorKind) continue;
1338 if (dtorKind == QualType::DK_objc_strong_lifetime) {
1343 destroyer = CGF.getDestroyer(dtorKind);
1346 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind);

Completed in 176 milliseconds