P4C
The P4 Compiler
Loading...
Searching...
No Matches
mau/tofino/asm_output.h
1
19#ifndef BF_P4C_MAU_TOFINO_ASM_OUTPUT_H_
20#define BF_P4C_MAU_TOFINO_ASM_OUTPUT_H_
21
22#include "bf-p4c/mau/asm_output.h"
23
24namespace Tofino {
25
26using namespace P4;
27
29 private:
30 void emit_table_format(std::ostream &out, indent_t, const TableFormat::Use &use,
31 const TableMatch *tm, bool ternary, bool no_match) const;
32 void emit_memory(std::ostream &out, indent_t, const Memories::Use &,
33 const IR::MAU::Table::Layout *l = nullptr,
34 const TableFormat::Use *f = nullptr) const;
35
36 public:
37 MauAsmOutput(const PhvInfo &phv, const IR::BFN::Pipe *pipe, const NextTable *nxts,
38 const MauPower::FinalizeMauPredDepsPower *pmpr, const BFN_Options &options)
39 : ::MauAsmOutput(phv, pipe, nxts, pmpr, options) {}
40};
41
42} // end namespace Tofino
43
44#endif /* BF_P4C_MAU_TOFINO_ASM_OUTPUT_H_ */
Definition bf-p4c-options.h:28
Definition mau/asm_output.h:85
Definition finalize_mau_pred_deps_power.h:47
Definition next_table.h:26
Definition indent.h:26
Definition phv_fields.h:1095
Definition mau/asm_output.h:223
Definition mau/tofino/asm_output.h:28
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24
Definition tofino/action_data_bus.cpp:28
Definition memories.h:81
Definition table_format.h:108