19#ifndef BF_P4C_MAU_SELECTOR_UPDATE_H_
20#define BF_P4C_MAU_SELECTOR_UPDATE_H_
22#include "ir/pass_manager.h"
23#include "lib/ordered_map.h"
24#include "mau_visitor.h"
41 bool preorder(
const IR::MAU::StatefulAlu *salu) {
42 if (salu->selector) self.sel2salu[salu->selector] = salu;
45 bool preorder(
const IR::Expression *) {
return false; }
52 bool preorder(IR::MAU::Table *);
53 bool preorder(IR::Expression *) {
return false; }
Definition selector_update.h:35
Definition mau_visitor.h:29
Definition mau_visitor.h:45
Definition ir/pass_manager.h:40
Definition ordered_map.h:32
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24