reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CodeGenModule.cpp
 2419   if (Global->hasAttr<WeakRefAttr>())
 2424   if (Global->hasAttr<AliasAttr>())
 2428   if (Global->hasAttr<IFuncAttr>())
 2432   if (Global->hasAttr<CPUDispatchAttr>())
 2438       if (!Global->hasAttr<CUDADeviceAttr>() &&
 2439           !Global->hasAttr<CUDAGlobalAttr>() &&
 2440           !Global->hasAttr<CUDAConstantAttr>() &&
 2441           !Global->hasAttr<CUDASharedAttr>() &&
 2442           !(LangOpts.HIP && Global->hasAttr<HIPPinnedShadowAttr>()))
 2451       if (isa<FunctionDecl>(Global) && !Global->hasAttr<CUDAHostAttr>() &&
 2451       if (isa<FunctionDecl>(Global) && !Global->hasAttr<CUDAHostAttr>() &&
 2452           Global->hasAttr<CUDADeviceAttr>())
 2455       assert((isa<FunctionDecl>(Global) || isa<VarDecl>(Global)) &&
 2455       assert((isa<FunctionDecl>(Global) || isa<VarDecl>(Global)) &&
 2464     if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) {
 2465       if (MustBeEmitted(Global))
 2468     } else if (auto *DMD = dyn_cast<OMPDeclareMapperDecl>(Global)) {
 2469       if (MustBeEmitted(Global))
 2476   if (const auto *FD = dyn_cast<FunctionDecl>(Global)) {
 2493     const auto *VD = cast<VarDecl>(Global);
 2529   if (MustBeEmitted(Global) && MayBeEmittedEagerly(Global)) {
 2529   if (MustBeEmitted(Global) && MayBeEmittedEagerly(Global)) {
 2536   if (LangOpts.OpenMP && isa<FunctionDecl>(Global) && OpenMPRuntime &&
 2542   if (getLangOpts().CPlusPlus && isa<VarDecl>(Global) &&
 2543       cast<VarDecl>(Global)->hasInit()) {
 2544     DelayedCXXInitPosition[Global] = CXXGlobalInits.size();
 2552   } else if (MustBeEmitted(Global)) {
 2554     assert(!MayBeEmittedEagerly(Global));