Searched refs:TargetDecl (Results 1 – 12 of 12) sorted by relevance
/external/clang/include/clang/AST/ |
D | DependentDiagnostic.h | 44 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/ |
D | CGCUDARuntime.cpp | 40 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()
|
D | CGCXX.cpp | 121 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()
|
D | CGCall.cpp | 1637 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 …]
|
D | CodeGenFunction.cpp | 1957 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()
|
D | CGExpr.cpp | 3745 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 …]
|
D | ItaniumCXXABI.cpp | 3448 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument 3456 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
|
D | CodeGenFunction.h | 2829 void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
|
/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 120 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/ |
D | IceASanInstrumentation.cpp | 139 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/ |
D | SemaAccess.cpp | 1505 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local 1516 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
|
D | SemaChecking.cpp | 201 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local 202 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()
|