Searched defs:OptionRegistry (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Support/
H A DOptions.cpp20 OptionRegistry::~OptionRegistry() {
25 void OptionRegistry::addOption(void *Key, cl::Option *O) {
31 static ManagedStatic<OptionRegistry> OR;
33 OptionRegistry &OptionRegistry::instance() { return *OR; }
/external/llvm/include/llvm/Support/
H A DOptions.h17 /// OptionRegistry. An example implementation of registerOptions is:
20 /// OptionRegistry::registerOption<bool, Scalarizer,
61 /// The OptionRegistry is responsible for managing lifetimes of the options and
65 class OptionRegistry { class in namespace:llvm
74 /// Allocated cl::Options are owned by the OptionRegistry and are deallocated
79 ~OptionRegistry();
80 OptionRegistry() {} function in class:llvm::OptionRegistry
83 static OptionRegistry &instance();
85 /// \brief Registers an option with the OptionRegistry singleton.
113 assert(It != Options.end() && "Option not in OptionRegistry");
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DOptions.h17 /// OptionRegistry. An example implementation of registerOptions is:
20 /// OptionRegistry::registerOption<bool, Scalarizer,
61 /// The OptionRegistry is responsible for managing lifetimes of the options and
65 class OptionRegistry { class in namespace:llvm
74 /// Allocated cl::Options are owned by the OptionRegistry and are deallocated
79 ~OptionRegistry();
80 OptionRegistry() {} function in class:llvm::OptionRegistry
83 static OptionRegistry &instance();
85 /// \brief Registers an option with the OptionRegistry singleton.
113 assert(It != Options.end() && "Option not in OptionRegistry");
[all...]

Completed in 187 milliseconds