| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugLoc.h | 69 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } in hasTrivialDestructor() function
|
| H A D | TrackingMDRef.h | 75 bool hasTrivialDestructor() const { in hasTrivialDestructor() function 138 bool hasTrivialDestructor() const { return Ref.hasTrivialDestructor(); } in hasTrivialDestructor() function
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 55 ->hasTrivialDestructor() || in createMaterializedTemporaryFromLayers() 112 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers() 122 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers() 155 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
|
| H A D | CFG.cpp | 1285 bool hasTrivialDestructor(VarDecl *VD); 1801 if (hasTrivialDestructor(*I)) in addLifetimeEnds() 1851 if (hasTrivialDestructor(VD)) { in addAutomaticObjDtors() 1894 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor() 1904 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor() 1922 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor() 1978 bool CFGBuilder::hasTrivialDestructor(VarDecl *VD) { in hasTrivialDestructor() function in CFGBuilder 2014 return !CD->hasDefinition() || CD->hasTrivialDestructor(); in hasTrivialDestructor() 2034 if (!hasTrivialDestructor(VD) || BuildOpts.AddScopes) { in addLocalScopeForVarDecl() 4808 if (RD->isCompleteDefinition() && !RD->hasTrivialDestructor()) in VisitCXXDeleteExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 85 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
|
| H A D | CGClass.cpp | 592 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer() 1356 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody() 1858 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups() 1892 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups() 2037 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall() 2455 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall() 2499 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
|
| H A D | CGBlocks.cpp | 448 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture() 650 if (CI.hasCopyExpr() || !record->hasTrivialDestructor()) { in computeBlockInfo() 2506 if (!copyExpr && record->hasTrivialDestructor()) return nullptr; in buildByrefHelpers()
|
| H A D | CGDeclCXX.cpp | 117 assert(!Record->hasTrivialDestructor()); in EmitDeclDestroy()
|
| H A D | CGExprAgg.cpp | 249 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
|
| H A D | CGExprCXX.cpp | 1912 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
|
| H A D | CGDecl.cpp | 1510 if ((CXXRD && !CXXRD->hasTrivialDestructor()) || in EmitAutoVarAlloca()
|
| H A D | CGExpr.cpp | 341 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup() 5218 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 420 if (!BaseClassDecl->hasTrivialDestructor()) in setBases() 585 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable() 1204 if (!FieldRec->hasTrivialDestructor()) in addedMember()
|
| H A D | JSONNodeDumper.cpp | 461 FIELD2("trivial", hasTrivialDestructor); in createDestructorDefinitionData()
|
| H A D | TextNodeDumper.cpp | 2059 FLAG(hasTrivialDestructor, trivial); in VisitCXXRecordDecl()
|
| H A D | Type.cpp | 4434 if (CXXRD->hasDefinition() && !CXXRD->hasTrivialDestructor()) in isDestructedTypeImpl()
|
| H A D | Decl.cpp | 4781 else if (CXXRD->hasTrivialDestructor()) in mayInsertExtraPadding()
|
| H A D | Expr.cpp | 3217 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 104 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr() 123 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstr.h | 1722 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor");
|
| H A D | SelectionDAGNodes.h | 1073 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 832 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()
|
| H A D | ExprEngine.cpp | 3142 if (!RD->hasTrivialDestructor()) { in processPointerEscapedOnBind()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1321 bool hasTrivialDestructor() const { in hasTrivialDestructor() function 1412 : hasTrivialDestructor()) && in isLiteral()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 1675 !RD->hasTrivialDestructor(); in CaptureHasSideEffects()
|