14 if (def->flags() == stream_flags)
return world().annex<
nvptx::Stream>();
void reg_phases(Flags2Phases &phases)
absl::flat_hash_map< flags_t, std::function< std::unique_ptr< Phase >(World &)> > Flags2Phases
Maps an axiom of a Phase to a function that creates one.
mim::Plugin mim_get_plugin()
void reg_phases(Flags2Phases &phases)
#define MIM_REPL(__phases, __annex,...)
static consteval flags_t base()
Basic info and registration function pointer to be returned from a specific plugin.