P4C
The P4 Compiler
Loading...
Searching...
No Matches
depositfield.h
1
17
18#ifndef BACKENDS_TOFINO_BF_ASM_DEPOSITFIELD_H_
19#define BACKENDS_TOFINO_BF_ASM_DEPOSITFIELD_H_
20
21#include <stdint.h>
22
23namespace DepositField {
24
26 unsigned rotate;
27 int32_t value;
28};
29
30RotateConstant discoverRotation(int32_t val, int containerSize, int32_t tooLarge, int32_t tooSmall);
31
32} // namespace DepositField
33
34#endif /* BACKENDS_TOFINO_BF_ASM_DEPOSITFIELD_H_ */
Definition depositfield.cpp:20
Definition depositfield.h:25