Searched refs:TargetDecl (Results 1 – 11 of 11) sorted by relevance
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DependentDiagnostic.h | 46 NamedDecl *TargetDecl, in Create() argument 54 DD->AccessData.TargetDecl = TargetDecl; in Create() 81 return AccessData.TargetDecl; in getAccessTarget() 118 NamedDecl *TargetDecl; member
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() local 124 getFunctionLinkage(TargetDecl); in TryEmitBaseDestructorAsAlias() 141 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitBaseDestructorAsAlias() 150 TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitBaseDestructorAsAlias()
|
| H A D | CGCall.cpp | 1802 const Decl *TargetDecl) { in HasStrictReturn() argument 1814 if (TargetDecl) { in HasStrictReturn() 1815 if (const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(TargetDecl)) { in HasStrictReturn() 1818 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn() 2090 static bool IsArgumentMaybeUndef(const Decl *TargetDecl, in IsArgumentMaybeUndef() argument 2092 const auto *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl); in IsArgumentMaybeUndef() 2148 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() local 2152 AddAttributesFromAssumes(FuncAttrs, TargetDecl); in ConstructAttributeList() 2170 if (TargetDecl) { in ConstructAttributeList() 2171 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList() [all …]
|
| H A D | CodeGenFunction.cpp | 2550 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument 2551 return checkTargetFeatures(E->getBeginLoc(), TargetDecl); in checkTargetFeatures() 2557 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument 2559 if (!TargetDecl) in checkTargetFeatures() 2571 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures() 2580 << TargetDecl->getDeclName() in checkTargetFeatures() 2583 } else if (!TargetDecl->isMultiVersion() && in checkTargetFeatures() 2584 TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures() 2587 const TargetAttr *TD = TargetDecl->getAttr<TargetAttr>(); in checkTargetFeatures() 2593 CGM.getContext().getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures() [all …]
|
| H A D | CGExpr.cpp | 5308 const Decl *TargetDecl = in EmitCall() local 5318 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall() 5371 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall() 5476 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall() 5491 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCall()
|
| H A D | CodeGenFunction.h | 4030 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl); 4031 void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
|
| H A D | ItaniumCXXABI.cpp | 4293 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument 4301 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 356 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()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 109 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local 110 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom() 111 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 1522 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local 1533 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
|
| H A D | SemaChecking.cpp | 750 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local 751 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()
|