FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Include/opcode_ids.h at main · faster-cpython/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
faster-cpython
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
27
Star
529
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Include
/
opcode_ids.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
261 lines (257 loc) · 12.4 KB
Breadcrumbs
cpython
/
Include
/
opcode_ids.h
Copy path
File metadata and controls
261 lines (257 loc) · 12.4 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
// This file is generated by Tools/cases_generator/opcode_id_generator.py
// from:
// Python/bytecodes.c
// Do not edit!
#ifndef
Py_OPCODE_IDS_H
#define
Py_OPCODE_IDS_H
#ifdef
__cplusplus
extern
"C"
{
#endif
/* Instruction opcodes for compiled code */
#define
CACHE
0
#define
BINARY_SLICE
1
#define
BUILD_TEMPLATE
2
#define
BINARY_OP_INPLACE_ADD_UNICODE
3
#define
CALL_FUNCTION_EX
4
#define
CHECK_EG_MATCH
5
#define
CHECK_EXC_MATCH
6
#define
CLEANUP_THROW
7
#define
DELETE_SUBSCR
8
#define
END_FOR
9
#define
END_SEND
10
#define
EXIT_INIT_CHECK
11
#define
FORMAT_SIMPLE
12
#define
FORMAT_WITH_SPEC
13
#define
GET_AITER
14
#define
GET_ANEXT
15
#define
GET_LEN
16
#define
RESERVED
17
#define
INTERPRETER_EXIT
18
#define
LOAD_BUILD_CLASS
19
#define
LOAD_LOCALS
20
#define
MAKE_FUNCTION
21
#define
MATCH_KEYS
22
#define
MATCH_MAPPING
23
#define
MATCH_SEQUENCE
24
#define
NOP
25
#define
NOT_TAKEN
26
#define
POP_EXCEPT
27
#define
POP_ITER
28
#define
POP_TOP
29
#define
PUSH_EXC_INFO
30
#define
PUSH_NULL
31
#define
RETURN_GENERATOR
32
#define
RETURN_VALUE
33
#define
SETUP_ANNOTATIONS
34
#define
STORE_SLICE
35
#define
STORE_SUBSCR
36
#define
TO_BOOL
37
#define
UNARY_INVERT
38
#define
UNARY_NEGATIVE
39
#define
UNARY_NOT
40
#define
WITH_EXCEPT_START
41
#define
BINARY_OP
42
#define
BUILD_INTERPOLATION
43
#define
BUILD_LIST
44
#define
BUILD_MAP
45
#define
BUILD_SET
46
#define
BUILD_SLICE
47
#define
BUILD_STRING
48
#define
BUILD_TUPLE
49
#define
CALL
50
#define
CALL_INTRINSIC_1
51
#define
CALL_INTRINSIC_2
52
#define
CALL_KW
53
#define
COMPARE_OP
54
#define
CONTAINS_OP
55
#define
CONVERT_VALUE
56
#define
COPY
57
#define
COPY_FREE_VARS
58
#define
DELETE_ATTR
59
#define
DELETE_DEREF
60
#define
DELETE_FAST
61
#define
DELETE_GLOBAL
62
#define
DELETE_NAME
63
#define
DICT_MERGE
64
#define
DICT_UPDATE
65
#define
END_ASYNC_FOR
66
#define
EXTENDED_ARG
67
#define
FOR_ITER
68
#define
GET_AWAITABLE
69
#define
GET_ITER
70
#define
IMPORT_FROM
71
#define
IMPORT_NAME
72
#define
IS_OP
73
#define
JUMP_BACKWARD
74
#define
JUMP_BACKWARD_NO_INTERRUPT
75
#define
JUMP_FORWARD
76
#define
LIST_APPEND
77
#define
LIST_EXTEND
78
#define
LOAD_ATTR
79
#define
LOAD_COMMON_CONSTANT
80
#define
LOAD_CONST
81
#define
LOAD_DEREF
82
#define
LOAD_FAST
83
#define
LOAD_FAST_AND_CLEAR
84
#define
LOAD_FAST_BORROW
85
#define
LOAD_FAST_BORROW_LOAD_FAST_BORROW
86
#define
LOAD_FAST_CHECK
87
#define
LOAD_FAST_LOAD_FAST
88
#define
LOAD_FROM_DICT_OR_DEREF
89
#define
LOAD_FROM_DICT_OR_GLOBALS
90
#define
LOAD_GLOBAL
91
#define
LOAD_NAME
92
#define
LOAD_SMALL_INT
93
#define
LOAD_SPECIAL
94
#define
LOAD_SUPER_ATTR
95
#define
MAKE_CELL
96
#define
MAP_ADD
97
#define
MATCH_CLASS
98
#define
POP_JUMP_IF_FALSE
99
#define
POP_JUMP_IF_NONE
100
#define
POP_JUMP_IF_NOT_NONE
101
#define
POP_JUMP_IF_TRUE
102
#define
RAISE_VARARGS
103
#define
RERAISE
104
#define
SEND
105
#define
SET_ADD
106
#define
SET_FUNCTION_ATTRIBUTE
107
#define
SET_UPDATE
108
#define
STORE_ATTR
109
#define
STORE_DEREF
110
#define
STORE_FAST
111
#define
STORE_FAST_LOAD_FAST
112
#define
STORE_FAST_STORE_FAST
113
#define
STORE_GLOBAL
114
#define
STORE_NAME
115
#define
SWAP
116
#define
UNPACK_EX
117
#define
UNPACK_SEQUENCE
118
#define
YIELD_VALUE
119
#define
RESUME
128
#define
BINARY_OP_ADD_FLOAT
129
#define
BINARY_OP_ADD_INT
130
#define
BINARY_OP_ADD_UNICODE
131
#define
BINARY_OP_EXTEND
132
#define
BINARY_OP_MULTIPLY_FLOAT
133
#define
BINARY_OP_MULTIPLY_INT
134
#define
BINARY_OP_SUBSCR_DICT
135
#define
BINARY_OP_SUBSCR_GETITEM
136
#define
BINARY_OP_SUBSCR_LIST_INT
137
#define
BINARY_OP_SUBSCR_LIST_SLICE
138
#define
BINARY_OP_SUBSCR_STR_INT
139
#define
BINARY_OP_SUBSCR_TUPLE_INT
140
#define
BINARY_OP_SUBSCR_USTR_INT
141
#define
BINARY_OP_SUBTRACT_FLOAT
142
#define
BINARY_OP_SUBTRACT_INT
143
#define
CALL_ALLOC_AND_ENTER_INIT
144
#define
CALL_BOUND_METHOD_EXACT_ARGS
145
#define
CALL_BOUND_METHOD_GENERAL
146
#define
CALL_BUILTIN_CLASS
147
#define
CALL_BUILTIN_FAST
148
#define
CALL_BUILTIN_FAST_WITH_KEYWORDS
149
#define
CALL_BUILTIN_O
150
#define
CALL_EX_NON_PY_GENERAL
151
#define
CALL_EX_PY
152
#define
CALL_ISINSTANCE
153
#define
CALL_KW_BOUND_METHOD
154
#define
CALL_KW_NON_PY
155
#define
CALL_KW_PY
156
#define
CALL_LEN
157
#define
CALL_LIST_APPEND
158
#define
CALL_METHOD_DESCRIPTOR_FAST
159
#define
CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
160
#define
CALL_METHOD_DESCRIPTOR_NOARGS
161
#define
CALL_METHOD_DESCRIPTOR_O
162
#define
CALL_NON_PY_GENERAL
163
#define
CALL_PY_EXACT_ARGS
164
#define
CALL_PY_GENERAL
165
#define
CALL_STR_1
166
#define
CALL_TUPLE_1
167
#define
CALL_TYPE_1
168
#define
COMPARE_OP_FLOAT
169
#define
COMPARE_OP_INT
170
#define
COMPARE_OP_STR
171
#define
CONTAINS_OP_DICT
172
#define
CONTAINS_OP_SET
173
#define
FOR_ITER_GEN
174
#define
FOR_ITER_LIST
175
#define
FOR_ITER_RANGE
176
#define
FOR_ITER_TUPLE
177
#define
JUMP_BACKWARD_JIT
178
#define
JUMP_BACKWARD_NO_JIT
179
#define
LOAD_ATTR_CLASS
180
#define
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK
181
#define
LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN
182
#define
LOAD_ATTR_INSTANCE_VALUE
183
#define
LOAD_ATTR_METHOD_LAZY_DICT
184
#define
LOAD_ATTR_METHOD_NO_DICT
185
#define
LOAD_ATTR_METHOD_WITH_VALUES
186
#define
LOAD_ATTR_MODULE
187
#define
LOAD_ATTR_NONDESCRIPTOR_NO_DICT
188
#define
LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
189
#define
LOAD_ATTR_PROPERTY
190
#define
LOAD_ATTR_SLOT
191
#define
LOAD_ATTR_WITH_HINT
192
#define
LOAD_GLOBAL_BUILTIN
193
#define
LOAD_GLOBAL_MODULE
194
#define
LOAD_SUPER_ATTR_ATTR
195
#define
LOAD_SUPER_ATTR_METHOD
196
#define
RESUME_CHECK
197
#define
RESUME_CHECK_JIT
198
#define
SEND_GEN
199
#define
STORE_ATTR_INSTANCE_VALUE
200
#define
STORE_ATTR_SLOT
201
#define
STORE_ATTR_WITH_HINT
202
#define
STORE_SUBSCR_DICT
203
#define
STORE_SUBSCR_LIST_INT
204
#define
TO_BOOL_ALWAYS_TRUE
205
#define
TO_BOOL_BOOL
206
#define
TO_BOOL_INT
207
#define
TO_BOOL_LIST
208
#define
TO_BOOL_NONE
209
#define
TO_BOOL_STR
210
#define
UNPACK_SEQUENCE_LIST
211
#define
UNPACK_SEQUENCE_TUPLE
212
#define
UNPACK_SEQUENCE_TWO_TUPLE
213
#define
INSTRUMENTED_END_FOR
233
#define
INSTRUMENTED_POP_ITER
234
#define
INSTRUMENTED_END_SEND
235
#define
INSTRUMENTED_FOR_ITER
236
#define
INSTRUMENTED_INSTRUCTION
237
#define
INSTRUMENTED_JUMP_FORWARD
238
#define
INSTRUMENTED_NOT_TAKEN
239
#define
INSTRUMENTED_POP_JUMP_IF_TRUE
240
#define
INSTRUMENTED_POP_JUMP_IF_FALSE
241
#define
INSTRUMENTED_POP_JUMP_IF_NONE
242
#define
INSTRUMENTED_POP_JUMP_IF_NOT_NONE
243
#define
INSTRUMENTED_RESUME
244
#define
INSTRUMENTED_RETURN_VALUE
245
#define
INSTRUMENTED_YIELD_VALUE
246
#define
INSTRUMENTED_END_ASYNC_FOR
247
#define
INSTRUMENTED_LOAD_SUPER_ATTR
248
#define
INSTRUMENTED_CALL
249
#define
INSTRUMENTED_CALL_KW
250
#define
INSTRUMENTED_CALL_FUNCTION_EX
251
#define
INSTRUMENTED_JUMP_BACKWARD
252
#define
INSTRUMENTED_LINE
253
#define
ENTER_EXECUTOR
254
#define
TRACE_RECORD
255
#define
ANNOTATIONS_PLACEHOLDER
256
#define
JUMP
257
#define
JUMP_IF_FALSE
258
#define
JUMP_IF_TRUE
259
#define
JUMP_NO_INTERRUPT
260
#define
LOAD_CLOSURE
261
#define
POP_BLOCK
262
#define
SETUP_CLEANUP
263
#define
SETUP_FINALLY
264
#define
SETUP_WITH
265
#define
STORE_FAST_MAYBE_NULL
266
#define
HAVE_ARGUMENT
41
#define
MIN_SPECIALIZED_OPCODE
129
#define
MIN_INSTRUMENTED_OPCODE
233
#ifdef
__cplusplus
}
#endif
#endif
/* !Py_OPCODE_IDS_H */
Back
|
FazBrowse Home
|
New Git URL