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

/external/clang/lib/CodeGen/
H A DCGCUDARuntime.cpp40 const Decl *TargetDecl = nullptr; local
43 TargetDecl = DRE->getDecl();
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl);
H A DCGCXX.cpp121 GlobalDecl TargetDecl,
135 getFunctionLinkage(TargetDecl);
152 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl));
161 !TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) {
120 TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, GlobalDecl TargetDecl, bool InEveryTU) argument
H A DCGCall.cpp1453 const Decl *TargetDecl = CalleeInfo.getCalleeDecl();
1456 if (TargetDecl) {
1457 if (TargetDecl->hasAttr<ReturnsTwiceAttr>())
1459 if (TargetDecl->hasAttr<NoThrowAttr>())
1461 if (TargetDecl->hasAttr<NoReturnAttr>())
1463 if (TargetDecl->hasAttr<NoDuplicateAttr>())
1466 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) {
1477 if (TargetDecl->hasAttr<ConstAttr>()) {
1480 } else if (TargetDecl->hasAttr<PureAttr>()) {
1483 } else if (TargetDecl
[all...]
H A DCodeGenFunction.cpp1287 const Decl *TargetDecl = Call->getCalleeDecl(); local
1288 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
1896 const FunctionDecl *TargetDecl) {
1898 if (!TargetDecl)
1910 unsigned BuiltinID = TargetDecl->getBuiltinID();
1922 << TargetDecl->getDeclName()
1925 } else if (TargetDecl->hasAttr<TargetAttr>()) {
1929 CGM.getFunctionFeatureMap(CalleeFeatureMap, TargetDecl);
1937 << FD->getDeclName() << TargetDecl->getDeclName() << MissingFeature;
H A DCGExpr.cpp3531 const Decl *TargetDecl = E->getCalleeDecl(); local
3532 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
3538 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl))
3594 TargetDecl);
3785 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); local
3787 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))
3794 if (TargetDecl->hasAttr<AlwaysInlineAttr>() &&
3795 TargetDecl->hasAttr<TargetAttr>())
3804 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) {
[all...]
H A DCGStmt.cpp1542 const Decl *TargetDecl = Call->getCalleeDecl(); local
1543 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
H A DItaniumCXXABI.cpp3410 GlobalDecl TargetDecl) {
3418 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl));
3408 emitConstructorDestructorAlias(CodeGenModule &CGM, GlobalDecl AliasDecl, GlobalDecl TargetDecl) argument
H A DCodeGenFunction.h2644 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
/external/clang/include/clang/AST/
H A DDependentDiagnostic.h44 NamedDecl *TargetDecl,
52 DD->AccessData.TargetDecl = TargetDecl;
79 return AccessData.TargetDecl;
115 NamedDecl *TargetDecl; member in struct:clang::DependentDiagnostic::__anon890
38 Create(ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) argument
/external/clang/lib/AST/
H A DCXXInheritance.cpp120 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl();
121 return forallBases([TargetDecl](const CXXRecordDecl *Base) {
122 return Base->getCanonicalDecl() != TargetDecl;
/external/clang/lib/Sema/
H A DSemaAccess.cpp1510 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); local
1521 DeclAccessPair::make(TargetDecl, Access),
H A DSemaChecking.cpp198 const Decl *TargetDecl = CE->getCalleeDecl(); local
199 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))

Completed in 1039 milliseconds