LLVM 20.0.0git
Classes | Namespaces | Macros | Functions
ManagedStatic.h File Reference
#include <atomic>
#include <cstddef>

Go to the source code of this file.

Classes

struct  llvm::object_creator< C >
 object_creator - Helper method for ManagedStatic. More...
 
struct  llvm::object_deleter< T >
 object_deleter - Helper method for ManagedStatic. More...
 
struct  llvm::object_deleter< T[N]>
 
class  llvm::ManagedStaticBase
 ManagedStaticBase - Common base class for ManagedStatic instances. More...
 
class  llvm::ManagedStatic< C, Creator, Deleter >
 ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on demand (good for reducing startup times of dynamic libraries that link in LLVM components) and for making destruction be explicit through the llvm_shutdown() function call. More...
 
struct  llvm::llvm_shutdown_obj
 llvm_shutdown_obj - This is a simple helper class that calls llvm_shutdown() when it is destroyed. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define LLVM_USE_CONSTEXPR_CTOR
 

Functions

void llvm::llvm_shutdown ()
 llvm_shutdown - Deallocate and destroy all ManagedStatic variables.
 

Macro Definition Documentation

◆ LLVM_USE_CONSTEXPR_CTOR

#define LLVM_USE_CONSTEXPR_CTOR

Definition at line 45 of file ManagedStatic.h.