Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDependentDiagnostic.h47 NamedDecl *TargetDecl, in Create() argument
55 DD->AccessData.TargetDecl = TargetDecl; in Create()
82 return AccessData.TargetDecl; in getAccessTarget()
119 NamedDecl *TargetDecl; member
/freebsd-12.1/contrib/llvm/tools/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.cpp1854 if (TargetDecl) { in ConstructAttributeList()
1857 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList()
1859 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList()
1861 if (TargetDecl->hasAttr<ColdAttr>()) in ConstructAttributeList()
1881 if (TargetDecl->hasAttr<ConstAttr>()) { in ConstructAttributeList()
1914 !(TargetDecl && TargetDecl->hasAttr<NoSplitStackAttr>())) in ConstructAttributeList()
1919 if (TargetDecl && CodeGenOpts.NoPLT) { in ConstructAttributeList()
1927 if (TargetDecl && TargetDecl->hasAttr<OpenCLKernelAttr>()) { in ConstructAttributeList()
1947 else if (TargetDecl) { in ConstructAttributeList()
4386 if (TargetDecl && TargetDecl->hasAttr<NotTailCalledAttr>()) in EmitCall()
[all …]
H A DCodeGenFunction.cpp2357 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2359 if (!TargetDecl) in checkTargetFeatures()
2371 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2383 << TargetDecl->getDeclName() in checkTargetFeatures()
2386 } else if (TargetDecl->hasAttr<TargetAttr>() || in checkTargetFeatures()
2387 TargetDecl->hasAttr<CPUSpecificAttr>()) { in checkTargetFeatures()
2390 const TargetAttr *TD = TargetDecl->getAttr<TargetAttr>(); in checkTargetFeatures()
2395 CGM.getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures()
2409 << FD->getDeclName() << TargetDecl->getDeclName() << MissingFeature; in checkTargetFeatures()
H A DCGExpr.cpp4630 const Decl *TargetDecl = in EmitCall() local
4633 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in EmitCall()
4640 if (TargetDecl->hasAttr<AlwaysInlineAttr>() && in EmitCall()
4641 TargetDecl->hasAttr<TargetAttr>()) in EmitCall()
4651 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
4703 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
H A DItaniumCXXABI.cpp3820 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
3828 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
H A DCodeGenFunction.h3597 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp338 if (const auto *TargetDecl = in VisitNestedNameSpecifierLocations() local
340 if (isInUSRSet(TargetDecl)) { in VisitNestedNameSpecifierLocations()
343 TargetDecl, in VisitNestedNameSpecifierLocations()
372 if (const auto *TargetDecl = getSupportedDeclFromTypeLoc(Loc)) { in VisitTypeLoc() local
373 if (isInUSRSet(TargetDecl)) { in VisitTypeLoc()
393 TargetDecl, in VisitTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCXXInheritance.cpp134 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local
135 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
136 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAccess.cpp1506 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1517 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaChecking.cpp302 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
303 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()