The machine a native backend compiles for, as far as libmim needs to know it. More...
#include <mim/target.h>
Public Member Functions | |
| Target (std::string_view name) | |
| virtual | ~Target ()=default |
| std::string_view | name () const |
| The plugin name, used as the prefix of diagnostics. | |
| virtual nat_t | ptr_size () const =0 |
| The size and alignment of a pointer in bytes; see core.trait. | |
The machine a native backend compiles for, as far as libmim needs to know it.
A backend plugin registers its Target via Plugin::target; see Driver::target and mim::plug::mach::Target.
|
inline |
|
virtualdefault |
|
inline |
The plugin name, used as the prefix of diagnostics.
Definition at line 18 of file target.h.
Referenced by mim::plug::mach::arg_k(), mim::plug::mach::param_regs(), mim::plug::mach::Target::Target(), and Target().
|
pure virtual |
The size and alignment of a pointer in bytes; see core.trait.
Implemented in mim::plug::mach::Target.
Referenced by mim::plug::core::ptr_size().