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

Go to the source code of this file.


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...


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




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

Macro Definition Documentation



Definition at line 45 of file ManagedStatic.h.