Searched refs:TargetDecl (Results 1 – 10 of 10) sorted by relevance
1808 const Decl *TargetDecl) { in HasStrictReturn() argument1820 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() argument2228 const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in IsArgumentMaybeUndef()2328 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() local2332 AddAttributesFromOMPAssumes(FuncAttrs, TargetDecl); in ConstructAttributeList()2350 if (TargetDecl) { in ConstructAttributeList()2351 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()[all …]
118 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local129 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias()142 auto *Aliasee = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias()148 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
2688 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument2692 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() argument2715 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 …]
5817 const Decl *TargetDecl = in EmitCall() local5820 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()
4393 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);4394 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
4642 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument4650 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
110 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local111 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()112 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
1550 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local1561 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
814 const Decl *TargetDecl = CE->getCalleeDecl(); in BuiltinCallWithStaticChain() local815 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in BuiltinCallWithStaticChain()
22371 void SemaOpenMP::ActOnOpenMPDeclareTargetInitializer(Decl *TargetDecl) { in ActOnOpenMPDeclareTargetInitializer() argument22373 if (isa<VarDecl>(TargetDecl)) in ActOnOpenMPDeclareTargetInitializer()22374 Checker.declareTargetInitializer(TargetDecl); in ActOnOpenMPDeclareTargetInitializer()