#include <backend.hxx>
Data Fields | |
| std::string | name |
| Name of this target. | |
| Pass | needPass |
| Name of last front-end pass that is required before proceeding to the mid-end. | |
| OnePass | oPass |
| Name of last whole program pass that must be run before proceeding to the back end. | |
| BackEndFn | fn |
| For targets that emit on a per-UoC basis, procedure to run on each input unit of compilation. | |
| MidEndFn | midfn |
| For targets that require the grand UoC to be built, procedure to run just before building the grand UoC. | |
| BackEndFn | plfn |
| For targets that emit from the Grand UoC, procedure to call on the Grand UoC after it has been built. | |
| unsigned long | flags |
| Flags directing the front end. See below. | |
Static Public Attributes | |
| static size_t | nBackEnd = sizeof(BackEnd::backends) / sizeof(BackEnd) |
| Total number of targets known to the compiler. | |
| static BackEnd | backends [] |
| Vector of targets known to the compiler (first is default). | |
Definition at line 102 of file backend.hxx.
BackEnd BackEnd::backends [static] |
Initial value:
{
{ "exe", pn_npass, op_ssaTrans, 0, 0, EmitExe, BK_LINKING },
{ "c", pn_npass, op_ssaTrans, 0, 0, EmitC, 0 },
{ "h", pn_npass, op_ssaTrans, 0, 0, EmitHeader, BK_HDR_MODE },
{ "bito", pn_npass, op_none, 0, EmitBitO, 0, BK_UOC_MODE },
{ "xmldump", pn_parse, op_none, XMLdump, 0, 0, 0 },
{ "xmlpp", pn_parse, op_none, XMLpp, 0, 0, 0 },
{ "xmltypes", pn_typeCheck, op_none, XMLtypesPP, 0, 0, 0 }
}
Definition at line 129 of file backend.hxx.
Referenced by FindBackEnd(), and main().
| unsigned long BackEnd::flags |
Flags directing the front end. See below.
Definition at line 123 of file backend.hxx.
Referenced by main().
For targets that emit on a per-UoC basis, procedure to run on each input unit of compilation.
Definition at line 114 of file backend.hxx.
Referenced by main().
For targets that require the grand UoC to be built, procedure to run just before building the grand UoC.
Definition at line 117 of file backend.hxx.
Referenced by main().
| std::string BackEnd::name |
size_t BackEnd::nBackEnd = sizeof(BackEnd::backends) / sizeof(BackEnd) [static] |
Total number of targets known to the compiler.
Definition at line 126 of file backend.hxx.
Referenced by FindBackEnd().
Name of last front-end pass that is required before proceeding to the mid-end.
Definition at line 107 of file backend.hxx.
Referenced by main().
Name of last whole program pass that must be run before proceeding to the back end.
Definition at line 111 of file backend.hxx.
For targets that emit from the Grand UoC, procedure to call on the Grand UoC after it has been built.
Definition at line 120 of file backend.hxx.
Referenced by main().
1.4.7