Home
last modified time | relevance | path

Searched refs:hasTrivialDestructor (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugLoc.h69 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } in hasTrivialDestructor() function
H A DTrackingMDRef.h75 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 DConstructionContext.cpp55 ->hasTrivialDestructor() || in createMaterializedTemporaryFromLayers()
112 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
122 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
155 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
H A DCFG.cpp1285 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 DCGCXX.cpp85 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp592 !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 DCGBlocks.cpp448 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 DCGDeclCXX.cpp117 assert(!Record->hasTrivialDestructor()); in EmitDeclDestroy()
H A DCGExprAgg.cpp249 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
H A DCGExprCXX.cpp1912 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
H A DCGDecl.cpp1510 if ((CXXRD && !CXXRD->hasTrivialDestructor()) || in EmitAutoVarAlloca()
H A DCGExpr.cpp341 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()
5218 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp420 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()
585 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()
1204 if (!FieldRec->hasTrivialDestructor()) in addedMember()
H A DJSONNodeDumper.cpp461 FIELD2("trivial", hasTrivialDestructor); in createDestructorDefinitionData()
H A DTextNodeDumper.cpp2059 FLAG(hasTrivialDestructor, trivial); in VisitCXXRecordDecl()
H A DType.cpp4434 if (CXXRD->hasDefinition() && !CXXRD->hasTrivialDestructor()) in isDestructedTypeImpl()
H A DDecl.cpp4781 else if (CXXRD->hasTrivialDestructor()) in mayInsertExtraPadding()
H A DExpr.cpp3217 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineInstr.cpp104 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 DMachineInstr.h1722 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor");
H A DSelectionDAGNodes.h1073 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp832 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()
H A DExprEngine.cpp3142 if (!RD->hasTrivialDestructor()) { in processPointerEscapedOnBind()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h1321 bool hasTrivialDestructor() const { in hasTrivialDestructor() function
1412 : hasTrivialDestructor()) && in isLiteral()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp1675 !RD->hasTrivialDestructor(); in CaptureHasSideEffects()

12