Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1808 const Decl *TargetDecl) { in HasStrictReturn() argument
1820 if (TargetDecl) { in HasStrictReturn()
1821 if (const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(TargetDecl)) { in HasStrictReturn()
1824 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn()
2226 static bool IsArgumentMaybeUndef(const Decl *TargetDecl, in IsArgumentMaybeUndef() argument
2228 const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in IsArgumentMaybeUndef()
2328 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() local
2332 AddAttributesFromOMPAssumes(FuncAttrs, TargetDecl); in ConstructAttributeList()
2350 if (TargetDecl) { in ConstructAttributeList()
2351 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
[all …]
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 DCodeGenFunction.cpp2688 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2692 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2704 << TargetDecl->getDeclName() << "avx"; in checkTargetFeatures()
2707 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in checkTargetFeatures()
2713 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
2715 if (!TargetDecl) in checkTargetFeatures()
2727 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
2741 << TargetDecl->getDeclName() in checkTargetFeatures()
2744 } else if (!TargetDecl->isMultiVersion() && in checkTargetFeatures()
2745 TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
[all …]
H A DCGExpr.cpp5817 const Decl *TargetDecl = in EmitCall() local
5820 assert((!isa_and_present<FunctionDecl>(TargetDecl) || in EmitCall()
5821 !cast<FunctionDecl>(TargetDecl)->isImmediateFunction()) && in EmitCall()
5831 (!TargetDecl || !isa<FunctionDecl>(TargetDecl)) && in EmitCall()
5909 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
6025 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
6038 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCall()
H A DCodeGenFunction.h4393 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
4394 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
H A DItaniumCXXABI.cpp4642 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
4650 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1550 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1561 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaChecking.cpp814 const Decl *TargetDecl = CE->getCalleeDecl(); in BuiltinCallWithStaticChain() local
815 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in BuiltinCallWithStaticChain()
H A DSemaOpenMP.cpp22371 void SemaOpenMP::ActOnOpenMPDeclareTargetInitializer(Decl *TargetDecl) { in ActOnOpenMPDeclareTargetInitializer() argument
22373 if (isa<VarDecl>(TargetDecl)) in ActOnOpenMPDeclareTargetInitializer()
22374 Checker.declareTargetInitializer(TargetDecl); in ActOnOpenMPDeclareTargetInitializer()