Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
120 NamedDecl *TargetDecl; member
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp118 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local
129 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias()
142 auto *Aliasee = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias()
148 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
H A DCGCall.cpp1842 if (TargetDecl) { in HasStrictReturn()
2368 if (TargetDecl) { in ConstructAttributeList()
2405 if (isa<FunctionDecl>(TargetDecl) || isa<VarDecl>(TargetDecl)) { in ConstructAttributeList()
2486 if (TargetDecl) { in ConstructAttributeList()
2529 if (TargetDecl && TargetDecl->hasAttr<CmseNSEntryAttr>()) in ConstructAttributeList()
2538 if (!TargetDecl) in ConstructAttributeList()
2811 if (TargetDecl && TargetDecl->hasAttr<OpenCLKernelAttr>() && in ConstructAttributeList()
5564 !(TargetDecl && TargetDecl->hasAttr<NoInlineAttr>())) { in EmitCall()
5676 if (TargetDecl && TargetDecl->hasAttr<NotTailCalledAttr>()) in EmitCall()
5683 if (getDebugInfo() && TargetDecl && in EmitCall()
[all …]
H A DCodeGenFunction.cpp2607 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2608 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in checkTargetFeatures()
2614 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2616 if (!TargetDecl) in checkTargetFeatures()
2628 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2642 << TargetDecl->getDeclName() in checkTargetFeatures()
2645 } else if (!TargetDecl->isMultiVersion() && in checkTargetFeatures()
2646 TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
2649 const TargetAttr *TD = TargetDecl->getAttr<TargetAttr>(); in checkTargetFeatures()
2655 CGM.getContext().getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures()
[all …]
H A DCGExpr.cpp5723 const Decl *TargetDecl = in EmitCall() local
5726 assert((!isa_and_present<FunctionDecl>(TargetDecl) || in EmitCall()
5727 !cast<FunctionDecl>(TargetDecl)->isImmediateFunction()) && in EmitCall()
5737 (!TargetDecl || !isa<FunctionDecl>(TargetDecl)) && in EmitCall()
5806 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
5922 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
5935 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCall()
H A DCodeGenFunction.h4141 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
4142 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
H A DItaniumCXXABI.cpp4367 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
4375 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp357 if (const auto *TargetDecl = in VisitNestedNameSpecifierLocations() local
359 if (isInUSRSet(TargetDecl)) { in VisitNestedNameSpecifierLocations()
362 TargetDecl, in VisitNestedNameSpecifierLocations()
391 if (const auto *TargetDecl = getSupportedDeclFromTypeLoc(Loc)) { in VisitTypeLoc() local
392 if (isInUSRSet(TargetDecl)) { in VisitTypeLoc()
412 TargetDecl, in VisitTypeLoc()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1532 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1543 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaOpenMP.cpp23528 void Sema::ActOnOpenMPDeclareTargetInitializer(Decl *TargetDecl) { in ActOnOpenMPDeclareTargetInitializer() argument
23530 if (isa<VarDecl>(TargetDecl)) in ActOnOpenMPDeclareTargetInitializer()
23531 Checker.declareTargetInitializer(TargetDecl); in ActOnOpenMPDeclareTargetInitializer()
H A DSemaChecking.cpp785 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
786 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()