P4C
The P4 Compiler
Loading...
Searching...
No Matches
tofino_write_context.h
1
19#ifndef BACKENDS_TOFINO_BF_P4C_IR_TOFINO_WRITE_CONTEXT_H_
20#define BACKENDS_TOFINO_BF_P4C_IR_TOFINO_WRITE_CONTEXT_H_
21
22#include "ir/ir.h"
23
24class TofinoWriteContext : public P4WriteContext {
25 public:
32 bool isWrite(bool root_value = false);
33
42 bool isRead(bool root_value = false);
43
44 bool isIxbarRead(bool root_value = false);
45};
46
47#endif /* BACKENDS_TOFINO_BF_P4C_IR_TOFINO_WRITE_CONTEXT_H_ */
Definition tofino_write_context.h:24
bool isWrite(bool root_value=false)
Definition ir/tofino_write_context.cpp:23
bool isRead(bool root_value=false)
Definition ir/tofino_write_context.cpp:85