Lines Matching defs:OptionRegistry
17 /// 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 {
74 /// Allocated cl::Options are owned by the OptionRegistry and are deallocated
79 ~OptionRegistry();
80 OptionRegistry() {}
83 static OptionRegistry &instance();
85 /// \brief Registers an option with the OptionRegistry singleton.
113 assert(It != Options.end() && "Option not in OptionRegistry");