P4C
The P4 Compiler
Loading...
Searching...
No Matches
configuration.h
1
#ifndef BACKENDS_P4TOOLS_COMMON_COMPILER_CONFIGURATION_H_
2
#define BACKENDS_P4TOOLS_COMMON_COMPILER_CONFIGURATION_H_
3
4
#include <climits>
5
#include <limits>
6
7
#include "ir/configuration.h"
8
9
namespace
P4Tools
{
10
13
class
CompilerConfiguration
:
public
DefaultP4CConfiguration {
14
public
:
15
int
maximumWidthSupported()
const override
{
return
INT_MAX; }
16
18
static
const
CompilerConfiguration
&
get
() {
19
static
CompilerConfiguration
instance;
20
return
instance;
21
}
22
virtual
~CompilerConfiguration
() =
default
;
23
24
protected
:
25
CompilerConfiguration
() =
default
;
26
};
27
28
}
// namespace P4Tools
29
30
#endif
/* BACKENDS_P4TOOLS_COMMON_COMPILER_CONFIGURATION_H_ */
P4Tools::CompilerConfiguration
Definition
configuration.h:13
P4Tools::CompilerConfiguration::get
static const CompilerConfiguration & get()
Definition
configuration.h:18
P4Tools
Definition
compiler_target.cpp:19
backends
p4tools
common
compiler
configuration.h
Generated on Tue Mar 26 2024 for