/netbsd-current/external/apache2/llvm/dist/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);
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Registry.h | 88 static bool isBuilderMatcher(MatcherCtor Ctor); 125 /// \param Ctor The matcher constructor to instantiate. 138 static VariantMatcher constructMatcher(MatcherCtor Ctor, 149 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, 144 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, 153 bool isBuilderMatcher(MatcherCtor Ctor) const override; 253 bool parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, 257 llvm::Optional<MatcherCtor> Ctor,
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 125 Function *Ctor = Function::createWithDefaultAttr( local 128 Ctor->addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind); 129 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); 131 return Ctor; 143 Function *Ctor = createSanitizerCtor(M, CtorName); local 144 IRBuilder<> IRB(Ctor->getEntryBlock().getTerminator()); 152 return std::make_pair(Ctor, InitFunction); 163 if (Function *Ctor = M.getFunction(CtorName)) 166 if (Ctor->arg_size() == 0 || 167 Ctor [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ |
H A D | PassInfo.h | 91 void setNormalCtor(NormalCtor_t Ctor) { argument 92 NormalCtor = Ctor;
|
/netbsd-current/external/apache2/llvm/dist/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 | BlockInCriticalSectionChecker.cpp | 110 if (const auto *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 111 auto IdentifierInfo = Ctor->getDecl()->getParent()->getIdentifier();
|
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 | DynamicTypePropagation.cpp | 264 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 273 switch (Ctor->getOriginExpr()->getConstructionKind()) { 280 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) 281 recordFixedType(Target, Ctor->getDecl(), C); 363 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 365 switch (Ctor->getOriginExpr()->getConstructionKind()) { 376 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) { 388 LCtx->getParentMap().getParent(Ctor->getOriginExpr())))
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 441 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); local 444 return parseMatcherExpressionImpl(NameToken, OpenToken, Ctor, Value); 471 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, argument 480 ScopedContextEntry SCE(this, Ctor); 554 S->buildMatcherCtor(Ctor, NameToken.Range, Args, Error); 631 llvm::Optional<MatcherCtor> Ctor, 633 if (!Ctor) { 639 if (Ctor && *Ctor && S->isBuilderMatcher(*Ctor)) 629 parseMatcherExpressionImpl(const TokenInfo &NameToken, const TokenInfo &OpenToken, llvm::Optional<MatcherCtor> Ctor, VariantValue *Value) argument 836 actOnMatcherExpression( MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, ArrayRef<ParserValue> Args, Diagnostics *Error) argument 866 buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) const argument [all...] |
H A D | Registry.cpp | 577 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { argument 578 return Ctor->nodeMatcherType(); 586 bool Registry::isBuilderMatcher(MatcherCtor Ctor) { argument 587 return Ctor->isBuilderMatcher(); 591 Registry::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, argument 594 Ctor->buildMatcherCtor(NameRange, Args, Error).release()); 639 MatcherCtor Ctor = CtxEntry.first; local 644 Ctor->isConvertibleTo(Kind.getMatcherKind()) && 645 (Ctor->isVariadic() || ArgNumber < Ctor 760 constructMatcher(MatcherCtor Ctor, SourceRange NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument 767 constructBoundMatcher(MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, ArrayRef<ParserValue> Args, Diagnostics *Error) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/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(); }
|
/netbsd-current/external/apache2/llvm/dist/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 | 590 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(&Func)) { 593 for (const CXXCtorInitializer *Init : Ctor->inits()) { 595 for (const ParmVarDecl *Parm : Ctor->parameters()) {
|
/netbsd-current/external/apache2/llvm/dist/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.
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 731 const CXXConstructorDecl *Ctor) { 745 if (Ctor->getParent()->getNumVBases()) { 765 if (Ctor->getType()->castAs<FunctionProtoType>()->isVariadic()) 769 if (Ctor->isDelegatingConstructor()) 842 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); local 851 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && 853 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getEndLoc()); 858 Stmt *Body = Ctor->getBody(Definition); 859 assert(Definition == Ctor 730 IsConstructorDelegationValid( const CXXConstructorDecl *Ctor) argument 2104 canEmitDelegateCallArgs(CodeGenFunction &CGF, const CXXConstructorDecl *Ctor, CXXCtorType Type, CallArgList &Args) argument 2252 EmitInlinedInheritingCXXConstructorCall( const CXXConstructorDecl *Ctor, CXXCtorType CtorType, bool ForVirtualBase, bool Delegating, CallArgList &Args) argument 2353 EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, CXXCtorType CtorType, const FunctionArgList &Args, SourceLocation Loc) argument 2410 EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor, const FunctionArgList &Args) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFindingAction.cpp | 173 if (const auto *Ctor = 175 USRSet.insert(getUSRForDecl(Ctor));
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexDecl.cpp | 256 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { 257 IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(), 258 Ctor->getParent(), Ctor->getDeclContext(), 262 for (const auto *Init : Ctor->inits()) {
|
/netbsd-current/external/apache2/llvm/dist/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 | CallEvent.cpp | 509 if (const auto Ctor = Element.getAs<CFGConstructor>()) { 510 return Ctor->getConstructionContext(); 1404 const auto *Ctor = cast<CXXMethodDecl>(CalleeCtx->getDecl()); local 1405 Loc ThisPtr = SVB.getCXXThis(Ctor, CalleeCtx);
|
H A D | ExprEngineCallAndReturn.cpp | 751 const CXXConstructorCall &Ctor = cast<CXXConstructorCall>(Call); local 753 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); 777 if (Ctor.getDecl()->getParent()->hasTrivialDestructor())
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerCoverage.cpp | 487 Function *Ctor = nullptr; local 490 Ctor = CreateInitCallsForSections(M, SanCovModuleCtorTracePcGuardName, 494 Ctor = CreateInitCallsForSections(M, SanCovModuleCtor8bitCountersName, 498 Ctor = CreateInitCallsForSections(M, SanCovModuleCtorBoolFlagName, 502 if (Ctor && Options.PCTable) { 506 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator());
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 205 const CXXConstructorDecl *Ctor = CCE->getConstructor(); local 206 if (Ctor->isTrivial() && Ctor->isDefaultConstructor() && 210 else if (!Ctor->getParent()->isPOD())
|
H A D | SemaDeclCXX.cpp | 4860 CXXConstructorDecl *Ctor; 4867 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits) 4868 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) { 4869 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted(); 4870 if (Ctor->getInheritedConstructor()) 4872 else if (Generated && Ctor->isCopyConstructor()) 4874 else if (Generated && Ctor->isMoveConstructor()) 4991 SemaRef.BuildCXXDefaultInitExpr(Info.Ctor [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | TargetPassConfig.cpp | 1324 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 1325 if (Ctor != useDefaultRegisterAllocator) 1326 return Ctor();
|