LLVM API Documentation
#include <ManagedStatic.h>
Public Member Functions | |
C & | operator* () |
C * | operator-> () |
const C & | operator* () const |
const C * | operator-> () const |
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.
Definition at line 61 of file ManagedStatic.h.
C& llvm::ManagedStatic< C >::operator* | ( | ) | [inline] |
Definition at line 65 of file ManagedStatic.h.
References llvm::CallingConv::C, llvm::llvm_is_multithreaded(), llvm::sys::MemoryFence(), llvm::ManagedStaticBase::Ptr, llvm::ManagedStaticBase::RegisterManagedStatic(), and TsanHappensAfter.
const C& llvm::ManagedStatic< C >::operator* | ( | ) | const [inline] |
Definition at line 81 of file ManagedStatic.h.
References llvm::CallingConv::C, llvm::llvm_is_multithreaded(), llvm::sys::MemoryFence(), llvm::ManagedStaticBase::Ptr, llvm::ManagedStaticBase::RegisterManagedStatic(), and TsanHappensAfter.
C* llvm::ManagedStatic< C >::operator-> | ( | ) | [inline] |
Definition at line 73 of file ManagedStatic.h.
References llvm::CallingConv::C, llvm::llvm_is_multithreaded(), llvm::sys::MemoryFence(), llvm::ManagedStaticBase::Ptr, llvm::ManagedStaticBase::RegisterManagedStatic(), and TsanHappensAfter.
const C* llvm::ManagedStatic< C >::operator-> | ( | ) | const [inline] |
Definition at line 89 of file ManagedStatic.h.
References llvm::CallingConv::C, llvm::llvm_is_multithreaded(), llvm::sys::MemoryFence(), llvm::ManagedStaticBase::Ptr, llvm::ManagedStaticBase::RegisterManagedStatic(), and TsanHappensAfter.