19#ifndef BF_P4C_IR_GRESS_H_
20#define BF_P4C_IR_GRESS_H_
25#include "lib/cstring.h"
39inline gress_t operator~(
const gress_t &gress) {
return gress_t((gress & 1) ^ 1); }
46std::ostream &operator<<(std::ostream &out, gress_t gress);
47std::ostream &operator<<(std::ostream &out, std::optional<gress_t> gress);
48bool operator>>(
cstring s, gress_t &gressOut);
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24