Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DDependentDiagnostic.h46 NamedDecl *TargetDecl, in Create() argument
54 DD->AccessData.TargetDecl = TargetDecl; in Create()
81 return AccessData.TargetDecl; in getAccessTarget()
120 NamedDecl *TargetDecl; member
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1808 const Decl *TargetDecl) { in AddAttributesFromAssumes()
1820 if (TargetDecl) { in MayDropFunctionReturn()
1821 if (const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(TargetDecl)) { in MayDropFunctionReturn()
1824 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in MayDropFunctionReturn()
2226 static bool IsArgumentMaybeUndef(const Decl *TargetDecl, in DetermineNoUndef()
2228 const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in DetermineNoUndef()
2328 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList()
2332 AddAttributesFromOMPAssumes(FuncAttrs, TargetDecl); in ConstructAttributeList()
2350 if (TargetDecl) { in ConstructAttributeList()
2351 if (TargetDecl in ConstructAttributeList()
1830 HasStrictReturn(const CodeGenModule & Module,QualType RetTy,const Decl * TargetDecl) HasStrictReturn() argument
2244 IsArgumentMaybeUndef(const Decl * TargetDecl,unsigned NumRequiredArgs,unsigned ArgNo) IsArgumentMaybeUndef() argument
2346 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); ConstructAttributeList() local
4991 const Decl *TargetDecl = Callee.getAbstractInfo().getCalleeDecl().getDecl(); EmitCall() local
[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()
2692 unsigned BuiltinID = TargetDecl->getBuiltinID(); in EmitSanitizerStatReport()
2704 << TargetDecl->getDeclName() << "avx"; in EmitKCFIOperandBundle()
2707 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in FormAArch64ResolverCondition()
2713 const FunctionDecl *TargetDecl) { in FormAArch64ResolverCondition()
2715 if (!TargetDecl) in FormAArch64ResolverCondition()
2727 unsigned BuiltinID = TargetDecl->getBuiltinID(); in FormX86ResolverCondition()
2741 << TargetDecl->getDeclName() in FormX86ResolverCondition()
2744 } else if (!TargetDecl->isMultiVersion() && in CreateMultiVersionResolverReturn()
2745 TargetDecl in CreateMultiVersionResolverReturn()
2607 checkTargetFeatures(const CallExpr * E,const FunctionDecl * TargetDecl) checkTargetFeatures() argument
2614 checkTargetFeatures(SourceLocation Loc,const FunctionDecl * TargetDecl) checkTargetFeatures() argument
[all...]
H A DCGExpr.cpp5817 const Decl *TargetDecl = in EmitCall()
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 SetDivFPAccuracy()
6038 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
5723 const Decl *TargetDecl = EmitCall() local
[all...]
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 InitCatchParam()
4650 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in InitCatchParam()
4367 emitConstructorDestructorAlias(CodeGenModule & CGM,GlobalDecl AliasDecl,GlobalDecl TargetDecl) emitConstructorDestructorAlias() argument
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp357 if (const auto *TargetDecl = in VisitNestedNameSpecifierLocations() local
359 if (isInUSRSet(TargetDecl)) { in VisitNestedNameSpecifierLocations()
362 TargetDecl, in VisitNestedNameSpecifierLocations()
391 if (const auto *TargetDecl = getSupportedDeclFromTypeLoc(Loc)) { in VisitTypeLoc() local
392 if (isInUSRSet(TargetDecl)) { in VisitTypeLoc()
412 TargetDecl, in VisitTypeLoc()
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1550 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck()
1561 DeclAccessPair::make(TargetDecl, Access), in CheckUnresolvedLookupAccess()
1532 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); HandleDependentAccessCheck() local
H A DSemaOpenMP.cpp22371 void SemaOpenMP::ActOnOpenMPDeclareTargetInitializer(Decl *TargetDecl) { in checkMappableExpressionList()
22373 if (isa<VarDecl>(TargetDecl)) in checkMappableExpressionList()
22374 Checker.declareTargetInitializer(TargetDecl); in checkMappableExpressionList()
23528 ActOnOpenMPDeclareTargetInitializer(Decl * TargetDecl) ActOnOpenMPDeclareTargetInitializer() argument
H A DSemaChecking.cpp814 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain()
815 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()
785 const Decl *TargetDecl = CE->getCalleeDecl(); SemaBuiltinCallWithStaticChain() local