19#ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MOCHA_H_
20#define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MOCHA_H_
22#include "bf-p4c/mau/action_analysis.h"
23#include "bf-p4c/phv/analysis/non_mocha_dark_fields.h"
24#include "bf-p4c/phv/phv_fields.h"
43 bool pov_on_mocha =
false;
51 bool preorder(
const IR::MAU::Action *act)
override;
52 void end_apply()
override;
57 : phv(p), uses(u), red_info(ri), nonMochaDark(nmd), mochaCount(0), mochaSize(0) {}
static bool isPacketField(const PHV::Field *f)
Definition mocha.h:60
Definition non_mocha_dark_fields.h:29
Definition phv_fields.h:154
bool overlayable
Definition phv_fields.h:226
bool pov
True if this Field is a validity bit.
Definition phv_fields.h:253
bool bridged
True if this Field is metadata bridged from ingress to egress.
Definition phv_fields.h:219
bool metadata
True if this Field is metadata.
Definition phv_fields.h:209
Definition phv_fields.h:1095
Definition phv_parde_mau_use.h:154
Definition reduction_or.h:47