Searched refs:Ctor (Results 26 - 50 of 61) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp1143 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local
1144 if (Ctor != useDefaultRegisterAllocator)
1145 return Ctor();
H A DMachineScheduler.cpp320 MachineSchedRegistry::ScheduleDAGCtor Ctor = MachineSchedOpt; local
321 if (Ctor != useDefaultMachineSched)
322 return Ctor(this);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp4799 CXXConstructorDecl *Ctor;
4806 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits)
4807 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) {
4808 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted();
4809 if (Ctor->getInheritedConstructor())
4811 else if (Generated && Ctor->isCopyConstructor())
4813 else if (Generated && Ctor->isMoveConstructor())
4930 SemaRef.BuildCXXDefaultInitExpr(Info.Ctor
[all...]
H A DSemaCoroutine.cpp644 auto const *Ctor = cast<CXXConstructExpr>(E)->getConstructor(); local
645 checkDeclNoexcept(Ctor);
647 checkDeclNoexcept(Ctor->getParent()->getDestructor(), true);
H A DSemaTemplateInstantiateDecl.cpp4587 CXXConstructorDecl *Ctor) {
4589 Ctor->isDefaultConstructor());
4590 unsigned NumParams = Ctor->getNumParams();
4593 DLLExportAttr *Attr = Ctor->getAttr<DLLExportAttr>();
4597 (void)S.CheckCXXDefaultArgExpr(Attr->getLocation(), Ctor,
4598 Ctor->getParamDecl(I));
4799 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Function)) {
4801 InstantiateMemInitializers(Ctor, cast<CXXConstructorDecl>(PatternDecl),
4807 Ctor->isDefaultConstructor()) {
4808 InstantiateDefaultCtorDefaultArgs(*this, Ctor);
4586 InstantiateDefaultCtorDefaultArgs(Sema &S, CXXConstructorDecl *Ctor) argument
[all...]
H A DSema.cpp1726 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(MD))
1727 if (Ctor->isCopyOrMoveConstructor() && Ctor->isTrivial())
H A DSemaStmt.cpp307 if (const CXXConstructorDecl *Ctor = CE->getConstructor()) {
308 const auto *A = Ctor->getAttr<WarnUnusedResultAttr>();
309 A = A ? A : Ctor->getParent()->getAttr<WarnUnusedResultAttr>();
H A DSemaCodeComplete.cpp1043 for (NamedDecl *Ctor : getConstructors(SemaRef.Context, Record)) {
1044 R.Declaration = Ctor;
6146 for (const NamedDecl *Ctor : Ctors) {
6147 auto CCR = CodeCompletionResult(GenerateCCS(Ctor, Name), RD, Priority);
6148 CCR.CursorKind = getCursorKindForDecl(Ctor);
H A DSemaExpr.cpp117 auto *Ctor = dyn_cast<CXXConstructorDecl>(Decl); local
118 if (Ctor && Ctor->isInheritingConstructor())
119 return NoteDeletedInheritingConstructor(Ctor);
254 auto *Ctor = dyn_cast<CXXConstructorDecl>(FD); local
255 if (Ctor && Ctor->isInheritingConstructor())
257 << Ctor->getParent()
258 << Ctor->getInheritedConstructor().getConstructor()->getParent();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp280 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) {
281 // This is the MSVC p->Ctor::Ctor(...) extension. We assume that's
282 // constructing a new complete object of type Ctor.
287 *this, Ctor, This.getPointer(*this), /*ImplicitParam=*/nullptr,
290 EmitCXXConstructorCall(Ctor, Ctor_Complete, /*ForVirtualBase=*/false,
1149 CXXConstructorDecl *Ctor = CCE->getConstructor(); local
1150 if (Ctor->isTrivial()) {
1153 if (!CCE->requiresZeroInitialization() || Ctor->getParent()->isEmpty())
1172 EmitCXXAggrConstructorCall(Ctor, NumElement
[all...]
H A DCGOpenMPRuntime.cpp1707 CodeGenFunction &CGF, Address VDAddr, llvm::Value *Ctor,
1719 Ctor, CopyCtor, Dtor};
1737 llvm::Value *Ctor = nullptr, *CopyCtor = nullptr, *Dtor = nullptr; local
1770 Ctor = Fn;
1803 if (!Ctor && !Dtor)
1814 if (Ctor == nullptr) {
1818 Ctor = llvm::Constant::getNullValue(CtorTy);
1837 emitThreadPrivateVarInit(InitCGF, VDAddr, Ctor, CopyCtor, Dtor, Loc);
1841 emitThreadPrivateVarInit(*CGF, VDAddr, Ctor, CopyCtor, Dtor, Loc);
1883 llvm::Constant *Ctor; local
1706 emitThreadPrivateVarInit( CodeGenFunction &CGF, Address VDAddr, llvm::Value *Ctor, llvm::Value *CopyCtor, llvm::Value *Dtor, SourceLocation Loc) argument
[all...]
H A DCGExprConstant.cpp1370 else if (auto *Ctor = dyn_cast<CXXConstructExpr>(Inner))
1371 RetType = Ctor->getType();
H A DCodeGenFunction.h2071 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor);
2709 void EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor,
2717 void EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
2724 void EmitInlinedInheritingCXXConstructorCall(const CXXConstructorDecl *Ctor,
H A DCodeGenModule.h1472 void AddGlobalCtor(llvm::Function *Ctor, int Priority = 65535,
H A DCGOpenMPRuntime.h791 /// \param Ctor Pointer to a global init function for \a VD.
796 llvm::Value *Ctor, llvm::Value *CopyCtor,
H A DMicrosoftCXXABI.cpp1087 for (const CXXConstructorDecl *Ctor : RD->ctors())
1088 if (Ctor->isUserProvided())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp2110 for (auto *Ctor : RD->ctors()) {
2111 if (Ctor->isDeleted())
2113 if (Ctor->isMoveConstructor())
2114 return Ctor;
2115 if (!CopyCtor && Ctor->isCopyConstructor())
2116 CopyCtor = Ctor;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp410 [&](Function *Ctor, FunctionCallee) {
412 Ctor->setComdat(CtorComdat);
413 appendToGlobalCtors(M, Ctor, 0, Ctor);
H A DThreadSanitizer.cpp164 [&](Function *Ctor, FunctionCallee) { appendToGlobalCtors(M, Ctor, 0); });
H A DMemorySanitizer.cpp615 [&](Function *Ctor, FunctionCallee) {
617 appendToGlobalCtors(M, Ctor, 0);
621 Ctor->setComdat(MsanCtorComdat);
622 appendToGlobalCtors(M, Ctor, 0, Ctor);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp998 CXXConstructorDecl *Ctor, bool Elidable, ArrayRef<Expr *> Args,
1006 CXXConstructExprClass, Ty, Loc, Ctor, Elidable, Args,
1021 StmtClass SC, QualType Ty, SourceLocation Loc, CXXConstructorDecl *Ctor,
1026 : Expr(SC, Ty, VK_RValue, OK_Ordinary), Constructor(Ctor),
996 Create( const ASTContext &Ctx, QualType Ty, SourceLocation Loc, CXXConstructorDecl *Ctor, bool Elidable, ArrayRef<Expr *> Args, bool HadMultipleCandidates, bool ListInitialization, bool StdInitListInitialization, bool ZeroInitialization, ConstructionKind ConstructKind, SourceRange ParenOrBraceRange) argument
1020 CXXConstructExpr( StmtClass SC, QualType Ty, SourceLocation Loc, CXXConstructorDecl *Ctor, bool Elidable, ArrayRef<Expr *> Args, bool HadMultipleCandidates, bool ListInitialization, bool StdInitListInitialization, bool ZeroInitialization, ConstructionKind ConstructKind, SourceRange ParenOrBraceRange) argument
H A DJSONNodeDumper.cpp1304 CXXConstructorDecl *Ctor = CE->getConstructor(); local
1305 JOS.attribute("ctorType", createQualType(Ctor->getType()));
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h1470 CXXConstructorDecl *Ctor, bool Elidable,
1489 CXXConstructorDecl *Ctor, bool Elidable, ArrayRef<Expr *> Args,
1636 CXXConstructorDecl *Ctor, bool ConstructsVirtualBase,
1639 Constructor(Ctor), Loc(Loc),
1635 CXXInheritedCtorInitExpr(SourceLocation Loc, QualType T, CXXConstructorDecl *Ctor, bool ConstructsVirtualBase, bool InheritedFromVirtualBase) argument
H A DRecursiveASTVisitor.h2032 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) {
2034 for (auto *I : Ctor->inits()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp888 auto Ctor = cast<Constant>(Init->getOperand(i)); local
890 EltTy, Ctor->getAggregateElement(0u), Ctor->getAggregateElement(1),

Completed in 564 milliseconds

123