Home
last modified time | relevance | path

Searched refs:TargetDecl (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDependentDiagnostic.h46 NamedDecl *TargetDecl, in Create() argument
54 DD->AccessData.TargetDecl = TargetDecl; in Create()
81 return AccessData.TargetDecl; in getAccessTarget()
118 NamedDecl *TargetDecl; member
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp356 if (const auto *TargetDecl = in VisitNestedNameSpecifierLocations() local
358 if (isInUSRSet(TargetDecl)) { in VisitNestedNameSpecifierLocations()
361 TargetDecl, in VisitNestedNameSpecifierLocations()
390 if (const auto *TargetDecl = getSupportedDeclFromTypeLoc(Loc)) { in VisitTypeLoc() local
391 if (isInUSRSet(TargetDecl)) { in VisitTypeLoc()
411 TargetDecl, in VisitTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCXX.cpp113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local
124 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias()
141 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias()
150 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
H A DCGCall.cpp2006 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() local
2015 if (TargetDecl) { in ConstructAttributeList()
2016 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
2018 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList()
2020 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList()
2022 if (TargetDecl->hasAttr<ColdAttr>()) in ConstructAttributeList()
2024 if (TargetDecl->hasAttr<HotAttr>()) in ConstructAttributeList()
2026 if (TargetDecl->hasAttr<NoDuplicateAttr>()) in ConstructAttributeList()
2028 if (TargetDecl->hasAttr<ConvergentAttr>()) in ConstructAttributeList()
2031 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) { in ConstructAttributeList()
[all …]
H A DCodeGenFunction.cpp2436 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2437 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in checkTargetFeatures()
2443 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2445 if (!TargetDecl) in checkTargetFeatures()
2457 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2472 << TargetDecl->getDeclName() << FeatureList; in checkTargetFeatures()
2473 } else if (!TargetDecl->isMultiVersion() && in checkTargetFeatures()
2474 TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
2477 const TargetAttr *TD = TargetDecl->getAttr<TargetAttr>(); in checkTargetFeatures()
2483 CGM.getContext().getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures()
[all …]
H A DCGExpr.cpp5127 const Decl *TargetDecl = in EmitCall() local
5137 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
5190 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
5295 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
5309 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in EmitCall()
H A DCodeGenFunction.h3958 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
3959 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
H A DItaniumCXXABI.cpp4260 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
4268 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCXXInheritance.cpp110 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local
111 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
112 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp1519 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1530 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaChecking.cpp368 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
369 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()