Home
last modified time | relevance | path

Searched refs:TargetDecl (Results 1 – 12 of 12) 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.cpp121 GlobalDecl TargetDecl, in TryEmitDefinitionAsAlias() argument
135 getFunctionLinkage(TargetDecl); in TryEmitDefinitionAsAlias()
152 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitDefinitionAsAlias()
161 !TargetDecl.getDecl()->hasAttr<AlwaysInlineAttr>())) { in TryEmitDefinitionAsAlias()
DCGCall.cpp1637 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in ConstructAttributeList() local
1641 if (TargetDecl) { in ConstructAttributeList()
1642 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList()
1644 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList()
1646 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList()
1648 if (TargetDecl->hasAttr<NoDuplicateAttr>()) in ConstructAttributeList()
1651 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) { in ConstructAttributeList()
1662 if (TargetDecl->hasAttr<ConstAttr>()) { in ConstructAttributeList()
1665 } else if (TargetDecl->hasAttr<PureAttr>()) { in ConstructAttributeList()
1668 } else if (TargetDecl->hasAttr<NoAliasAttr>()) { in ConstructAttributeList()
[all …]
DCodeGenFunction.cpp1957 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument
1959 if (!TargetDecl) in checkTargetFeatures()
1971 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures()
1983 << TargetDecl->getDeclName() in checkTargetFeatures()
1986 } else if (TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures()
1990 CGM.getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures()
1998 << FD->getDeclName() << TargetDecl->getDeclName() << MissingFeature; in checkTargetFeatures()
DCGExpr.cpp3745 const Decl *TargetDecl = E->getCalleeDecl(); in EmitCallExpr() local
3746 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCallExpr()
3752 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl)) in EmitCallExpr()
3808 TargetDecl); in EmitCallExpr()
3999 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in EmitCall() local
4001 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in EmitCall()
4008 if (TargetDecl->hasAttr<AlwaysInlineAttr>() && in EmitCall()
4009 TargetDecl->hasAttr<TargetAttr>()) in EmitCall()
4018 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
4065 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall()
[all …]
DItaniumCXXABI.cpp3448 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument
3456 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
DCodeGenFunction.h2829 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
/external/clang/lib/AST/
DCXXInheritance.cpp120 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom() local
121 return forallBases([TargetDecl](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
122 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
/external/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp139 const GlobalDeclaration *TargetDecl = RelocInit->getDeclaration(); in instrumentGlobals() local
141 llvm::dyn_cast<FunctionDeclaration>(TargetDecl); in instrumentGlobals()
146 std::string TargetName = TargetDecl->getName().toStringOrEmpty(); in instrumentGlobals()
/external/clang/lib/Sema/
DSemaAccess.cpp1505 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local
1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
DSemaChecking.cpp201 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local
202 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()