/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachinePassRegistry.h | 53 PassCtorTy Ctor; // Pass creator. member in class:llvm::MachinePassRegistryNode 57 : Name(N), Description(D), Ctor(C) {} 64 PassCtorTy getCtor() const { return Ctor; } 91 PassCtorTy Ctor = nullptr; local 95 Ctor = R->getCtor(); 99 assert(Ctor && "Unregistered pass name"); 100 setDefault(Ctor);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Registry.h | 100 /// \param Ctor The matcher constructor to instantiate. 113 static VariantMatcher constructMatcher(MatcherCtor Ctor, 124 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
|
H A D | Parser.h | 75 /// \param Ctor A matcher constructor looked up by lookupMatcherCtor. 88 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, 136 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ |
H A D | PassInfo.h | 91 void setNormalCtor(NormalCtor_t Ctor) { argument 92 NormalCtor = Ctor;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefinedArraySubscriptChecker.cpp | 44 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) 45 if (Ctor->isDefaulted())
|
H A D | Iterator.cpp | 39 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(Method)) { 40 if (Ctor->isCopyConstructor()) { 41 HasCopyCtor = !Ctor->isDeleted() && Ctor->getAccess() == AS_public;
|
H A D | BlockInCriticalSectionChecker.cpp | 110 if (const auto *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 111 auto IdentifierInfo = Ctor->getDecl()->getParent()->getIdentifier();
|
H A D | DynamicTypePropagation.cpp | 146 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 155 switch (Ctor->getOriginExpr()->getConstructionKind()) { 162 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) 163 recordFixedType(Target, Ctor->getDecl(), C); 236 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 238 switch (Ctor->getOriginExpr()->getConstructionKind()) { 249 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) { 261 LCtx->getParentMap().getParent(Ctor->getOriginExpr())))
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 129 Function *Ctor = Function::Create( local 132 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); 141 return std::make_pair(Ctor, InitFunction); 152 if (Function *Ctor = M.getFunction(CtorName)) 155 if (Ctor->arg_size() == 0 || 156 Ctor->getReturnType() == Type::getVoidTy(M.getContext())) 157 return {Ctor, declareSanitizerInitFunction(M, InitName, InitArgTypes)}; 159 Function *Ctor; 161 std::tie(Ctor, InitFunction) = llvm::createSanitizerCtorAndInitFunctions( 163 FunctionsCreatedCallback(Ctor, InitFunctio [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Registry.h | 29 std::unique_ptr<T> (*Ctor)(); member in class:llvm::SimpleRegistryEntry::std 33 : Name(N), Desc(D), Ctor(C) {} 37 std::unique_ptr<T> instantiate() const { return Ctor(); }
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 463 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); local 465 if (!Ctor) { 477 ScopedContextEntry SCE(this, Ctor ? *Ctor : nullptr); 523 if (!Ctor) 532 *Ctor, MatcherRange, BindID, Args, Error); 640 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, 643 return Registry::constructMatcher(Ctor, NameRange, Args, Error); 645 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args, 639 actOnMatcherExpression( MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
|
H A D | Registry.cpp | 575 MatcherCtor Ctor = CtxEntry.first; local 580 Ctor->isConvertibleTo(Kind.getMatcherKind()) && 581 (Ctor->isVariadic() || ArgNumber < Ctor->getNumArgs())) 582 Ctor->getArgKinds(Kind.getMatcherKind(), ArgNumber, NextTypeSet); 669 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, argument 673 return Ctor->create(NameRange, Args, Error); 676 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, argument 681 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CallGraph.cpp | 97 CXXConstructorDecl *Ctor = E->getConstructor(); local 98 if (FunctionDecl *Def = Ctor->getDefinition())
|
H A D | ExprMutationAnalyzer.cpp | 437 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(&Func)) { 440 for (const CXXCtorInitializer *Init : Ctor->inits()) { 442 for (const ParmVarDecl *Parm : Ctor->parameters()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
H A D | UninitializedObjectChecker.cpp | 114 /// Checks whether the object constructed by \p Ctor will be analyzed later 117 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor, 473 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor, argument 476 const TypedValueRegion *CurrRegion = getConstructedRegion(Ctor, Context); 483 // If \p Ctor was called by another constructor.
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcMCJITReplacement.h | 273 for (auto Ctor : orc::getConstructors(*M)) { 275 Ctor.Func->setName(NewCtorName); 276 Ctor.Func->setLinkage(GlobalValue::ExternalLinkage); 277 Ctor.Func->setVisibility(GlobalValue::HiddenVisibility);
|
H A D | OrcCBindingsStack.h | 298 for (auto Ctor : orc::getConstructors(*M)) 299 CtorNames.push_back(mangle(Ctor.Func->getName()));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 708 const CXXConstructorDecl *Ctor) { 722 if (Ctor->getParent()->getNumVBases()) { 742 if (Ctor->getType()->castAs<FunctionProtoType>()->isVariadic()) 746 if (Ctor->isDelegatingConstructor()) 820 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); local 829 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && 831 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getEndLoc()); 836 Stmt *Body = Ctor->getBody(Definition); 837 assert(Definition == Ctor 707 IsConstructorDelegationValid( const CXXConstructorDecl *Ctor) argument 2079 canEmitDelegateCallArgs(CodeGenFunction &CGF, const CXXConstructorDecl *Ctor, CXXCtorType Type, CallArgList &Args) argument 2227 EmitInlinedInheritingCXXConstructorCall( const CXXConstructorDecl *Ctor, CXXCtorType CtorType, bool ForVirtualBase, bool Delegating, CallArgList &Args) argument 2328 EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, CXXCtorType CtorType, const FunctionArgList &Args, SourceLocation Loc) argument 2385 EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor, const FunctionArgList &Args) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 251 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { 252 IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(), 253 Ctor->getParent(), Ctor->getDeclContext(), 257 for (const auto *Init : Ctor->inits()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 45 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 46 assert(Ctor->getDecl()->isTrivial()); 47 assert(Ctor->getDecl()->isCopyOrMoveConstructor()); 48 ThisVal = Ctor->getCXXThisVal(); 49 ThisRD = Ctor->getDecl()->getParent();
|
H A D | ExprEngineCallAndReturn.cpp | 737 const CXXConstructorCall &Ctor = cast<CXXConstructorCall>(Call); local 739 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); 763 if (Ctor.getDecl()->getParent()->hasTrivialDestructor())
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerCoverage.cpp | 455 Function *Ctor = nullptr; local 458 Ctor = CreateInitCallsForSections(M, SanCovModuleCtorTracePcGuardName, 462 Ctor = CreateInitCallsForSections(M, SanCovModuleCtor8bitCountersName, 465 if (Ctor && Options.PCTable) { 469 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 194 const CXXConstructorDecl *Ctor = CCE->getConstructor(); local 195 if (Ctor->isTrivial() && Ctor->isDefaultConstructor() && 199 else if (!Ctor->getParent()->isPOD())
|
H A D | SemaDeclCXX.cpp | 4777 CXXConstructorDecl *Ctor; 4784 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) 4785 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) { 4786 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted(); 4787 if (Ctor->getInheritedConstructor()) 4789 else if (Generated && Ctor->isCopyConstructor()) 4791 else if (Generated && Ctor->isMoveConstructor()) 4908 SemaRef.BuildCXXDefaultInitExpr(Info.Ctor [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetPassConfig.cpp | 1087 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 1088 if (Ctor != useDefaultRegisterAllocator) 1089 return Ctor();
|