P4C
The P4 Compiler
Loading...
Searching...
No Matches
booleanKeys.h
1
/*
2
* SPDX-FileCopyrightText: 2022 The P4 Language Consortium
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef MIDEND_BOOLEANKEYS_H_
8
#define MIDEND_BOOLEANKEYS_H_
9
10
#include "ir/ir.h"
11
#include "ir/node.h"
12
#include "ir/visitor.h"
13
14
namespace
P4
{
15
20
52
53
class
CastBooleanTableKeys :
public
Transform
{
54
public
:
55
CastBooleanTableKeys() { setName(
"CastBooleanTableKeys"
); }
56
57
const
IR::Node
*postorder(IR::KeyElement *key)
override
;
58
59
const
IR::Node
*postorder(IR::Entry *entry)
override
;
60
};
61
62
}
// namespace P4
63
64
#endif
/* MIDEND_BOOLEANKEYS_H_ */
P4::IR::Node
Definition
node.h:53
P4::Transform
Definition
visitor.h:442
P4
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
applyOptionsPragmas.cpp:13
midend
booleanKeys.h
Generated by
1.13.2