Searched refs:TargetDecl (Results 1 – 11 of 11) sorted by relevance
47 NamedDecl *TargetDecl, in Create() argument55 DD->AccessData.TargetDecl = TargetDecl; in Create()82 return AccessData.TargetDecl; in getAccessTarget()119 NamedDecl *TargetDecl; member
113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local124 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias()141 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias()150 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
1854 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 …]
2357 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument2359 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()
4630 const Decl *TargetDecl = in EmitCall() local4633 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()
3820 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument3828 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
3597 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
338 if (const auto *TargetDecl = in VisitNestedNameSpecifierLocations() local340 if (isInUSRSet(TargetDecl)) { in VisitNestedNameSpecifierLocations()343 TargetDecl, in VisitNestedNameSpecifierLocations()372 if (const auto *TargetDecl = getSupportedDeclFromTypeLoc(Loc)) { in VisitTypeLoc() local373 if (isInUSRSet(TargetDecl)) { in VisitTypeLoc()393 TargetDecl, in VisitTypeLoc()
134 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local135 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()136 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
1506 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local1517 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
302 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local303 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()