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 | 1453 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in ConstructAttributeList() local 1456 if (TargetDecl) { in ConstructAttributeList() 1457 if (TargetDecl->hasAttr<ReturnsTwiceAttr>()) in ConstructAttributeList() 1459 if (TargetDecl->hasAttr<NoThrowAttr>()) in ConstructAttributeList() 1461 if (TargetDecl->hasAttr<NoReturnAttr>()) in ConstructAttributeList() 1463 if (TargetDecl->hasAttr<NoDuplicateAttr>()) in ConstructAttributeList() 1466 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) { in ConstructAttributeList() 1477 if (TargetDecl->hasAttr<ConstAttr>()) { in ConstructAttributeList() 1480 } else if (TargetDecl->hasAttr<PureAttr>()) { in ConstructAttributeList() 1483 } else if (TargetDecl->hasAttr<NoAliasAttr>()) { in ConstructAttributeList() [all …]
|
D | CodeGenFunction.cpp | 1287 const Decl *TargetDecl = Call->getCalleeDecl(); in EmitBranchOnBoolExpr() local 1288 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitBranchOnBoolExpr() 1896 const FunctionDecl *TargetDecl) { in checkTargetFeatures() argument 1898 if (!TargetDecl) in checkTargetFeatures() 1910 unsigned BuiltinID = TargetDecl->getBuiltinID(); in checkTargetFeatures() 1922 << TargetDecl->getDeclName() in checkTargetFeatures() 1925 } else if (TargetDecl->hasAttr<TargetAttr>()) { in checkTargetFeatures() 1929 CGM.getFunctionFeatureMap(CalleeFeatureMap, TargetDecl); in checkTargetFeatures() 1937 << FD->getDeclName() << TargetDecl->getDeclName() << MissingFeature; in checkTargetFeatures()
|
D | CGExpr.cpp | 3531 const Decl *TargetDecl = E->getCalleeDecl(); in EmitCallExpr() local 3532 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCallExpr() 3538 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(TargetDecl)) in EmitCallExpr() 3594 TargetDecl); in EmitCallExpr() 3785 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in EmitCall() local 3787 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in EmitCall() 3794 if (TargetDecl->hasAttr<AlwaysInlineAttr>() && in EmitCall() 3795 TargetDecl->hasAttr<TargetAttr>()) in EmitCall() 3804 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall() 3851 (!TargetDecl || !isa<FunctionDecl>(TargetDecl))) { in EmitCall() [all …]
|
D | CGStmt.cpp | 1542 const Decl *TargetDecl = Call->getCalleeDecl(); in EmitSwitchStmt() local 1543 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitSwitchStmt()
|
D | ItaniumCXXABI.cpp | 3410 GlobalDecl TargetDecl) { in emitConstructorDestructorAlias() argument 3418 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias()
|
D | CodeGenFunction.h | 2644 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/clang/lib/Sema/ |
D | SemaAccess.cpp | 1510 NamedDecl *TargetDecl = cast<NamedDecl>(TargetD); in HandleDependentAccessCheck() local 1521 DeclAccessPair::make(TargetDecl, Access), in HandleDependentAccessCheck()
|
D | SemaChecking.cpp | 198 const Decl *TargetDecl = CE->getCalleeDecl(); in SemaBuiltinCallWithStaticChain() local 199 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in SemaBuiltinCallWithStaticChain()
|