Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A 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()
H A 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()
H A DCGCall.cpp1363 const Decl *TargetDecl, in ConstructAttributeList() argument
1377 if (TargetDecl) { in ConstructAttributeList()
1378 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
1380 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList()
1382 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList()
1384 if (TargetDecl->hasAttr<NoDuplicateAttr>()) in ConstructAttributeList()
1387 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) { in ConstructAttributeList()
1399 if (TargetDecl->hasAttr<ConstAttr>()) { in ConstructAttributeList()
1402 } else if (TargetDecl->hasAttr<PureAttr>()) { in ConstructAttributeList()
1406 if (TargetDecl->hasAttr<MallocAttr>()) in ConstructAttributeList()
[all …]
H A DCGExpr.cpp3082 const Decl *TargetDecl = E->getCalleeDecl(); in EmitCallExpr() local
3083 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCallExpr()
3089 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl)) in EmitCallExpr()
3148 TargetDecl); in EmitCallExpr()
3320 const Decl *TargetDecl, llvm::Value *Chain) { in EmitCall() argument
3338 if (const FunctionDecl* FD = dyn_cast_or_null<const FunctionDecl>(TargetDecl)) in EmitCall()
3342 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
3421 return EmitCall(FnInfo, Callee, ReturnValue, Args, TargetDecl); in EmitCall()
H A DCodeGenModule.h986 const Decl *TargetDecl,
H A DCodeGenFunction.h2276 const Decl *TargetDecl = nullptr,
2281 const Decl *TargetDecl = nullptr,
H A DItaniumCXXABI.cpp3127 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
3135 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDependentDiagnostic.h44 NamedDecl *TargetDecl, in Create() argument
52 DD->AccessData.TargetDecl = TargetDecl; in Create()
79 return AccessData.TargetDecl; in getAccessTarget()
115 NamedDecl *TargetDecl; member
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp1505 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
H A DSemaChecking.cpp164 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
165 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()