17#ifndef BACKENDS_BMV2_COMMON_OPTIONS_H_
18#define BACKENDS_BMV2_COMMON_OPTIONS_H_
22#include "frontends/common/options.h"
29 bool emitExterns =
false;
33 bool loadIRFromJson =
false;
37 "--emit-externs",
nullptr,
38 [
this](
const char *) {
42 "[BMv2 back-end] Force externs be emitted by the backend.\n"
43 "The generated code follows the BMv2 JSON specification.");
46 [
this](
const char *arg) {
50 "Write output to outfile");
53 [
this](
const char *arg) {
54 loadIRFromJson =
true;
58 "Use IR representation from JsonFile dumped previously,"
59 "the compilation starts with reduced midEnd.");
Definition sharedActionSelectorCheck.h:40