17#ifndef BACKENDS_DPDK_OPTIONS_H_ 
   18#define BACKENDS_DPDK_OPTIONS_H_ 
   20#include "backends/dpdk/midend.h" 
   26    std::filesystem::path bfRtSchema;
 
   42            "--listMidendPasses", 
nullptr,
 
   43            [
this](
const char *) {
 
   44                listMidendPasses = 
true;
 
   49            "[Dpdk back-end] Lists exact name of all midend passes.\n");
 
   51            "--enableEgress", 
nullptr,
 
   52            [
this](
const char *) {
 
   59            "--bf-rt-schema", 
"file",
 
   60            [
this](
const char *arg) {
 
   64            "Generate and write BF-RT JSON schema to the specified file");
 
   67            [
this](
const char *arg) {
 
   71            "Write output to outfile");
 
   73            "--tdi-builder-conf", 
"file",
 
   74            [
this](
const char *arg) {
 
   78            "Generate and write the TDI builder configuration to the specified file");
 
   81            [
this](
const char *arg) {
 
   85            "Generate and write TDI JSON to the specified file");
 
   88            [
this](
const char *arg) {
 
   92            "Generate and write context JSON to the specified file");
 
   95            [
this](
const char *arg) {
 
  100            "Use IR representation from JsonFile dumped previously," 
  101            "the compilation starts with reduced midEnd.");
 
  105    std::vector<const char *> *
process(
int argc, 
char *
const argv[]) 
override;
 
  107    const char *getIncludePath() 
const override;
 
 
Definition frontends/common/options.h:28
 
Definition dpdk/midend.h:26
 
Definition backends/dpdk/options.h:24
 
bool loadIRFromJson
Read from JSON.
Definition backends/dpdk/options.h:36
 
std::filesystem::path tdiFile
File to output TDI JSON to.
Definition backends/dpdk/options.h:30
 
std::filesystem::path ctxtFile
File to output context JSON to.
Definition backends/dpdk/options.h:32
 
bool enableEgress
Enable/disable Egress pipeline in PSA.
Definition backends/dpdk/options.h:38
 
std::filesystem::path outputFile
File to output to.
Definition backends/dpdk/options.h:28
 
std::vector< const char * > * process(int argc, char *const argv[]) override
Process the command line arguments and set options accordingly.
Definition backends/dpdk/options.cpp:10
 
std::filesystem::path tdiBuilderConf
File to output the TDI builder configuration to.
Definition backends/dpdk/options.h:34
 
Definition parser_options.h:168
 
std::filesystem::path file
file to compile (- for stdin)
Definition parser_options.h:69
 
@ Hide
Hide this option from –help message.
Definition lib/options.h:41
 
Definition dpdk/backend.cpp:36