Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDependentDiagnostic.h44 NamedDecl *TargetDecl, in Create() argument
52 DD->AccessData.TargetDecl = TargetDecl; in Create()
79 return AccessData.TargetDecl; in getAccessTarget()
115 NamedDecl *TargetDecl; member
/external/clang/lib/CodeGen/
DCGCUDARuntime.cpp40 const Decl *TargetDecl = nullptr; in EmitCUDAKernelCallExpr() local
43 TargetDecl = DRE->getDecl(); in EmitCUDAKernelCallExpr()
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl); in EmitCUDAKernelCallExpr()
DCGCXX.cpp114 GlobalDecl TargetDecl, in TryEmitDefinitionAsAlias() argument
133 getFunctionLinkage(TargetDecl); in TryEmitDefinitionAsAlias()
150 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitDefinitionAsAlias()
159 !TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitDefinitionAsAlias()
DCGCall.cpp1384 const Decl *TargetDecl, in ConstructAttributeList() argument
1398 if (TargetDecl) { in ConstructAttributeList()
1399 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
1401 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList()
1403 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList()
1405 if (TargetDecl->hasAttr<NoDuplicateAttr>()) in ConstructAttributeList()
1408 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) { in ConstructAttributeList()
1420 if (TargetDecl->hasAttr<ConstAttr>()) { in ConstructAttributeList()
1423 } else if (TargetDecl->hasAttr<PureAttr>()) { in ConstructAttributeList()
1427 if (TargetDecl->hasAttr<RestrictAttr>()) in ConstructAttributeList()
[all …]
DCGExpr.cpp3105 const Decl *TargetDecl = E->getCalleeDecl(); in EmitCallExpr() local
3106 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCallExpr()
3112 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl)) in EmitCallExpr()
3171 TargetDecl); in EmitCallExpr()
3343 const Decl *TargetDecl, llvm::Value *Chain) { in EmitCall() argument
3355 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
3433 return EmitCall(FnInfo, Callee, ReturnValue, Args, TargetDecl); in EmitCall()
DCodeGenModule.h991 const Decl *TargetDecl,
DCodeGenFunction.h2413 const Decl *TargetDecl = nullptr,
2418 const Decl *TargetDecl = nullptr,
DItaniumCXXABI.cpp3211 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
3219 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
/external/clang/lib/Sema/
DSemaAccess.cpp1505 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
DSemaChecking.cpp164 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
165 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()