-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathir_meta.yml
59 lines (57 loc) · 1.18 KB
/
ir_meta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
################################################################
#
# Metalanguage Definitions for BIR
#
# This section of YAML idefines the metalanguage
# of recognized types and their attributes.
#
# To document:
# meta_ir_types
# meta_ir_processors
# meta_ir_attributes
#
################################################################
---
# These are the recognized top level BIR object types
meta_ir_types :
- struct
- metadata
- table
- other_module
- basic_block
- control_flow
- other_processor
- processor_layout
# These BIR objects must implement a process method
meta_ir_processors :
- control_flow
- other_processor
# These are the attributes each object type supports
# All objects support the type and doc attributes
meta_ir_attributes :
struct :
- fields
metadata :
- values
- visibility
- value_inits
table :
- match_type
- depth
- request
- response
- operations
other_module :
- operations
basic_block :
- local_header
- local_table
- instructions
- next_control_state
control_flow :
- start_control_state
other_processor :
- class
processor_layout :
- format
- implementation