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.cpp1637 const Decl *TargetDecl = CalleeInfo.getCalleeDecl();
1641 if (TargetDecl) {
1642 if (TargetDecl->hasAttr<ReturnsTwiceAttr>())
1644 if (TargetDecl->hasAttr<NoThrowAttr>())
1646 if (TargetDecl->hasAttr<NoReturnAttr>())
1648 if (TargetDecl->hasAttr<NoDuplicateAttr>())
1651 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) {
1662 if (TargetDecl->hasAttr<ConstAttr>()) {
1665 } else if (TargetDecl->hasAttr<PureAttr>()) {
1668 } else if (TargetDecl
[all...]
H A DCodeGenFunction.cpp1957 const FunctionDecl *TargetDecl) {
1959 if (!TargetDecl)
1971 unsigned BuiltinID = TargetDecl->getBuiltinID();
1983 << TargetDecl->getDeclName()
1986 } else if (TargetDecl->hasAttr<TargetAttr>()) {
1990 CGM.getFunctionFeatureMap(CalleeFeatureMap, TargetDecl);
1998 << FD->getDeclName() << TargetDecl->getDeclName() << MissingFeature;
H A DCGExpr.cpp3745 const Decl *TargetDecl = E->getCalleeDecl(); local
3746 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
3752 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl))
3808 TargetDecl);
3999 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); local
4001 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))
4008 if (TargetDecl->hasAttr<AlwaysInlineAttr>() &&
4009 TargetDecl->hasAttr<TargetAttr>())
4018 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) {
[all...]
H A DItaniumCXXABI.cpp3448 GlobalDecl TargetDecl) {
3456 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl));
3446 emitConstructorDestructorAlias(CodeGenModule &CGM, GlobalDecl AliasDecl, GlobalDecl TargetDecl) argument
H A DCodeGenFunction.h2829 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::__anon1173
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/swiftshader/third_party/subzero/src/
H A DIceASanInstrumentation.cpp139 const GlobalDeclaration *TargetDecl = RelocInit->getDeclaration(); local
141 llvm::dyn_cast<FunctionDeclaration>(TargetDecl);
146 std::string TargetName = TargetDecl->getName().toStringOrEmpty();
/external/clang/lib/Sema/
H A DSemaAccess.cpp1505 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); local
1516 DeclAccessPair::make(TargetDecl, Access),
H A DSemaChecking.cpp201 const Decl *TargetDecl = CE->getCalleeDecl(); local
202 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))

Completed in 414 milliseconds