/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetPassConfig.cpp | 1143 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 1144 if (Ctor != useDefaultRegisterAllocator) 1145 return Ctor();
|
H A D | MachineScheduler.cpp | 320 MachineSchedRegistry::ScheduleDAGCtor Ctor = MachineSchedOpt; local 321 if (Ctor != useDefaultMachineSched) 322 return Ctor(this);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 4799 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 D | SemaCoroutine.cpp | 644 auto const *Ctor = cast<CXXConstructExpr>(E)->getConstructor(); local 645 checkDeclNoexcept(Ctor); 647 checkDeclNoexcept(Ctor->getParent()->getDestructor(), true);
|
H A D | SemaTemplateInstantiateDecl.cpp | 4587 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 D | Sema.cpp | 1726 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(MD)) 1727 if (Ctor->isCopyOrMoveConstructor() && Ctor->isTrivial())
|
H A D | SemaStmt.cpp | 307 if (const CXXConstructorDecl *Ctor = CE->getConstructor()) { 308 const auto *A = Ctor->getAttr<WarnUnusedResultAttr>(); 309 A = A ? A : Ctor->getParent()->getAttr<WarnUnusedResultAttr>();
|
H A D | SemaCodeComplete.cpp | 1043 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 D | SemaExpr.cpp | 117 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 D | CGExprCXX.cpp | 280 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 D | CGOpenMPRuntime.cpp | 1707 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 D | CGExprConstant.cpp | 1370 else if (auto *Ctor = dyn_cast<CXXConstructExpr>(Inner)) 1371 RetType = Ctor->getType();
|
H A D | CodeGenFunction.h | 2071 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 D | CodeGenModule.h | 1472 void AddGlobalCtor(llvm::Function *Ctor, int Priority = 65535,
|
H A D | CGOpenMPRuntime.h | 791 /// \param Ctor Pointer to a global init function for \a VD. 796 llvm::Value *Ctor, llvm::Value *CopyCtor,
|
H A D | MicrosoftCXXABI.cpp | 1087 for (const CXXConstructorDecl *Ctor : RD->ctors()) 1088 if (Ctor->isUserProvided())
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 2110 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 D | HWAddressSanitizer.cpp | 410 [&](Function *Ctor, FunctionCallee) { 412 Ctor->setComdat(CtorComdat); 413 appendToGlobalCtors(M, Ctor, 0, Ctor);
|
H A D | ThreadSanitizer.cpp | 164 [&](Function *Ctor, FunctionCallee) { appendToGlobalCtors(M, Ctor, 0); });
|
H A D | MemorySanitizer.cpp | 615 [&](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 D | ExprCXX.cpp | 998 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 D | JSONNodeDumper.cpp | 1304 CXXConstructorDecl *Ctor = CE->getConstructor(); local 1305 JOS.attribute("ctorType", createQualType(Ctor->getType()));
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 1470 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 D | RecursiveASTVisitor.h | 2032 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { 2034 for (auto *I : Ctor->inits()) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 888 auto Ctor = cast<Constant>(Init->getOperand(i)); local 890 EltTy, Ctor->getAggregateElement(0u), Ctor->getAggregateElement(1),
|