Home
last modified time | relevance | path

Searched refs:hlir (Results 1 – 12 of 12) sorted by relevance

/external/bcc/src/cc/frontends/p4/compiler/
DebpfDeparser.py5 from p4_hlir.hlir import parse_call, p4_field, p4_parse_value_set, \
17 def produce_parser_topo_sorting(hlir): argument
21 def walk_rec(hlir, parse_state, prev_hdr_node, tag_stacks_index): argument
35 hdr = hlir.p4_header_instances[name]
52 walk_rec(hlir, next_state, prev_hdr_node, tag_stacks_index.copy())
54 start_state = hlir.p4_parse_states["start"]
55 walk_rec(hlir, start_state, None, defaultdict(int))
62 def __init__(self, hlir): argument
63 header_topo_sorting = produce_parser_topo_sorting(hlir)
DebpfProgram.py4 from p4_hlir.hlir import p4_header_instance, p4_table, \
21 def __init__(self, name, hlir, isRouter, config): argument
24 assert isinstance(hlir, HLIR)
28 self.hlir = hlir
81 if len(self.hlir.p4_field_list_calculations) > 0:
84 self.hlir.p4_field_list_calculations.values()[0].name)
86 for h in self.hlir.p4_header_instances.values():
102 for p in self.hlir.p4_parse_states.values():
106 for a in self.hlir.p4_actions.values():
112 for c in self.hlir.p4_counters.values():
[all …]
DebpfConditional.py4 from p4_hlir.hlir import p4_conditional_node, p4_expression
5 from p4_hlir.hlir import p4_header_instance, p4_field
DtypeFactory.py4 from p4_hlir.hlir import p4_header
DebpfScalarType.py4 from p4_hlir.hlir import P4_AUTO_WIDTH
DebpfInstance.py4 from p4_hlir.hlir import p4_header_instance
DebpfAction.py4 from p4_hlir.hlir import p4_action, p4_field
5 from p4_hlir.hlir import p4_signature_ref, p4_header_instance
DebpfCounter.py4 from p4_hlir.hlir import p4_counter, P4_DIRECT, P4_COUNTER_BYTES
DebpfStructType.py4 from p4_hlir.hlir import P4_SIGNED, P4_SATURATING
DebpfParser.py4 from p4_hlir.hlir import parse_call, p4_field, p4_parse_value_set, \
DebpfTable.py4 from p4_hlir.hlir import p4_match_type, p4_field, p4_table, p4_header_instance
/external/bcc/src/cc/frontends/p4/
DREADME.md198 * the P4 compiler front-end: (https://github.com/p4lang/p4-hlir).