LLVM 20.0.0git
Classes | Namespaces | Macros
Registry.h File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DynamicLibrary.h"
#include <memory>

Go to the source code of this file.

Classes

class  llvm::SimpleRegistryEntry< T >
 A simple registry entry which provides only a name, description, and no-argument constructor. More...
 
class  llvm::Registry< T >
 A global registry used in conjunction with static constructors to make pluggable components (like targets or garbage collectors) "just work" when linked with an executable. More...
 
class  llvm::Registry< T >::node
 Node in linked list of entries. More...
 
class  llvm::Registry< T >::iterator
 Iterators for registry entries. More...
 
class  llvm::Registry< T >::Add< V >
 A static registration template. More...
 

Namespaces

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

Macros

#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS)
 

Macro Definition Documentation

◆ LLVM_INSTANTIATE_REGISTRY

#define LLVM_INSTANTIATE_REGISTRY (   REGISTRY_CLASS)
Value:
namespace llvm { \
template <typename T> \
typename Registry<T>::node *Registry<T>::Head = nullptr; \
template <typename T> \
typename Registry<T>::node *Registry<T>::Tail = nullptr; \
template class Registry<REGISTRY_CLASS::type>; \
}
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18

Definition at line 153 of file Registry.h.