Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DPasses.cpp51 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); in createRegisterAllocator() local
53 if (!Ctor) { in createRegisterAllocator()
54 Ctor = RegAlloc; in createRegisterAllocator()
60 if (Ctor == createLinearScanRegisterAllocator) in createRegisterAllocator()
63 if (Ctor != createDefaultRegisterAllocator) in createRegisterAllocator()
64 return Ctor(); in createRegisterAllocator()
DELFWriter.cpp204 const MCSectionELF *Ctor = (const MCSectionELF *)TLOF.getStaticCtorSection(); in getCtorSection() local
205 return getSection(Ctor->getSectionName(), Ctor->getType(), Ctor->getFlags()); in getCtorSection()
646 ELFSection &Ctor = getCtorSection(); in EmitSpecialLLVMGlobal() local
647 Ctor.emitAlignment(Align); in EmitSpecialLLVMGlobal()
648 EmitXXStructorList(GV->getInitializer(), Ctor); in EmitSpecialLLVMGlobal()
/external/clang/test/CXX/class/class.union/
Dp1.cpp16 class Ctor { class
17 Ctor() { abort(); } // expected-note 4 {{because type 'Ctor' has a user-declared constructor}} in Ctor() function in Ctor
39 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}}
55 Ctor ctor; // expected-note {{because type 'U2::<anonymous struct}}
79 …struct s3 : Ctor { // expected-note {{because type 'U3::s3' has a base class with a non-trivial co…
115 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}} in fred()
/external/llvm/include/llvm/CodeGen/
DMachinePassRegistry.h56 MachinePassCtor Ctor; // Function pass creator. variable
64 , Ctor(C) in MachinePassRegistryNode()
72 MachinePassCtor getCtor() const { return Ctor; } in getCtor()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp31 void BuildConstructorSignature(const CXXConstructorDecl *Ctor, in BuildConstructorSignature() argument
39 void BuildDestructorSignature(const CXXDestructorDecl *Ctor, in BuildDestructorSignature() argument
DCGClass.cpp634 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() argument
648 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
668 if (Ctor->getType()->getAs<FunctionProtoType>()->isVariadic()) in IsConstructorDelegationValid()
672 if (Ctor->isDelegatingConstructor()) in IsConstructorDelegationValid()
680 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() local
685 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor)) { in EmitConstructorBody()
688 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args); in EmitConstructorBody()
692 Stmt *Body = Ctor->getBody(); in EmitConstructorBody()
704 EmitCtorPrologue(Ctor, CtorType, Args); in EmitConstructorBody()
1268 CodeGenFunction::EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, in EmitDelegateCXXConstructorCall() argument
[all …]
DCGExprCXX.cpp264 } else if (const CXXConstructorDecl *Ctor = in EmitCXXMemberCallExpr() local
266 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty); in EmitCXXMemberCallExpr()
778 if (CXXConstructorDecl *Ctor = E->getConstructor()) { in EmitNewInitializer() local
780 if (Ctor->getParent()->hasTrivialDefaultConstructor()) { in EmitNewInitializer()
783 if (!E->hasInitializer() || Ctor->getParent()->isEmpty()) in EmitNewInitializer()
797 CGF.EmitCXXAggrConstructorCall(Ctor, NumElements, NewPtr, in EmitNewInitializer()
815 if (CXXConstructorDecl *Ctor = E->getConstructor()) { in EmitNewInitializer() local
820 !Ctor->getParent()->hasUserDeclaredConstructor() && in EmitNewInitializer()
821 !Ctor->getParent()->isEmpty()) in EmitNewInitializer()
824 CGF.EmitCXXConstructorCall(Ctor, Ctor_Complete, /*ForVirtualBase=*/false, in EmitNewInitializer()
DItaniumCXXABI.cpp96 void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
131 void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
678 void ItaniumCXXABI::BuildConstructorSignature(const CXXConstructorDecl *Ctor, in BuildConstructorSignature() argument
687 if (Type == Ctor_Base && Ctor->getParent()->getNumVBases() != 0) in BuildConstructorSignature()
692 void ARMCXXABI::BuildConstructorSignature(const CXXConstructorDecl *Ctor, in BuildConstructorSignature() argument
696 ItaniumCXXABI::BuildConstructorSignature(Ctor, Type, ResTy, ArgTys); in BuildConstructorSignature()
DCGCXXABI.h151 virtual void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
DCodeGenModule.h799 void AddGlobalCtor(llvm::Function *Ctor, int Priority=65535);
DCodeGenModule.cpp342 void CodeGenModule::AddGlobalCtor(llvm::Function * Ctor, int Priority) { in AddGlobalCtor() argument
344 GlobalCtors.push_back(std::make_pair(Ctor, Priority)); in AddGlobalCtor()
DCodeGenFunction.h1673 void EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor,
1680 void EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
/external/llvm/include/llvm/Support/
DRegistry.h23 T *(*Ctor)(); variable
27 : Name(N), Desc(D), Ctor(C) in SimpleRegistryEntry()
32 T *instantiate() const { return Ctor(); } in instantiate()
/external/llvm/include/llvm/
DPassSupport.h105 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor() argument
106 NormalCtor = Ctor; in setNormalCtor()
/external/clang/lib/AST/
DStmtDumper.cpp560 CXXConstructorDecl *Ctor = Node->getConstructor(); in VisitCXXConstructExpr() local
561 DumpType(Ctor->getType()); in VisitCXXConstructExpr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp1209 RegisterScheduler::FunctionPassCtor Ctor = RegisterScheduler::getDefault(); in CreateScheduler() local
1211 if (!Ctor) { in CreateScheduler()
1212 Ctor = ISHeuristic; in CreateScheduler()
1213 RegisterScheduler::setDefault(Ctor); in CreateScheduler()
1216 return Ctor(this, OptLevel); in CreateScheduler()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp492 } else if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(New)) { in MergeCXXFunctionDecl() local
493 CXXSpecialMember NewSM = getSpecialMember(Ctor), in MergeCXXFunctionDecl()
2129 CXXConstructorDecl *Ctor; member
2135 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) in BaseAndFieldInfo()
2136 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) { in BaseAndFieldInfo()
2138 if (Ctor->isImplicit() && Ctor->isCopyConstructor()) in BaseAndFieldInfo()
2214 if (BuildImplicitMemberInitializer(Info.S, Info.Ctor, Info.IIK, Field, Init)) in CollectFieldInitializer()
9132 void DelegatingCycleHelper(CXXConstructorDecl* Ctor, in DelegatingCycleHelper() argument
9139 if (Ctor->isInvalidDecl()) in DelegatingCycleHelper()
9147 (void)Ctor->getTargetConstructor()->hasBody(FNTarget); in DelegatingCycleHelper()
[all …]
DSemaOverload.cpp6641 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Fn)) { in ClassifyOverloadCandidate() local
6642 if (!Ctor->isImplicit()) in ClassifyOverloadCandidate()
6645 if (Ctor->getInheritedConstructor()) in ClassifyOverloadCandidate()
6648 if (Ctor->isDefaultConstructor()) in ClassifyOverloadCandidate()
6651 if (Ctor->isMoveConstructor()) in ClassifyOverloadCandidate()
6654 assert(Ctor->isCopyConstructor() && in ClassifyOverloadCandidate()
6677 const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Fn); in MaybeEmitInheritedConstructorNote() local
6678 if (!Ctor) return; in MaybeEmitInheritedConstructorNote()
6680 Ctor = Ctor->getInheritedConstructor(); in MaybeEmitInheritedConstructorNote()
6681 if (!Ctor) return; in MaybeEmitInheritedConstructorNote()
[all …]
DSemaTemplateInstantiateDecl.cpp2471 if (const CXXConstructorDecl *Ctor = in InstantiateFunctionDefinition() local
2473 InstantiateMemInitializers(cast<CXXConstructorDecl>(Function), Ctor, in InstantiateFunctionDefinition()
DSemaDecl.cpp1525 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) { in getSpecialMember() local
1526 if (Ctor->isDefaultConstructor()) in getSpecialMember()
1529 if (Ctor->isCopyConstructor()) in getSpecialMember()
1532 if (Ctor->isMoveConstructor()) in getSpecialMember()
DSemaExprCXX.cpp2114 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(FD); in PerformImplicitConversion() local
2121 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1565 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { in TraverseFunctionHelper() local
1567 for (CXXConstructorDecl::init_iterator I = Ctor->init_begin(), in TraverseFunctionHelper()
1568 E = Ctor->init_end(); in TraverseFunctionHelper()
/external/clang/include/clang/Sema/
DSema.h3419 void CheckExplicitlyDefaultedDefaultConstructor(CXXConstructorDecl *Ctor);
3420 void CheckExplicitlyDefaultedCopyConstructor(CXXConstructorDecl *Ctor);
/external/bison/doc/
Dbison.texinfo7162 @c - Ctor
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2938718 (WebCore::DatabaseTask::DatabaseTask): Ctor takes DatabaseTaskSynchronizer which can be 0.