regen: make regen!
[perl.git] / lib / B / Op_private.pm
1 # -*- buffer-read-only: t -*-
2 #
3 #    lib/B/Op_private.pm
4 #
5 #    Copyright (C) 2014 by Larry Wall and others
6 #
7 #    You may distribute under the terms of either the GNU General Public
8 #    License or the Artistic License, as specified in the README file.
9 #
10 # !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
11 # This file is built by regen/opcode.pl from data in
12 # regen/op_private and pod embedded in regen/opcode.pl.
13 # Any changes made here will be lost!
14
15 =head1 NAME
16
17 B::Op_private -  OP op_private flag definitions
18
19 =head1 SYNOPSIS
20
21     use B::Op_private;
22
23     # flag details for bit 7 of OP_AELEM's op_private:
24     my $name  = $B::Op_private::bits{aelem}{7}; # OPpLVAL_INTRO
25     my $value = $B::Op_private::defines{$name}; # 128
26     my $label = $B::Op_private::labels{$name};  # LVINTRO
27
28     # the bit field at bits 5..6 of OP_AELEM's op_private:
29     my $bf  = $B::Op_private::bits{aelem}{6};
30     my $mask = $bf->{bitmask}; # etc
31
32 =head1 DESCRIPTION
33
34 This module provides four global hashes:
35
36     %B::Op_private::bits
37     %B::Op_private::defines
38     %B::Op_private::labels
39     %B::Op_private::ops_using
40
41 which contain information about the per-op meanings of the bits in the
42 op_private field.
43
44 =head2 C<%bits>
45
46 This is indexed by op name and then bit number (0..7). For single bit flags,
47 it returns the name of the define (if any) for that bit:
48
49    $B::Op_private::bits{aelem}{7} eq 'OPpLVAL_INTRO';
50
51 For bit fields, it returns a hash ref containing details about the field.
52 The same reference will be returned for all bit positions that make
53 up the bit field; so for example these both return the same hash ref:
54
55     $bitfield = $B::Op_private::bits{aelem}{5};
56     $bitfield = $B::Op_private::bits{aelem}{6};
57
58 The general format of this hash ref is
59
60     {
61         # The bit range and mask; these are always present.
62         bitmin        => 5,
63         bitmax        => 6,
64         bitmask       => 0x60,
65
66         # (The remaining keys are optional)
67
68         # The names of any defines that were requested:
69         mask_def      => 'OPpFOO_MASK',
70         baseshift_def => 'OPpFOO_SHIFT',
71         bitcount_def  => 'OPpFOO_BITS',
72
73         # If present, Concise etc will display the value with a 'FOO='
74         # prefix. If it equals '-', then Concise will treat the bit
75         # field as raw bits and not try to interpret it.
76         label         => 'FOO',
77
78         # If present, specifies the names of some defines and the
79         # display labels that are used to assign meaning to particu-
80         # lar integer values within the bit field; e.g. 3 is dis-
81         # played as 'C'.
82         enum          => [ qw(
83                              1   OPpFOO_A  A
84                              2   OPpFOO_B  B
85                              3   OPpFOO_C  C
86                          )],
87
88     };
89
90
91 =head2 C<%defines>
92
93 This gives the value of every C<OPp> define, e.g.
94
95     $B::Op_private::defines{OPpLVAL_INTRO} == 128;
96
97 =head2 C<%labels>
98
99 This gives the short display label for each define, as used by C<B::Concise>
100 and C<perl -Dx>, e.g.
101
102     $B::Op_private::labels{OPpLVAL_INTRO} eq 'LVINTRO';
103
104 If the label equals '-', then Concise will treat the bit as a raw bit and
105 not try to display it symbolically.
106
107 =head2 C<%ops_using>
108
109 For each define, this gives a reference to an array of op names that use
110 the flag.
111
112     @ops_using_lvintro = @{ $B::Op_private::ops_using{OPp_LVAL_INTRO} };
113
114 =cut
115
116 package B::Op_private;
117
118 our %bits;
119
120
121 our $VERSION = "5.025000";
122
123 $bits{$_}{3} = 'OPpENTERSUB_AMPER' for qw(entersub rv2cv);
124 $bits{$_}{6} = 'OPpENTERSUB_DB' for qw(entersub rv2cv);
125 $bits{$_}{2} = 'OPpENTERSUB_HASTARG' for qw(entersub rv2cv);
126 $bits{$_}{6} = 'OPpFLIP_LINENUM' for qw(flip flop);
127 $bits{$_}{1} = 'OPpFT_ACCESS' for qw(fteexec fteread ftewrite ftrexec ftrread ftrwrite);
128 $bits{$_}{4} = 'OPpFT_AFTER_t' for qw(ftatime ftbinary ftblk ftchr ftctime ftdir fteexec fteowned fteread ftewrite ftfile ftis ftlink ftmtime ftpipe ftrexec ftrowned ftrread ftrwrite ftsgid ftsize ftsock ftsuid ftsvtx fttext fttty ftzero);
129 $bits{$_}{2} = 'OPpFT_STACKED' for qw(ftatime ftbinary ftblk ftchr ftctime ftdir fteexec fteowned fteread ftewrite ftfile ftis ftlink ftmtime ftpipe ftrexec ftrowned ftrread ftrwrite ftsgid ftsize ftsock ftsuid ftsvtx fttext fttty ftzero);
130 $bits{$_}{3} = 'OPpFT_STACKING' for qw(ftatime ftbinary ftblk ftchr ftctime ftdir fteexec fteowned fteread ftewrite ftfile ftis ftlink ftmtime ftpipe ftrexec ftrowned ftrread ftrwrite ftsgid ftsize ftsock ftsuid ftsvtx fttext fttty ftzero);
131 $bits{$_}{1} = 'OPpHINT_STRICT_REFS' for qw(entersub multideref rv2av rv2cv rv2gv rv2hv rv2sv);
132 $bits{$_}{5} = 'OPpHUSH_VMSISH' for qw(dbstate nextstate);
133 $bits{$_}{1} = 'OPpITER_REVERSED' for qw(enteriter iter);
134 $bits{$_}{7} = 'OPpLVALUE' for qw(leave leaveloop);
135 $bits{$_}{6} = 'OPpLVAL_DEFER' for qw(aelem helem multideref);
136 $bits{$_}{7} = 'OPpLVAL_INTRO' for qw(aelem aslice cond_expr delete enteriter entersub gvsv helem hslice list lvavref lvref lvrefslice multideref padav padhv padrange padsv pushmark refassign rv2av rv2gv rv2hv rv2sv);
137 $bits{$_}{2} = 'OPpLVREF_ELEM' for qw(lvref refassign);
138 $bits{$_}{3} = 'OPpLVREF_ITER' for qw(lvref refassign);
139 $bits{$_}{3} = 'OPpMAYBE_LVSUB' for qw(aassign aelem aslice av2arylen helem hslice keys kvaslice kvhslice multideref padav padhv pos rv2av rv2gv rv2hv substr vec);
140 $bits{$_}{4} = 'OPpMAYBE_TRUEBOOL' for qw(padhv rv2hv);
141 $bits{$_}{7} = 'OPpOFFBYONE' for qw(caller runcv wantarray);
142 $bits{$_}{5} = 'OPpOPEN_IN_CRLF' for qw(backtick open);
143 $bits{$_}{4} = 'OPpOPEN_IN_RAW' for qw(backtick open);
144 $bits{$_}{7} = 'OPpOPEN_OUT_CRLF' for qw(backtick open);
145 $bits{$_}{6} = 'OPpOPEN_OUT_RAW' for qw(backtick open);
146 $bits{$_}{6} = 'OPpOUR_INTRO' for qw(enteriter gvsv rv2av rv2hv rv2sv split);
147 $bits{$_}{6} = 'OPpPAD_STATE' for qw(lvavref lvref padav padhv padsv pushmark refassign);
148 $bits{$_}{7} = 'OPpPV_IS_UTF8' for qw(dump goto last next redo);
149 $bits{$_}{6} = 'OPpREFCOUNTED' for qw(leave leaveeval leavesub leavesublv leavewrite);
150 $bits{$_}{6} = 'OPpRUNTIME' for qw(match pushre qr subst substcont);
151 $bits{$_}{2} = 'OPpSLICEWARNING' for qw(aslice hslice padav padhv rv2av rv2hv);
152 $bits{$_}{4} = 'OPpTARGET_MY' for qw(abs add atan2 chdir chmod chomp chown chr chroot concat cos crypt divide exec exp flock getpgrp getppid getpriority hex i_add i_divide i_modulo i_multiply i_subtract index int kill left_shift length link log mkdir modulo multiply nbit_and nbit_or nbit_xor ncomplement oct ord pow push rand rename right_shift rindex rmdir schomp scomplement setpgrp setpriority sin sleep sqrt srand stringify subtract symlink system time unlink unshift utime wait waitpid);
153 $bits{$_}{5} = 'OPpTRANS_COMPLEMENT' for qw(trans transr);
154 $bits{$_}{7} = 'OPpTRANS_DELETE' for qw(trans transr);
155 $bits{$_}{0} = 'OPpTRANS_FROM_UTF' for qw(trans transr);
156 $bits{$_}{6} = 'OPpTRANS_GROWS' for qw(trans transr);
157 $bits{$_}{2} = 'OPpTRANS_IDENTICAL' for qw(trans transr);
158 $bits{$_}{3} = 'OPpTRANS_SQUASH' for qw(trans transr);
159 $bits{$_}{1} = 'OPpTRANS_TO_UTF' for qw(trans transr);
160 $bits{$_}{5} = 'OPpTRUEBOOL' for qw(padhv rv2hv);
161
162 my @bf = (
163     {
164         label     => '-',
165         mask_def  => 'OPpARG1_MASK',
166         bitmin    => 0,
167         bitmax    => 0,
168         bitmask   => 1,
169     },
170     {
171         label     => '-',
172         mask_def  => 'OPpARG2_MASK',
173         bitmin    => 0,
174         bitmax    => 1,
175         bitmask   => 3,
176     },
177     {
178         label     => '-',
179         mask_def  => 'OPpARG3_MASK',
180         bitmin    => 0,
181         bitmax    => 2,
182         bitmask   => 7,
183     },
184     {
185         label     => '-',
186         mask_def  => 'OPpARG4_MASK',
187         bitmin    => 0,
188         bitmax    => 3,
189         bitmask   => 15,
190     },
191     {
192         label     => '-',
193         mask_def  => 'OPpPADRANGE_COUNTMASK',
194         bitcount_def => 'OPpPADRANGE_COUNTSHIFT',
195         bitmin    => 0,
196         bitmax    => 6,
197         bitmask   => 127,
198     },
199     {
200         label     => '-',
201         bitmin    => 0,
202         bitmax    => 7,
203         bitmask   => 255,
204     },
205     {
206         mask_def  => 'OPpDEREF',
207         bitmin    => 4,
208         bitmax    => 5,
209         bitmask   => 48,
210         enum      => [
211             1, 'OPpDEREF_AV', 'DREFAV',
212             2, 'OPpDEREF_HV', 'DREFHV',
213             3, 'OPpDEREF_SV', 'DREFSV',
214         ],
215     },
216     {
217         mask_def  => 'OPpLVREF_TYPE',
218         bitmin    => 4,
219         bitmax    => 5,
220         bitmask   => 48,
221         enum      => [
222             0, 'OPpLVREF_SV', 'SV',
223             1, 'OPpLVREF_AV', 'AV',
224             2, 'OPpLVREF_HV', 'HV',
225             3, 'OPpLVREF_CV', 'CV',
226         ],
227     },
228 );
229
230 @{$bits{aassign}}{6,5,4,1,0} = ('OPpASSIGN_COMMON_SCALAR', 'OPpASSIGN_COMMON_RC1', 'OPpASSIGN_COMMON_AGG', $bf[1], $bf[1]);
231 $bits{abs}{0} = $bf[0];
232 @{$bits{accept}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
233 @{$bits{add}}{1,0} = ($bf[1], $bf[1]);
234 $bits{aeach}{0} = $bf[0];
235 @{$bits{aelem}}{5,4,1,0} = ($bf[6], $bf[6], $bf[1], $bf[1]);
236 @{$bits{aelemfast}}{7,6,5,4,3,2,1,0} = ($bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5]);
237 @{$bits{aelemfast_lex}}{7,6,5,4,3,2,1,0} = ($bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5]);
238 $bits{akeys}{0} = $bf[0];
239 $bits{alarm}{0} = $bf[0];
240 $bits{and}{0} = $bf[0];
241 $bits{andassign}{0} = $bf[0];
242 $bits{anonconst}{0} = $bf[0];
243 @{$bits{anonhash}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
244 @{$bits{anonlist}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
245 @{$bits{atan2}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
246 $bits{av2arylen}{0} = $bf[0];
247 $bits{avalues}{0} = $bf[0];
248 $bits{backtick}{0} = $bf[0];
249 @{$bits{bind}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
250 @{$bits{binmode}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
251 @{$bits{bit_and}}{1,0} = ($bf[1], $bf[1]);
252 @{$bits{bit_or}}{1,0} = ($bf[1], $bf[1]);
253 @{$bits{bit_xor}}{1,0} = ($bf[1], $bf[1]);
254 @{$bits{bless}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
255 @{$bits{caller}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
256 @{$bits{chdir}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
257 @{$bits{chmod}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
258 $bits{chomp}{0} = $bf[0];
259 $bits{chop}{0} = $bf[0];
260 @{$bits{chown}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
261 $bits{chr}{0} = $bf[0];
262 $bits{chroot}{0} = $bf[0];
263 @{$bits{close}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
264 $bits{closedir}{0} = $bf[0];
265 $bits{complement}{0} = $bf[0];
266 @{$bits{concat}}{1,0} = ($bf[1], $bf[1]);
267 $bits{cond_expr}{0} = $bf[0];
268 @{$bits{connect}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
269 @{$bits{const}}{6,4,3,2,1} = ('OPpCONST_BARE', 'OPpCONST_ENTERED', 'OPpCONST_STRICT', 'OPpCONST_SHORTCIRCUIT', 'OPpCONST_NOVER');
270 @{$bits{coreargs}}{7,6,1,0} = ('OPpCOREARGS_PUSHMARK', 'OPpCOREARGS_SCALARMOD', 'OPpCOREARGS_DEREF2', 'OPpCOREARGS_DEREF1');
271 $bits{cos}{0} = $bf[0];
272 @{$bits{crypt}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
273 $bits{dbmclose}{0} = $bf[0];
274 @{$bits{dbmopen}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
275 $bits{defined}{0} = $bf[0];
276 @{$bits{delete}}{6,0} = ('OPpSLICE', $bf[0]);
277 @{$bits{die}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
278 @{$bits{divide}}{1,0} = ($bf[1], $bf[1]);
279 $bits{dofile}{0} = $bf[0];
280 $bits{dor}{0} = $bf[0];
281 $bits{dorassign}{0} = $bf[0];
282 $bits{dump}{0} = $bf[0];
283 $bits{each}{0} = $bf[0];
284 @{$bits{entereval}}{5,4,3,2,1,0} = ('OPpEVAL_RE_REPARSING', 'OPpEVAL_COPHH', 'OPpEVAL_BYTES', 'OPpEVAL_UNICODE', 'OPpEVAL_HAS_HH', $bf[0]);
285 $bits{entergiven}{0} = $bf[0];
286 $bits{enteriter}{3} = 'OPpITER_DEF';
287 @{$bits{entersub}}{5,4,0} = ($bf[6], $bf[6], 'OPpENTERSUB_INARGS');
288 $bits{entertry}{0} = $bf[0];
289 $bits{enterwhen}{0} = $bf[0];
290 @{$bits{enterwrite}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
291 @{$bits{eof}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
292 @{$bits{eq}}{1,0} = ($bf[1], $bf[1]);
293 @{$bits{exec}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
294 @{$bits{exists}}{6,0} = ('OPpEXISTS_SUB', $bf[0]);
295 @{$bits{exit}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
296 $bits{exp}{0} = $bf[0];
297 $bits{fc}{0} = $bf[0];
298 @{$bits{fcntl}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
299 @{$bits{fileno}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
300 $bits{flip}{0} = $bf[0];
301 @{$bits{flock}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
302 $bits{flop}{0} = $bf[0];
303 @{$bits{formline}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
304 $bits{ftatime}{0} = $bf[0];
305 $bits{ftbinary}{0} = $bf[0];
306 $bits{ftblk}{0} = $bf[0];
307 $bits{ftchr}{0} = $bf[0];
308 $bits{ftctime}{0} = $bf[0];
309 $bits{ftdir}{0} = $bf[0];
310 $bits{fteexec}{0} = $bf[0];
311 $bits{fteowned}{0} = $bf[0];
312 $bits{fteread}{0} = $bf[0];
313 $bits{ftewrite}{0} = $bf[0];
314 $bits{ftfile}{0} = $bf[0];
315 $bits{ftis}{0} = $bf[0];
316 $bits{ftlink}{0} = $bf[0];
317 $bits{ftmtime}{0} = $bf[0];
318 $bits{ftpipe}{0} = $bf[0];
319 $bits{ftrexec}{0} = $bf[0];
320 $bits{ftrowned}{0} = $bf[0];
321 $bits{ftrread}{0} = $bf[0];
322 $bits{ftrwrite}{0} = $bf[0];
323 $bits{ftsgid}{0} = $bf[0];
324 $bits{ftsize}{0} = $bf[0];
325 $bits{ftsock}{0} = $bf[0];
326 $bits{ftsuid}{0} = $bf[0];
327 $bits{ftsvtx}{0} = $bf[0];
328 $bits{fttext}{0} = $bf[0];
329 $bits{fttty}{0} = $bf[0];
330 $bits{ftzero}{0} = $bf[0];
331 @{$bits{ge}}{1,0} = ($bf[1], $bf[1]);
332 @{$bits{gelem}}{1,0} = ($bf[1], $bf[1]);
333 @{$bits{getc}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
334 $bits{getpeername}{0} = $bf[0];
335 @{$bits{getpgrp}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
336 @{$bits{getpriority}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
337 $bits{getsockname}{0} = $bf[0];
338 $bits{ggrgid}{0} = $bf[0];
339 $bits{ggrnam}{0} = $bf[0];
340 @{$bits{ghbyaddr}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
341 $bits{ghbyname}{0} = $bf[0];
342 @{$bits{glob}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
343 @{$bits{gmtime}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
344 @{$bits{gnbyaddr}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
345 $bits{gnbyname}{0} = $bf[0];
346 $bits{goto}{0} = $bf[0];
347 $bits{gpbyname}{0} = $bf[0];
348 @{$bits{gpbynumber}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
349 $bits{gpwnam}{0} = $bf[0];
350 $bits{gpwuid}{0} = $bf[0];
351 $bits{grepstart}{0} = $bf[0];
352 $bits{grepwhile}{0} = $bf[0];
353 @{$bits{gsbyname}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
354 @{$bits{gsbyport}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
355 @{$bits{gsockopt}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
356 @{$bits{gt}}{1,0} = ($bf[1], $bf[1]);
357 $bits{gv}{5} = 'OPpEARLY_CV';
358 @{$bits{helem}}{5,4,1,0} = ($bf[6], $bf[6], $bf[1], $bf[1]);
359 $bits{hex}{0} = $bf[0];
360 @{$bits{i_add}}{1,0} = ($bf[1], $bf[1]);
361 @{$bits{i_divide}}{1,0} = ($bf[1], $bf[1]);
362 @{$bits{i_eq}}{1,0} = ($bf[1], $bf[1]);
363 @{$bits{i_ge}}{1,0} = ($bf[1], $bf[1]);
364 @{$bits{i_gt}}{1,0} = ($bf[1], $bf[1]);
365 @{$bits{i_le}}{1,0} = ($bf[1], $bf[1]);
366 @{$bits{i_lt}}{1,0} = ($bf[1], $bf[1]);
367 @{$bits{i_modulo}}{1,0} = ($bf[1], $bf[1]);
368 @{$bits{i_multiply}}{1,0} = ($bf[1], $bf[1]);
369 @{$bits{i_ncmp}}{1,0} = ($bf[1], $bf[1]);
370 @{$bits{i_ne}}{1,0} = ($bf[1], $bf[1]);
371 $bits{i_negate}{0} = $bf[0];
372 $bits{i_postdec}{0} = $bf[0];
373 $bits{i_postinc}{0} = $bf[0];
374 $bits{i_predec}{0} = $bf[0];
375 $bits{i_preinc}{0} = $bf[0];
376 @{$bits{i_subtract}}{1,0} = ($bf[1], $bf[1]);
377 @{$bits{index}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
378 $bits{int}{0} = $bf[0];
379 @{$bits{ioctl}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
380 @{$bits{join}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
381 $bits{keys}{0} = $bf[0];
382 @{$bits{kill}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
383 $bits{last}{0} = $bf[0];
384 $bits{lc}{0} = $bf[0];
385 $bits{lcfirst}{0} = $bf[0];
386 @{$bits{le}}{1,0} = ($bf[1], $bf[1]);
387 $bits{leaveeval}{0} = $bf[0];
388 $bits{leavegiven}{0} = $bf[0];
389 @{$bits{leaveloop}}{1,0} = ($bf[1], $bf[1]);
390 $bits{leavesub}{0} = $bf[0];
391 $bits{leavesublv}{0} = $bf[0];
392 $bits{leavewhen}{0} = $bf[0];
393 $bits{leavewrite}{0} = $bf[0];
394 @{$bits{left_shift}}{1,0} = ($bf[1], $bf[1]);
395 $bits{length}{0} = $bf[0];
396 @{$bits{link}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
397 $bits{list}{6} = 'OPpLIST_GUESSED';
398 @{$bits{listen}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
399 $bits{localtime}{0} = $bf[0];
400 $bits{lock}{0} = $bf[0];
401 $bits{log}{0} = $bf[0];
402 @{$bits{lslice}}{1,0} = ($bf[1], $bf[1]);
403 $bits{lstat}{0} = $bf[0];
404 @{$bits{lt}}{1,0} = ($bf[1], $bf[1]);
405 $bits{lvavref}{0} = $bf[0];
406 @{$bits{lvref}}{5,4,0} = ($bf[7], $bf[7], $bf[0]);
407 $bits{mapstart}{0} = $bf[0];
408 $bits{mapwhile}{0} = $bf[0];
409 $bits{method}{0} = $bf[0];
410 $bits{method_named}{0} = $bf[0];
411 $bits{method_redir}{0} = $bf[0];
412 $bits{method_redir_super}{0} = $bf[0];
413 $bits{method_super}{0} = $bf[0];
414 @{$bits{mkdir}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
415 @{$bits{modulo}}{1,0} = ($bf[1], $bf[1]);
416 @{$bits{msgctl}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
417 @{$bits{msgget}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
418 @{$bits{msgrcv}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
419 @{$bits{msgsnd}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
420 @{$bits{multideref}}{5,4,0} = ('OPpMULTIDEREF_DELETE', 'OPpMULTIDEREF_EXISTS', $bf[0]);
421 @{$bits{multiply}}{1,0} = ($bf[1], $bf[1]);
422 @{$bits{nbit_and}}{1,0} = ($bf[1], $bf[1]);
423 @{$bits{nbit_or}}{1,0} = ($bf[1], $bf[1]);
424 @{$bits{nbit_xor}}{1,0} = ($bf[1], $bf[1]);
425 @{$bits{ncmp}}{1,0} = ($bf[1], $bf[1]);
426 $bits{ncomplement}{0} = $bf[0];
427 @{$bits{ne}}{1,0} = ($bf[1], $bf[1]);
428 $bits{negate}{0} = $bf[0];
429 $bits{next}{0} = $bf[0];
430 $bits{not}{0} = $bf[0];
431 $bits{oct}{0} = $bf[0];
432 $bits{once}{0} = $bf[0];
433 @{$bits{open}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
434 @{$bits{open_dir}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
435 $bits{or}{0} = $bf[0];
436 $bits{orassign}{0} = $bf[0];
437 $bits{ord}{0} = $bf[0];
438 @{$bits{pack}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
439 @{$bits{padrange}}{6,5,4,3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4], $bf[4], $bf[4], $bf[4]);
440 @{$bits{padsv}}{5,4} = ($bf[6], $bf[6]);
441 @{$bits{pipe_op}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
442 $bits{pop}{0} = $bf[0];
443 $bits{pos}{0} = $bf[0];
444 $bits{postdec}{0} = $bf[0];
445 $bits{postinc}{0} = $bf[0];
446 @{$bits{pow}}{1,0} = ($bf[1], $bf[1]);
447 $bits{predec}{0} = $bf[0];
448 $bits{preinc}{0} = $bf[0];
449 $bits{prototype}{0} = $bf[0];
450 @{$bits{push}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
451 $bits{quotemeta}{0} = $bf[0];
452 @{$bits{rand}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
453 $bits{range}{0} = $bf[0];
454 @{$bits{read}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
455 $bits{readdir}{0} = $bf[0];
456 $bits{readline}{0} = $bf[0];
457 $bits{readlink}{0} = $bf[0];
458 @{$bits{recv}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
459 $bits{redo}{0} = $bf[0];
460 $bits{ref}{0} = $bf[0];
461 @{$bits{refassign}}{5,4,1,0} = ($bf[7], $bf[7], $bf[1], $bf[1]);
462 $bits{refgen}{0} = $bf[0];
463 $bits{regcmaybe}{0} = $bf[0];
464 $bits{regcomp}{0} = $bf[0];
465 $bits{regcreset}{0} = $bf[0];
466 @{$bits{rename}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
467 @{$bits{repeat}}{6,1,0} = ('OPpREPEAT_DOLIST', $bf[1], $bf[1]);
468 $bits{require}{0} = $bf[0];
469 @{$bits{reset}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
470 @{$bits{reverse}}{3,0} = ('OPpREVERSE_INPLACE', $bf[0]);
471 $bits{rewinddir}{0} = $bf[0];
472 @{$bits{right_shift}}{1,0} = ($bf[1], $bf[1]);
473 @{$bits{rindex}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
474 $bits{rmdir}{0} = $bf[0];
475 $bits{rv2av}{0} = $bf[0];
476 @{$bits{rv2cv}}{7,5,0} = ('OPpENTERSUB_NOPAREN', 'OPpMAY_RETURN_CONSTANT', $bf[0]);
477 @{$bits{rv2gv}}{6,5,4,2,0} = ('OPpALLOW_FAKE', $bf[6], $bf[6], 'OPpDONT_INIT_GV', $bf[0]);
478 $bits{rv2hv}{0} = $bf[0];
479 @{$bits{rv2sv}}{5,4,0} = ($bf[6], $bf[6], $bf[0]);
480 @{$bits{sassign}}{7,6,1,0} = ('OPpASSIGN_CV_TO_GV', 'OPpASSIGN_BACKWARDS', $bf[1], $bf[1]);
481 @{$bits{sbit_and}}{1,0} = ($bf[1], $bf[1]);
482 @{$bits{sbit_or}}{1,0} = ($bf[1], $bf[1]);
483 @{$bits{sbit_xor}}{1,0} = ($bf[1], $bf[1]);
484 $bits{scalar}{0} = $bf[0];
485 $bits{schomp}{0} = $bf[0];
486 $bits{schop}{0} = $bf[0];
487 @{$bits{scmp}}{1,0} = ($bf[1], $bf[1]);
488 $bits{scomplement}{0} = $bf[0];
489 @{$bits{seek}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
490 @{$bits{seekdir}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
491 @{$bits{select}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
492 @{$bits{semctl}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
493 @{$bits{semget}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
494 @{$bits{semop}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
495 @{$bits{send}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
496 @{$bits{seq}}{1,0} = ($bf[1], $bf[1]);
497 @{$bits{setpgrp}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
498 @{$bits{setpriority}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
499 @{$bits{sge}}{1,0} = ($bf[1], $bf[1]);
500 @{$bits{sgt}}{1,0} = ($bf[1], $bf[1]);
501 $bits{shift}{0} = $bf[0];
502 @{$bits{shmctl}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
503 @{$bits{shmget}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
504 @{$bits{shmread}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
505 @{$bits{shmwrite}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
506 $bits{shostent}{0} = $bf[0];
507 @{$bits{shutdown}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
508 $bits{sin}{0} = $bf[0];
509 @{$bits{sle}}{1,0} = ($bf[1], $bf[1]);
510 @{$bits{sleep}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
511 @{$bits{slt}}{1,0} = ($bf[1], $bf[1]);
512 @{$bits{smartmatch}}{1,0} = ($bf[1], $bf[1]);
513 @{$bits{sne}}{1,0} = ($bf[1], $bf[1]);
514 $bits{snetent}{0} = $bf[0];
515 @{$bits{socket}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
516 @{$bits{sockpair}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
517 @{$bits{sort}}{6,5,4,3,2,1,0} = ('OPpSORT_STABLE', 'OPpSORT_QSORT', 'OPpSORT_DESCEND', 'OPpSORT_INPLACE', 'OPpSORT_REVERSE', 'OPpSORT_INTEGER', 'OPpSORT_NUMERIC');
518 @{$bits{splice}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
519 $bits{split}{7} = 'OPpSPLIT_IMPLIM';
520 @{$bits{sprintf}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
521 $bits{sprotoent}{0} = $bf[0];
522 $bits{sqrt}{0} = $bf[0];
523 @{$bits{srand}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
524 $bits{srefgen}{0} = $bf[0];
525 @{$bits{sselect}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
526 $bits{sservent}{0} = $bf[0];
527 @{$bits{ssockopt}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
528 $bits{stat}{0} = $bf[0];
529 @{$bits{stringify}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
530 $bits{study}{0} = $bf[0];
531 $bits{substcont}{0} = $bf[0];
532 @{$bits{substr}}{4,2,1,0} = ('OPpSUBSTR_REPL_FIRST', $bf[2], $bf[2], $bf[2]);
533 @{$bits{subtract}}{1,0} = ($bf[1], $bf[1]);
534 @{$bits{symlink}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
535 @{$bits{syscall}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
536 @{$bits{sysopen}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
537 @{$bits{sysread}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
538 @{$bits{sysseek}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
539 @{$bits{system}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
540 @{$bits{syswrite}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
541 @{$bits{tell}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
542 $bits{telldir}{0} = $bf[0];
543 @{$bits{tie}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
544 $bits{tied}{0} = $bf[0];
545 @{$bits{truncate}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
546 $bits{uc}{0} = $bf[0];
547 $bits{ucfirst}{0} = $bf[0];
548 @{$bits{umask}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
549 $bits{undef}{0} = $bf[0];
550 @{$bits{unlink}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
551 @{$bits{unpack}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
552 @{$bits{unshift}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
553 $bits{untie}{0} = $bf[0];
554 @{$bits{utime}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
555 $bits{values}{0} = $bf[0];
556 @{$bits{vec}}{1,0} = ($bf[1], $bf[1]);
557 @{$bits{waitpid}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
558 @{$bits{warn}}{3,2,1,0} = ($bf[3], $bf[3], $bf[3], $bf[3]);
559 @{$bits{xor}}{1,0} = ($bf[1], $bf[1]);
560
561
562 our %defines = (
563     OPpALLOW_FAKE            =>  64,
564     OPpARG1_MASK             =>   1,
565     OPpARG2_MASK             =>   3,
566     OPpARG3_MASK             =>   7,
567     OPpARG4_MASK             =>  15,
568     OPpASSIGN_BACKWARDS      =>  64,
569     OPpASSIGN_COMMON_AGG     =>  16,
570     OPpASSIGN_COMMON_RC1     =>  32,
571     OPpASSIGN_COMMON_SCALAR  =>  64,
572     OPpASSIGN_CV_TO_GV       => 128,
573     OPpCONST_BARE            =>  64,
574     OPpCONST_ENTERED         =>  16,
575     OPpCONST_NOVER           =>   2,
576     OPpCONST_SHORTCIRCUIT    =>   4,
577     OPpCONST_STRICT          =>   8,
578     OPpCOREARGS_DEREF1       =>   1,
579     OPpCOREARGS_DEREF2       =>   2,
580     OPpCOREARGS_PUSHMARK     => 128,
581     OPpCOREARGS_SCALARMOD    =>  64,
582     OPpDEREF                 =>  48,
583     OPpDEREF_AV              =>  16,
584     OPpDEREF_HV              =>  32,
585     OPpDEREF_SV              =>  48,
586     OPpDONT_INIT_GV          =>   4,
587     OPpEARLY_CV              =>  32,
588     OPpENTERSUB_AMPER        =>   8,
589     OPpENTERSUB_DB           =>  64,
590     OPpENTERSUB_HASTARG      =>   4,
591     OPpENTERSUB_INARGS       =>   1,
592     OPpENTERSUB_NOPAREN      => 128,
593     OPpEVAL_BYTES            =>   8,
594     OPpEVAL_COPHH            =>  16,
595     OPpEVAL_HAS_HH           =>   2,
596     OPpEVAL_RE_REPARSING     =>  32,
597     OPpEVAL_UNICODE          =>   4,
598     OPpEXISTS_SUB            =>  64,
599     OPpFLIP_LINENUM          =>  64,
600     OPpFT_ACCESS             =>   2,
601     OPpFT_AFTER_t            =>  16,
602     OPpFT_STACKED            =>   4,
603     OPpFT_STACKING           =>   8,
604     OPpHINT_STRICT_REFS      =>   2,
605     OPpHUSH_VMSISH           =>  32,
606     OPpITER_DEF              =>   8,
607     OPpITER_REVERSED         =>   2,
608     OPpLIST_GUESSED          =>  64,
609     OPpLVALUE                => 128,
610     OPpLVAL_DEFER            =>  64,
611     OPpLVAL_INTRO            => 128,
612     OPpLVREF_AV              =>  16,
613     OPpLVREF_CV              =>  48,
614     OPpLVREF_ELEM            =>   4,
615     OPpLVREF_HV              =>  32,
616     OPpLVREF_ITER            =>   8,
617     OPpLVREF_SV              =>   0,
618     OPpLVREF_TYPE            =>  48,
619     OPpMAYBE_LVSUB           =>   8,
620     OPpMAYBE_TRUEBOOL        =>  16,
621     OPpMAY_RETURN_CONSTANT   =>  32,
622     OPpMULTIDEREF_DELETE     =>  32,
623     OPpMULTIDEREF_EXISTS     =>  16,
624     OPpOFFBYONE              => 128,
625     OPpOPEN_IN_CRLF          =>  32,
626     OPpOPEN_IN_RAW           =>  16,
627     OPpOPEN_OUT_CRLF         => 128,
628     OPpOPEN_OUT_RAW          =>  64,
629     OPpOUR_INTRO             =>  64,
630     OPpPADRANGE_COUNTMASK    => 127,
631     OPpPADRANGE_COUNTSHIFT   =>   7,
632     OPpPAD_STATE             =>  64,
633     OPpPV_IS_UTF8            => 128,
634     OPpREFCOUNTED            =>  64,
635     OPpREPEAT_DOLIST         =>  64,
636     OPpREVERSE_INPLACE       =>   8,
637     OPpRUNTIME               =>  64,
638     OPpSLICE                 =>  64,
639     OPpSLICEWARNING          =>   4,
640     OPpSORT_DESCEND          =>  16,
641     OPpSORT_INPLACE          =>   8,
642     OPpSORT_INTEGER          =>   2,
643     OPpSORT_NUMERIC          =>   1,
644     OPpSORT_QSORT            =>  32,
645     OPpSORT_REVERSE          =>   4,
646     OPpSORT_STABLE           =>  64,
647     OPpSPLIT_IMPLIM          => 128,
648     OPpSUBSTR_REPL_FIRST     =>  16,
649     OPpTARGET_MY             =>  16,
650     OPpTRANS_COMPLEMENT      =>  32,
651     OPpTRANS_DELETE          => 128,
652     OPpTRANS_FROM_UTF        =>   1,
653     OPpTRANS_GROWS           =>  64,
654     OPpTRANS_IDENTICAL       =>   4,
655     OPpTRANS_SQUASH          =>   8,
656     OPpTRANS_TO_UTF          =>   2,
657     OPpTRUEBOOL              =>  32,
658 );
659
660 our %labels = (
661     OPpALLOW_FAKE            => 'FAKE',
662     OPpASSIGN_BACKWARDS      => 'BKWARD',
663     OPpASSIGN_COMMON_AGG     => 'COM_AGG',
664     OPpASSIGN_COMMON_RC1     => 'COM_RC1',
665     OPpASSIGN_COMMON_SCALAR  => 'COM_SCALAR',
666     OPpASSIGN_CV_TO_GV       => 'CV2GV',
667     OPpCONST_BARE            => 'BARE',
668     OPpCONST_ENTERED         => 'ENTERED',
669     OPpCONST_NOVER           => 'NOVER',
670     OPpCONST_SHORTCIRCUIT    => 'SHORT',
671     OPpCONST_STRICT          => 'STRICT',
672     OPpCOREARGS_DEREF1       => 'DEREF1',
673     OPpCOREARGS_DEREF2       => 'DEREF2',
674     OPpCOREARGS_PUSHMARK     => 'MARK',
675     OPpCOREARGS_SCALARMOD    => '$MOD',
676     OPpDEREF_AV              => 'DREFAV',
677     OPpDEREF_HV              => 'DREFHV',
678     OPpDEREF_SV              => 'DREFSV',
679     OPpDONT_INIT_GV          => 'NOINIT',
680     OPpEARLY_CV              => 'EARLYCV',
681     OPpENTERSUB_AMPER        => 'AMPER',
682     OPpENTERSUB_DB           => 'DBG',
683     OPpENTERSUB_HASTARG      => 'TARG',
684     OPpENTERSUB_INARGS       => 'INARGS',
685     OPpENTERSUB_NOPAREN      => 'NO()',
686     OPpEVAL_BYTES            => 'BYTES',
687     OPpEVAL_COPHH            => 'COPHH',
688     OPpEVAL_HAS_HH           => 'HAS_HH',
689     OPpEVAL_RE_REPARSING     => 'REPARSE',
690     OPpEVAL_UNICODE          => 'UNI',
691     OPpEXISTS_SUB            => 'SUB',
692     OPpFLIP_LINENUM          => 'LINENUM',
693     OPpFT_ACCESS             => 'FTACCESS',
694     OPpFT_AFTER_t            => 'FTAFTERt',
695     OPpFT_STACKED            => 'FTSTACKED',
696     OPpFT_STACKING           => 'FTSTACKING',
697     OPpHINT_STRICT_REFS      => 'STRICT',
698     OPpHUSH_VMSISH           => 'HUSH',
699     OPpITER_DEF              => 'DEF',
700     OPpITER_REVERSED         => 'REVERSED',
701     OPpLIST_GUESSED          => 'GUESSED',
702     OPpLVALUE                => 'LV',
703     OPpLVAL_DEFER            => 'LVDEFER',
704     OPpLVAL_INTRO            => 'LVINTRO',
705     OPpLVREF_AV              => 'AV',
706     OPpLVREF_CV              => 'CV',
707     OPpLVREF_ELEM            => 'ELEM',
708     OPpLVREF_HV              => 'HV',
709     OPpLVREF_ITER            => 'ITER',
710     OPpLVREF_SV              => 'SV',
711     OPpMAYBE_LVSUB           => 'LVSUB',
712     OPpMAYBE_TRUEBOOL        => 'BOOL?',
713     OPpMAY_RETURN_CONSTANT   => 'CONST',
714     OPpMULTIDEREF_DELETE     => 'DELETE',
715     OPpMULTIDEREF_EXISTS     => 'EXISTS',
716     OPpOFFBYONE              => '+1',
717     OPpOPEN_IN_CRLF          => 'INCR',
718     OPpOPEN_IN_RAW           => 'INBIN',
719     OPpOPEN_OUT_CRLF         => 'OUTCR',
720     OPpOPEN_OUT_RAW          => 'OUTBIN',
721     OPpOUR_INTRO             => 'OURINTR',
722     OPpPAD_STATE             => 'STATE',
723     OPpPV_IS_UTF8            => 'UTF',
724     OPpREFCOUNTED            => 'REFC',
725     OPpREPEAT_DOLIST         => 'DOLIST',
726     OPpREVERSE_INPLACE       => 'INPLACE',
727     OPpRUNTIME               => 'RTIME',
728     OPpSLICE                 => 'SLICE',
729     OPpSLICEWARNING          => 'SLICEWARN',
730     OPpSORT_DESCEND          => 'DESC',
731     OPpSORT_INPLACE          => 'INPLACE',
732     OPpSORT_INTEGER          => 'INT',
733     OPpSORT_NUMERIC          => 'NUM',
734     OPpSORT_QSORT            => 'QSORT',
735     OPpSORT_REVERSE          => 'REV',
736     OPpSORT_STABLE           => 'STABLE',
737     OPpSPLIT_IMPLIM          => 'IMPLIM',
738     OPpSUBSTR_REPL_FIRST     => 'REPL1ST',
739     OPpTARGET_MY             => 'TARGMY',
740     OPpTRANS_COMPLEMENT      => 'COMPL',
741     OPpTRANS_DELETE          => 'DEL',
742     OPpTRANS_FROM_UTF        => '<UTF',
743     OPpTRANS_GROWS           => 'GROWS',
744     OPpTRANS_IDENTICAL       => 'IDENT',
745     OPpTRANS_SQUASH          => 'SQUASH',
746     OPpTRANS_TO_UTF          => '>UTF',
747     OPpTRUEBOOL              => 'BOOL',
748 );
749
750
751 our %ops_using = (
752     OPpALLOW_FAKE            => [qw(rv2gv)],
753     OPpASSIGN_BACKWARDS      => [qw(sassign)],
754     OPpASSIGN_COMMON_AGG     => [qw(aassign)],
755     OPpCONST_BARE            => [qw(const)],
756     OPpCOREARGS_DEREF1       => [qw(coreargs)],
757     OPpEARLY_CV              => [qw(gv)],
758     OPpENTERSUB_AMPER        => [qw(entersub rv2cv)],
759     OPpENTERSUB_INARGS       => [qw(entersub)],
760     OPpENTERSUB_NOPAREN      => [qw(rv2cv)],
761     OPpEVAL_BYTES            => [qw(entereval)],
762     OPpEXISTS_SUB            => [qw(exists)],
763     OPpFLIP_LINENUM          => [qw(flip flop)],
764     OPpFT_ACCESS             => [qw(fteexec fteread ftewrite ftrexec ftrread ftrwrite)],
765     OPpFT_AFTER_t            => [qw(ftatime ftbinary ftblk ftchr ftctime ftdir fteexec fteowned fteread ftewrite ftfile ftis ftlink ftmtime ftpipe ftrexec ftrowned ftrread ftrwrite ftsgid ftsize ftsock ftsuid ftsvtx fttext fttty ftzero)],
766     OPpHINT_STRICT_REFS      => [qw(entersub multideref rv2av rv2cv rv2gv rv2hv rv2sv)],
767     OPpHUSH_VMSISH           => [qw(dbstate nextstate)],
768     OPpITER_DEF              => [qw(enteriter)],
769     OPpITER_REVERSED         => [qw(enteriter iter)],
770     OPpLIST_GUESSED          => [qw(list)],
771     OPpLVALUE                => [qw(leave leaveloop)],
772     OPpLVAL_DEFER            => [qw(aelem helem multideref)],
773     OPpLVAL_INTRO            => [qw(aelem aslice cond_expr delete enteriter entersub gvsv helem hslice list lvavref lvref lvrefslice multideref padav padhv padrange padsv pushmark refassign rv2av rv2gv rv2hv rv2sv)],
774     OPpLVREF_ELEM            => [qw(lvref refassign)],
775     OPpMAYBE_LVSUB           => [qw(aassign aelem aslice av2arylen helem hslice keys kvaslice kvhslice multideref padav padhv pos rv2av rv2gv rv2hv substr vec)],
776     OPpMAYBE_TRUEBOOL        => [qw(padhv rv2hv)],
777     OPpMULTIDEREF_DELETE     => [qw(multideref)],
778     OPpOFFBYONE              => [qw(caller runcv wantarray)],
779     OPpOPEN_IN_CRLF          => [qw(backtick open)],
780     OPpOUR_INTRO             => [qw(enteriter gvsv rv2av rv2hv rv2sv split)],
781     OPpPAD_STATE             => [qw(lvavref lvref padav padhv padsv pushmark refassign)],
782     OPpPV_IS_UTF8            => [qw(dump goto last next redo)],
783     OPpREFCOUNTED            => [qw(leave leaveeval leavesub leavesublv leavewrite)],
784     OPpREPEAT_DOLIST         => [qw(repeat)],
785     OPpREVERSE_INPLACE       => [qw(reverse)],
786     OPpRUNTIME               => [qw(match pushre qr subst substcont)],
787     OPpSLICE                 => [qw(delete)],
788     OPpSLICEWARNING          => [qw(aslice hslice padav padhv rv2av rv2hv)],
789     OPpSORT_DESCEND          => [qw(sort)],
790     OPpSPLIT_IMPLIM          => [qw(split)],
791     OPpSUBSTR_REPL_FIRST     => [qw(substr)],
792     OPpTARGET_MY             => [qw(abs add atan2 chdir chmod chomp chown chr chroot concat cos crypt divide exec exp flock getpgrp getppid getpriority hex i_add i_divide i_modulo i_multiply i_subtract index int kill left_shift length link log mkdir modulo multiply nbit_and nbit_or nbit_xor ncomplement oct ord pow push rand rename right_shift rindex rmdir schomp scomplement setpgrp setpriority sin sleep sqrt srand stringify subtract symlink system time unlink unshift utime wait waitpid)],
793     OPpTRANS_COMPLEMENT      => [qw(trans transr)],
794 );
795
796 $ops_using{OPpASSIGN_COMMON_RC1} = $ops_using{OPpASSIGN_COMMON_AGG};
797 $ops_using{OPpASSIGN_COMMON_SCALAR} = $ops_using{OPpASSIGN_COMMON_AGG};
798 $ops_using{OPpASSIGN_CV_TO_GV} = $ops_using{OPpASSIGN_BACKWARDS};
799 $ops_using{OPpCONST_ENTERED} = $ops_using{OPpCONST_BARE};
800 $ops_using{OPpCONST_NOVER} = $ops_using{OPpCONST_BARE};
801 $ops_using{OPpCONST_SHORTCIRCUIT} = $ops_using{OPpCONST_BARE};
802 $ops_using{OPpCONST_STRICT} = $ops_using{OPpCONST_BARE};
803 $ops_using{OPpCOREARGS_DEREF2} = $ops_using{OPpCOREARGS_DEREF1};
804 $ops_using{OPpCOREARGS_PUSHMARK} = $ops_using{OPpCOREARGS_DEREF1};
805 $ops_using{OPpCOREARGS_SCALARMOD} = $ops_using{OPpCOREARGS_DEREF1};
806 $ops_using{OPpDONT_INIT_GV} = $ops_using{OPpALLOW_FAKE};
807 $ops_using{OPpENTERSUB_DB} = $ops_using{OPpENTERSUB_AMPER};
808 $ops_using{OPpENTERSUB_HASTARG} = $ops_using{OPpENTERSUB_AMPER};
809 $ops_using{OPpEVAL_COPHH} = $ops_using{OPpEVAL_BYTES};
810 $ops_using{OPpEVAL_HAS_HH} = $ops_using{OPpEVAL_BYTES};
811 $ops_using{OPpEVAL_RE_REPARSING} = $ops_using{OPpEVAL_BYTES};
812 $ops_using{OPpEVAL_UNICODE} = $ops_using{OPpEVAL_BYTES};
813 $ops_using{OPpFT_STACKED} = $ops_using{OPpFT_AFTER_t};
814 $ops_using{OPpFT_STACKING} = $ops_using{OPpFT_AFTER_t};
815 $ops_using{OPpLVREF_ITER} = $ops_using{OPpLVREF_ELEM};
816 $ops_using{OPpMAY_RETURN_CONSTANT} = $ops_using{OPpENTERSUB_NOPAREN};
817 $ops_using{OPpMULTIDEREF_EXISTS} = $ops_using{OPpMULTIDEREF_DELETE};
818 $ops_using{OPpOPEN_IN_RAW} = $ops_using{OPpOPEN_IN_CRLF};
819 $ops_using{OPpOPEN_OUT_CRLF} = $ops_using{OPpOPEN_IN_CRLF};
820 $ops_using{OPpOPEN_OUT_RAW} = $ops_using{OPpOPEN_IN_CRLF};
821 $ops_using{OPpSORT_INPLACE} = $ops_using{OPpSORT_DESCEND};
822 $ops_using{OPpSORT_INTEGER} = $ops_using{OPpSORT_DESCEND};
823 $ops_using{OPpSORT_NUMERIC} = $ops_using{OPpSORT_DESCEND};
824 $ops_using{OPpSORT_QSORT} = $ops_using{OPpSORT_DESCEND};
825 $ops_using{OPpSORT_REVERSE} = $ops_using{OPpSORT_DESCEND};
826 $ops_using{OPpSORT_STABLE} = $ops_using{OPpSORT_DESCEND};
827 $ops_using{OPpTRANS_DELETE} = $ops_using{OPpTRANS_COMPLEMENT};
828 $ops_using{OPpTRANS_FROM_UTF} = $ops_using{OPpTRANS_COMPLEMENT};
829 $ops_using{OPpTRANS_GROWS} = $ops_using{OPpTRANS_COMPLEMENT};
830 $ops_using{OPpTRANS_IDENTICAL} = $ops_using{OPpTRANS_COMPLEMENT};
831 $ops_using{OPpTRANS_SQUASH} = $ops_using{OPpTRANS_COMPLEMENT};
832 $ops_using{OPpTRANS_TO_UTF} = $ops_using{OPpTRANS_COMPLEMENT};
833 $ops_using{OPpTRUEBOOL} = $ops_using{OPpMAYBE_TRUEBOOL};
834
835 # ex: set ro: