Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1905 const Decl *TargetDecl) { in HasStrictReturn() argument
1917 if (TargetDecl) { in HasStrictReturn()
1918 if (const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(TargetDecl)) { in HasStrictReturn()
1921 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn()
2330 static bool IsArgumentMaybeUndef(const Decl *TargetDecl, in IsArgumentMaybeUndef() argument
2332 const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in IsArgumentMaybeUndef()
2430 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() local
2434 AddAttributesFromOMPAssumes(FuncAttrs, TargetDecl); in ConstructAttributeList()
2452 if (TargetDecl) { in ConstructAttributeList()
2453 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
[all …]
H A DCGCXX.cpp116 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local
127 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias()
140 auto *Aliasee = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias()
146 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
H A DCodeGenFunction.cpp2796 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2800 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2812 << TargetDecl->getDeclName() << "avx"; in checkTargetFeatures()
2815 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in checkTargetFeatures()
2821 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2823 if (!TargetDecl) in checkTargetFeatures()
2835 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2849 << TargetDecl->getDeclName() in checkTargetFeatures()
2852 } else if (!TargetDecl->isMultiVersion() && in checkTargetFeatures()
2853 TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
[all …]
H A DCGExpr.cpp6288 const Decl *TargetDecl = in EmitCall() local
6291 assert((!isa_and_present<FunctionDecl>(TargetDecl) || in EmitCall()
6292 !cast<FunctionDecl>(TargetDecl)->isImmediateFunction()) && in EmitCall()
6302 (!TargetDecl || !isa<FunctionDecl>(TargetDecl)) && in EmitCall()
6378 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in EmitCall()
6388 (!TargetDecl || !isa<FunctionDecl>(TargetDecl)) && !CFIUnchecked) { in EmitCall()
6478 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
6491 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCall()
H A DItaniumCXXABI.cpp4689 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
4697 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
H A DCodeGenFunction.h4532 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
4533 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp108 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local
109 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
110 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1549 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1560 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaChecking.cpp812 const Decl *TargetDecl = CE->getCalleeDecl(); in BuiltinCallWithStaticChain() local
813 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in BuiltinCallWithStaticChain()
H A DSemaOpenMP.cpp23288 void SemaOpenMP::ActOnOpenMPDeclareTargetInitializer(Decl *TargetDecl) { in ActOnOpenMPDeclareTargetInitializer() argument
23290 if (isa<VarDecl>(TargetDecl)) in ActOnOpenMPDeclareTargetInitializer()
23291 Checker.declareTargetInitializer(TargetDecl); in ActOnOpenMPDeclareTargetInitializer()