xref: /openbsd/gnu/usr.bin/perl/lib/B/Op_private.pm (revision 3d61058a)
1# -*- mode: Perl; 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
17B::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
34This 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
41which contain information about the per-op meanings of the bits in the
42op_private field.
43
44=head2 C<%bits>
45
46This is indexed by op name and then bit number (0..7). For single bit flags,
47it returns the name of the define (if any) for that bit:
48
49   $B::Op_private::bits{aelem}{7} eq 'OPpLVAL_INTRO';
50
51For bit fields, it returns a hash ref containing details about the field.
52The same reference will be returned for all bit positions that make
53up 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
58The 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
93This 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
99This gives the short display label for each define, as used by C<B::Concise>
100and C<perl -Dx>, e.g.
101
102    $B::Op_private::labels{OPpLVAL_INTRO} eq 'LVINTRO';
103
104If the label equals '-', then Concise will treat the bit as a raw bit and
105not try to display it symbolically.
106
107=head2 C<%ops_using>
108
109For each define, this gives a reference to an array of op names that use
110the flag.
111
112    @ops_using_lvintro = @{ $B::Op_private::ops_using{OPp_LVAL_INTRO} };
113
114=cut
115
116package B::Op_private;
117
118our %bits;
119
120
121our $VERSION = "5.040001";
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(ceil entersub floor goto refaddr reftype 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{$_}{6} = 'OPpINDEX_BOOLNEG' for qw(index rindex);
134$bits{$_}{1} = 'OPpITER_REVERSED' for qw(enteriter iter);
135$bits{$_}{7} = 'OPpLVALUE' for qw(leave leaveloop);
136$bits{$_}{6} = 'OPpLVAL_DEFER' for qw(aelem helem multideref);
137$bits{$_}{7} = 'OPpLVAL_INTRO' for qw(aelem aslice cond_expr delete emptyavhv enteriter entersub gvsv helem hslice list lvavref lvref lvrefslice multiconcat multideref padav padhv padrange padsv padsv_store pushmark refassign rv2av rv2gv rv2hv rv2sv split undef);
138$bits{$_}{2} = 'OPpLVREF_ELEM' for qw(lvref refassign);
139$bits{$_}{3} = 'OPpLVREF_ITER' for qw(lvref refassign);
140$bits{$_}{3} = 'OPpMAYBE_LVSUB' for qw(aassign aelem akeys aslice av2arylen avhvswitch helem hslice keys kvaslice kvhslice multideref padav padhv pos rv2av rv2gv rv2hv substr values vec);
141$bits{$_}{4} = 'OPpMAYBE_TRUEBOOL' for qw(blessed padhv ref rv2hv);
142$bits{$_}{1} = 'OPpMETH_NO_BAREWORD_IO' for qw(method method_named method_redir method_redir_super method_super);
143$bits{$_}{7} = 'OPpOFFBYONE' for qw(caller runcv wantarray);
144$bits{$_}{5} = 'OPpOPEN_IN_CRLF' for qw(backtick open);
145$bits{$_}{4} = 'OPpOPEN_IN_RAW' for qw(backtick open);
146$bits{$_}{7} = 'OPpOPEN_OUT_CRLF' for qw(backtick open);
147$bits{$_}{6} = 'OPpOPEN_OUT_RAW' for qw(backtick open);
148$bits{$_}{6} = 'OPpOUR_INTRO' for qw(enteriter gvsv rv2av rv2hv rv2sv split);
149$bits{$_}{6} = 'OPpPAD_STATE' for qw(emptyavhv lvavref lvref padav padhv padsv padsv_store pushmark refassign undef);
150$bits{$_}{7} = 'OPpPV_IS_UTF8' for qw(dump goto last next redo);
151$bits{$_}{6} = 'OPpREFCOUNTED' for qw(leave leaveeval leavesub leavesublv leavewrite);
152$bits{$_}{2} = 'OPpSLICEWARNING' for qw(aslice hslice padav padhv rv2av rv2hv);
153$bits{$_}{4} = 'OPpTARGET_MY' for qw(abs add atan2 ceil chdir chmod chomp chown chr chroot concat cos crypt divide emptyavhv exec exp flock floor getpgrp getppid getpriority hex i_add i_divide i_modulo i_multiply i_negate i_subtract index int kill left_shift length link log mkdir modulo multiconcat multiply nbit_and nbit_or nbit_xor ncomplement negate oct ord pow push rand refaddr reftype rename right_shift rindex rmdir schomp scomplement setpgrp setpriority sin sleep sqrt srand stringify subtract symlink system time undef unlink unshift utime wait waitpid);
154$bits{$_}{0} = 'OPpTRANS_CAN_FORCE_UTF8' for qw(trans transr);
155$bits{$_}{5} = 'OPpTRANS_COMPLEMENT' for qw(trans transr);
156$bits{$_}{7} = 'OPpTRANS_DELETE' for qw(trans transr);
157$bits{$_}{6} = 'OPpTRANS_GROWS' for qw(trans transr);
158$bits{$_}{2} = 'OPpTRANS_IDENTICAL' for qw(trans transr);
159$bits{$_}{3} = 'OPpTRANS_SQUASH' for qw(trans transr);
160$bits{$_}{1} = 'OPpTRANS_USE_SVOP' for qw(trans transr);
161$bits{$_}{5} = 'OPpTRUEBOOL' for qw(blessed grepwhile index length padav padhv pos ref rindex rv2av rv2hv subst);
162$bits{$_}{2} = 'OPpUSEINT' for qw(bit_and bit_or bit_xor complement left_shift nbit_and nbit_or nbit_xor ncomplement right_shift sbit_and sbit_or sbit_xor);
163
164my @bf = (
165    {
166        label     => '-',
167        mask_def  => 'OPpARG1_MASK',
168        bitmin    => 0,
169        bitmax    => 0,
170        bitmask   => 1,
171    },
172    {
173        label     => '-',
174        mask_def  => 'OPpARG2_MASK',
175        bitmin    => 0,
176        bitmax    => 1,
177        bitmask   => 3,
178    },
179    {
180        label     => 'offset',
181        mask_def  => 'OPpAVHVSWITCH_MASK',
182        bitmin    => 0,
183        bitmax    => 1,
184        bitmask   => 3,
185    },
186    {
187        label     => '-',
188        mask_def  => 'OPpARG3_MASK',
189        bitmin    => 0,
190        bitmax    => 2,
191        bitmask   => 7,
192    },
193    {
194        label     => '-',
195        mask_def  => 'OPpARG4_MASK',
196        bitmin    => 0,
197        bitmax    => 3,
198        bitmask   => 15,
199    },
200    {
201        label     => 'range',
202        mask_def  => 'OPpPADRANGE_COUNTMASK',
203        bitcount_def => 'OPpPADRANGE_COUNTSHIFT',
204        bitmin    => 0,
205        bitmax    => 6,
206        bitmask   => 127,
207    },
208    {
209        label     => 'key',
210        bitmin    => 0,
211        bitmax    => 7,
212        bitmask   => 255,
213    },
214    {
215        mask_def  => 'OPpARGELEM_MASK',
216        bitmin    => 1,
217        bitmax    => 2,
218        bitmask   => 6,
219        enum      => [
220            0, 'OPpARGELEM_SV', 'SV',
221            1, 'OPpARGELEM_AV', 'AV',
222            2, 'OPpARGELEM_HV', 'HV',
223        ],
224    },
225    {
226        mask_def  => 'OPpDEREF',
227        bitmin    => 4,
228        bitmax    => 5,
229        bitmask   => 48,
230        enum      => [
231            1, 'OPpDEREF_AV', 'DREFAV',
232            2, 'OPpDEREF_HV', 'DREFHV',
233            3, 'OPpDEREF_SV', 'DREFSV',
234        ],
235    },
236    {
237        mask_def  => 'OPpLVREF_TYPE',
238        bitmin    => 4,
239        bitmax    => 5,
240        bitmask   => 48,
241        enum      => [
242            0, 'OPpLVREF_SV', 'SV',
243            1, 'OPpLVREF_AV', 'AV',
244            2, 'OPpLVREF_HV', 'HV',
245            3, 'OPpLVREF_CV', 'CV',
246        ],
247    },
248    {
249        label     => 'TOKEN',
250        mask_def  => 'OPpCONST_TOKEN_MASK',
251        baseshift_def => 'OPpCONST_TOKEN_SHIFT',
252        bitcount_def => 'OPpCONST_TOKEN_BITS',
253        bitmin    => 6,
254        bitmax    => 7,
255        bitmask   => 192,
256        enum      => [
257            1, 'OPpCONST_TOKEN_LINE', 'LINE',
258            2, 'OPpCONST_TOKEN_FILE', 'FILE',
259            3, 'OPpCONST_TOKEN_PACKAGE', 'PACKAGE',
260        ],
261    },
262);
263
264@{$bits{aassign}}{6,5,4,2,1,0} = ('OPpASSIGN_COMMON_SCALAR', 'OPpASSIGN_COMMON_RC1', 'OPpASSIGN_COMMON_AGG', 'OPpASSIGN_TRUEBOOL', $bf[1], $bf[1]);
265$bits{abs}{0} = $bf[0];
266@{$bits{accept}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
267@{$bits{add}}{1,0} = ($bf[1], $bf[1]);
268$bits{aeach}{0} = $bf[0];
269@{$bits{aelem}}{5,4,1,0} = ($bf[8], $bf[8], $bf[1], $bf[1]);
270@{$bits{aelemfast}}{7,6,5,4,3,2,1,0} = ($bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6]);
271@{$bits{aelemfast_lex}}{7,6,5,4,3,2,1,0} = ($bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6]);
272@{$bits{aelemfastlex_store}}{7,6,5,4,3,2,1,0} = ($bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6], $bf[6]);
273$bits{akeys}{0} = $bf[0];
274$bits{alarm}{0} = $bf[0];
275$bits{and}{0} = $bf[0];
276$bits{andassign}{0} = $bf[0];
277$bits{anonconst}{0} = $bf[0];
278@{$bits{anonhash}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
279@{$bits{anonlist}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
280$bits{argcheck}{0} = $bf[0];
281@{$bits{argdefelem}}{7,6,0} = ('OPpARG_IF_UNDEF', 'OPpARG_IF_FALSE', $bf[0]);
282@{$bits{argelem}}{2,1,0} = ($bf[7], $bf[7], $bf[0]);
283@{$bits{atan2}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
284$bits{av2arylen}{0} = $bf[0];
285$bits{avalues}{0} = $bf[0];
286@{$bits{avhvswitch}}{1,0} = ($bf[2], $bf[2]);
287$bits{backtick}{0} = $bf[0];
288@{$bits{bind}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
289@{$bits{binmode}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
290@{$bits{bless}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
291$bits{blessed}{0} = $bf[0];
292@{$bits{caller}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
293$bits{catch}{0} = $bf[0];
294$bits{ceil}{0} = $bf[0];
295@{$bits{chdir}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
296@{$bits{chmod}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
297$bits{chomp}{0} = $bf[0];
298$bits{chop}{0} = $bf[0];
299@{$bits{chown}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
300$bits{chr}{0} = $bf[0];
301$bits{chroot}{0} = $bf[0];
302@{$bits{close}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
303$bits{closedir}{0} = $bf[0];
304$bits{cmpchain_and}{0} = $bf[0];
305$bits{cmpchain_dup}{0} = $bf[0];
306@{$bits{concat}}{6,1,0} = ('OPpCONCAT_NESTED', $bf[1], $bf[1]);
307$bits{cond_expr}{0} = $bf[0];
308@{$bits{connect}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
309@{$bits{const}}{7,6,5,4,3,2,1} = ($bf[10], $bf[10], 'OPpCONST_BARE', 'OPpCONST_ENTERED', 'OPpCONST_STRICT', 'OPpCONST_SHORTCIRCUIT', 'OPpCONST_NOVER');
310@{$bits{coreargs}}{7,6,1,0} = ('OPpCOREARGS_PUSHMARK', 'OPpCOREARGS_SCALARMOD', 'OPpCOREARGS_DEREF2', 'OPpCOREARGS_DEREF1');
311$bits{cos}{0} = $bf[0];
312@{$bits{crypt}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
313$bits{dbmclose}{0} = $bf[0];
314@{$bits{dbmopen}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
315$bits{defined}{0} = $bf[0];
316@{$bits{delete}}{6,5,0} = ('OPpSLICE', 'OPpKVSLICE', $bf[0]);
317@{$bits{die}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
318@{$bits{divide}}{1,0} = ($bf[1], $bf[1]);
319$bits{dofile}{0} = $bf[0];
320$bits{dor}{0} = $bf[0];
321$bits{dorassign}{0} = $bf[0];
322$bits{dump}{0} = $bf[0];
323$bits{each}{0} = $bf[0];
324@{$bits{emptyavhv}}{5,3,2,1,0} = ('OPpEMPTYAVHV_IS_HV', $bf[4], $bf[4], $bf[4], $bf[4]);
325@{$bits{entereval}}{6,5,4,3,2,1,0} = ('OPpEVAL_EVALSV', 'OPpEVAL_RE_REPARSING', 'OPpEVAL_COPHH', 'OPpEVAL_BYTES', 'OPpEVAL_UNICODE', 'OPpEVAL_HAS_HH', $bf[0]);
326$bits{entergiven}{0} = $bf[0];
327$bits{enteriter}{3} = 'OPpITER_DEF';
328@{$bits{entersub}}{5,4,0} = ($bf[8], $bf[8], 'OPpENTERSUB_INARGS');
329$bits{entertry}{0} = $bf[0];
330$bits{entertrycatch}{0} = $bf[0];
331$bits{enterwhen}{0} = $bf[0];
332@{$bits{enterwrite}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
333@{$bits{eof}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
334@{$bits{eq}}{1,0} = ($bf[1], $bf[1]);
335@{$bits{exec}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
336@{$bits{exists}}{6,0} = ('OPpEXISTS_SUB', $bf[0]);
337@{$bits{exit}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
338$bits{exp}{0} = $bf[0];
339$bits{fc}{0} = $bf[0];
340@{$bits{fcntl}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
341@{$bits{fileno}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
342$bits{flip}{0} = $bf[0];
343@{$bits{flock}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
344$bits{floor}{0} = $bf[0];
345$bits{flop}{0} = $bf[0];
346@{$bits{formline}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
347$bits{ftatime}{0} = $bf[0];
348$bits{ftbinary}{0} = $bf[0];
349$bits{ftblk}{0} = $bf[0];
350$bits{ftchr}{0} = $bf[0];
351$bits{ftctime}{0} = $bf[0];
352$bits{ftdir}{0} = $bf[0];
353$bits{fteexec}{0} = $bf[0];
354$bits{fteowned}{0} = $bf[0];
355$bits{fteread}{0} = $bf[0];
356$bits{ftewrite}{0} = $bf[0];
357$bits{ftfile}{0} = $bf[0];
358$bits{ftis}{0} = $bf[0];
359$bits{ftlink}{0} = $bf[0];
360$bits{ftmtime}{0} = $bf[0];
361$bits{ftpipe}{0} = $bf[0];
362$bits{ftrexec}{0} = $bf[0];
363$bits{ftrowned}{0} = $bf[0];
364$bits{ftrread}{0} = $bf[0];
365$bits{ftrwrite}{0} = $bf[0];
366$bits{ftsgid}{0} = $bf[0];
367$bits{ftsize}{0} = $bf[0];
368$bits{ftsock}{0} = $bf[0];
369$bits{ftsuid}{0} = $bf[0];
370$bits{ftsvtx}{0} = $bf[0];
371$bits{fttext}{0} = $bf[0];
372$bits{fttty}{0} = $bf[0];
373$bits{ftzero}{0} = $bf[0];
374@{$bits{ge}}{1,0} = ($bf[1], $bf[1]);
375@{$bits{gelem}}{1,0} = ($bf[1], $bf[1]);
376@{$bits{getc}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
377$bits{getpeername}{0} = $bf[0];
378@{$bits{getpgrp}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
379@{$bits{getpriority}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
380$bits{getsockname}{0} = $bf[0];
381$bits{ggrgid}{0} = $bf[0];
382$bits{ggrnam}{0} = $bf[0];
383@{$bits{ghbyaddr}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
384$bits{ghbyname}{0} = $bf[0];
385@{$bits{glob}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
386@{$bits{gmtime}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
387@{$bits{gnbyaddr}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
388$bits{gnbyname}{0} = $bf[0];
389$bits{goto}{0} = $bf[0];
390$bits{gpbyname}{0} = $bf[0];
391@{$bits{gpbynumber}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
392$bits{gpwnam}{0} = $bf[0];
393$bits{gpwuid}{0} = $bf[0];
394$bits{grepstart}{0} = $bf[0];
395$bits{grepwhile}{0} = $bf[0];
396@{$bits{gsbyname}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
397@{$bits{gsbyport}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
398@{$bits{gsockopt}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
399@{$bits{gt}}{1,0} = ($bf[1], $bf[1]);
400$bits{gv}{5} = 'OPpEARLY_CV';
401@{$bits{helem}}{5,4,1,0} = ($bf[8], $bf[8], $bf[1], $bf[1]);
402@{$bits{helemexistsor}}{7,0} = ('OPpHELEMEXISTSOR_DELETE', $bf[0]);
403$bits{hex}{0} = $bf[0];
404@{$bits{i_add}}{1,0} = ($bf[1], $bf[1]);
405@{$bits{i_divide}}{1,0} = ($bf[1], $bf[1]);
406@{$bits{i_eq}}{1,0} = ($bf[1], $bf[1]);
407@{$bits{i_ge}}{1,0} = ($bf[1], $bf[1]);
408@{$bits{i_gt}}{1,0} = ($bf[1], $bf[1]);
409@{$bits{i_le}}{1,0} = ($bf[1], $bf[1]);
410@{$bits{i_lt}}{1,0} = ($bf[1], $bf[1]);
411@{$bits{i_modulo}}{1,0} = ($bf[1], $bf[1]);
412@{$bits{i_multiply}}{1,0} = ($bf[1], $bf[1]);
413@{$bits{i_ncmp}}{1,0} = ($bf[1], $bf[1]);
414@{$bits{i_ne}}{1,0} = ($bf[1], $bf[1]);
415$bits{i_negate}{0} = $bf[0];
416$bits{i_postdec}{0} = $bf[0];
417$bits{i_postinc}{0} = $bf[0];
418$bits{i_predec}{0} = $bf[0];
419$bits{i_preinc}{0} = $bf[0];
420@{$bits{i_subtract}}{1,0} = ($bf[1], $bf[1]);
421@{$bits{index}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
422@{$bits{initfield}}{2,1,0} = ('OPpINITFIELD_HV', 'OPpINITFIELD_AV', $bf[0]);
423$bits{int}{0} = $bf[0];
424@{$bits{ioctl}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
425$bits{is_bool}{0} = $bf[0];
426$bits{is_tainted}{0} = $bf[0];
427$bits{is_weak}{0} = $bf[0];
428@{$bits{isa}}{1,0} = ($bf[1], $bf[1]);
429@{$bits{join}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
430$bits{keys}{0} = $bf[0];
431@{$bits{kill}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
432$bits{last}{0} = $bf[0];
433$bits{lc}{0} = $bf[0];
434$bits{lcfirst}{0} = $bf[0];
435@{$bits{le}}{1,0} = ($bf[1], $bf[1]);
436$bits{leaveeval}{0} = $bf[0];
437$bits{leavegiven}{0} = $bf[0];
438@{$bits{leaveloop}}{1,0} = ($bf[1], $bf[1]);
439$bits{leavesub}{0} = $bf[0];
440$bits{leavesublv}{0} = $bf[0];
441$bits{leavewhen}{0} = $bf[0];
442$bits{leavewrite}{0} = $bf[0];
443$bits{length}{0} = $bf[0];
444@{$bits{link}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
445$bits{list}{6} = 'OPpLIST_GUESSED';
446@{$bits{listen}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
447$bits{localtime}{0} = $bf[0];
448$bits{lock}{0} = $bf[0];
449$bits{log}{0} = $bf[0];
450@{$bits{lslice}}{1,0} = ($bf[1], $bf[1]);
451$bits{lstat}{0} = $bf[0];
452@{$bits{lt}}{1,0} = ($bf[1], $bf[1]);
453$bits{lvavref}{0} = $bf[0];
454@{$bits{lvref}}{5,4,0} = ($bf[9], $bf[9], $bf[0]);
455$bits{mapstart}{0} = $bf[0];
456$bits{mapwhile}{0} = $bf[0];
457$bits{method}{0} = $bf[0];
458$bits{method_named}{0} = $bf[0];
459$bits{method_redir}{0} = $bf[0];
460$bits{method_redir_super}{0} = $bf[0];
461$bits{method_super}{0} = $bf[0];
462@{$bits{methstart}}{7,0} = ('OPpINITFIELDS', $bf[0]);
463@{$bits{mkdir}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
464@{$bits{modulo}}{1,0} = ($bf[1], $bf[1]);
465@{$bits{msgctl}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
466@{$bits{msgget}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
467@{$bits{msgrcv}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
468@{$bits{msgsnd}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
469@{$bits{multiconcat}}{6,5,3,0} = ('OPpMULTICONCAT_APPEND', 'OPpMULTICONCAT_FAKE', 'OPpMULTICONCAT_STRINGIFY', $bf[0]);
470@{$bits{multideref}}{5,4,0} = ('OPpMULTIDEREF_DELETE', 'OPpMULTIDEREF_EXISTS', $bf[0]);
471@{$bits{multiply}}{1,0} = ($bf[1], $bf[1]);
472@{$bits{ncmp}}{1,0} = ($bf[1], $bf[1]);
473@{$bits{ne}}{1,0} = ($bf[1], $bf[1]);
474$bits{negate}{0} = $bf[0];
475$bits{next}{0} = $bf[0];
476$bits{not}{0} = $bf[0];
477$bits{oct}{0} = $bf[0];
478$bits{once}{0} = $bf[0];
479@{$bits{open}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
480@{$bits{open_dir}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
481$bits{or}{0} = $bf[0];
482$bits{orassign}{0} = $bf[0];
483$bits{ord}{0} = $bf[0];
484@{$bits{pack}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
485$bits{padhv}{0} = 'OPpPADHV_ISKEYS';
486@{$bits{padrange}}{6,5,4,3,2,1,0} = ($bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5], $bf[5]);
487@{$bits{padsv}}{5,4} = ($bf[8], $bf[8]);
488$bits{padsv_store}{0} = $bf[0];
489@{$bits{pipe_op}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
490$bits{pop}{0} = $bf[0];
491$bits{pos}{0} = $bf[0];
492$bits{postdec}{0} = $bf[0];
493$bits{postinc}{0} = $bf[0];
494@{$bits{pow}}{1,0} = ($bf[1], $bf[1]);
495$bits{predec}{0} = $bf[0];
496$bits{preinc}{0} = $bf[0];
497$bits{prototype}{0} = $bf[0];
498@{$bits{push}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
499@{$bits{pushdefer}}{7,0} = ('OPpDEFER_FINALLY', $bf[0]);
500$bits{quotemeta}{0} = $bf[0];
501@{$bits{rand}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
502$bits{range}{0} = $bf[0];
503@{$bits{read}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
504$bits{readdir}{0} = $bf[0];
505$bits{readline}{0} = $bf[0];
506$bits{readlink}{0} = $bf[0];
507@{$bits{recv}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
508$bits{redo}{0} = $bf[0];
509$bits{ref}{0} = $bf[0];
510$bits{refaddr}{0} = $bf[0];
511@{$bits{refassign}}{5,4,1,0} = ($bf[9], $bf[9], $bf[1], $bf[1]);
512$bits{refgen}{0} = $bf[0];
513$bits{reftype}{0} = $bf[0];
514$bits{regcmaybe}{0} = $bf[0];
515$bits{regcomp}{0} = $bf[0];
516$bits{regcreset}{0} = $bf[0];
517@{$bits{rename}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
518@{$bits{repeat}}{6,1,0} = ('OPpREPEAT_DOLIST', $bf[1], $bf[1]);
519$bits{require}{0} = $bf[0];
520@{$bits{reset}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
521@{$bits{reverse}}{3,0} = ('OPpREVERSE_INPLACE', $bf[0]);
522$bits{rewinddir}{0} = $bf[0];
523@{$bits{rindex}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
524$bits{rmdir}{0} = $bf[0];
525$bits{rv2av}{0} = $bf[0];
526@{$bits{rv2cv}}{7,5,0} = ('OPpENTERSUB_NOPAREN', 'OPpMAY_RETURN_CONSTANT', $bf[0]);
527@{$bits{rv2gv}}{6,5,4,2,0} = ('OPpALLOW_FAKE', $bf[8], $bf[8], 'OPpDONT_INIT_GV', $bf[0]);
528$bits{rv2hv}{0} = 'OPpRV2HV_ISKEYS';
529@{$bits{rv2sv}}{5,4,0} = ($bf[8], $bf[8], $bf[0]);
530@{$bits{sassign}}{7,6,1,0} = ('OPpASSIGN_CV_TO_GV', 'OPpASSIGN_BACKWARDS', $bf[1], $bf[1]);
531$bits{scalar}{0} = $bf[0];
532$bits{schomp}{0} = $bf[0];
533$bits{schop}{0} = $bf[0];
534@{$bits{scmp}}{1,0} = ($bf[1], $bf[1]);
535$bits{scomplement}{0} = $bf[0];
536@{$bits{seek}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
537@{$bits{seekdir}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
538@{$bits{select}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
539@{$bits{semctl}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
540@{$bits{semget}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
541@{$bits{semop}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
542@{$bits{send}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
543@{$bits{seq}}{1,0} = ($bf[1], $bf[1]);
544@{$bits{setpgrp}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
545@{$bits{setpriority}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
546@{$bits{sge}}{1,0} = ($bf[1], $bf[1]);
547@{$bits{sgt}}{1,0} = ($bf[1], $bf[1]);
548$bits{shift}{0} = $bf[0];
549@{$bits{shmctl}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
550@{$bits{shmget}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
551@{$bits{shmread}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
552@{$bits{shmwrite}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
553$bits{shostent}{0} = $bf[0];
554@{$bits{shutdown}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
555$bits{sin}{0} = $bf[0];
556@{$bits{sle}}{1,0} = ($bf[1], $bf[1]);
557@{$bits{sleep}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
558@{$bits{slt}}{1,0} = ($bf[1], $bf[1]);
559@{$bits{smartmatch}}{1,0} = ($bf[1], $bf[1]);
560@{$bits{sne}}{1,0} = ($bf[1], $bf[1]);
561$bits{snetent}{0} = $bf[0];
562@{$bits{socket}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
563@{$bits{sockpair}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
564@{$bits{sort}}{4,3,2,1,0} = ('OPpSORT_DESCEND', 'OPpSORT_INPLACE', 'OPpSORT_REVERSE', 'OPpSORT_INTEGER', 'OPpSORT_NUMERIC');
565@{$bits{splice}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
566@{$bits{split}}{4,3,2} = ('OPpSPLIT_ASSIGN', 'OPpSPLIT_LEX', 'OPpSPLIT_IMPLIM');
567@{$bits{sprintf}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
568$bits{sprotoent}{0} = $bf[0];
569$bits{sqrt}{0} = $bf[0];
570@{$bits{srand}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
571$bits{srefgen}{0} = $bf[0];
572@{$bits{sselect}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
573$bits{sservent}{0} = $bf[0];
574@{$bits{ssockopt}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
575$bits{stat}{0} = $bf[0];
576@{$bits{stringify}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
577$bits{study}{0} = $bf[0];
578$bits{substcont}{0} = $bf[0];
579@{$bits{substr}}{4,2,1,0} = ('OPpSUBSTR_REPL_FIRST', $bf[3], $bf[3], $bf[3]);
580@{$bits{subtract}}{1,0} = ($bf[1], $bf[1]);
581@{$bits{symlink}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
582@{$bits{syscall}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
583@{$bits{sysopen}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
584@{$bits{sysread}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
585@{$bits{sysseek}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
586@{$bits{system}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
587@{$bits{syswrite}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
588@{$bits{tell}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
589$bits{telldir}{0} = $bf[0];
590@{$bits{tie}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
591$bits{tied}{0} = $bf[0];
592@{$bits{truncate}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
593$bits{uc}{0} = $bf[0];
594$bits{ucfirst}{0} = $bf[0];
595@{$bits{umask}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
596@{$bits{undef}}{5,0} = ('OPpUNDEF_KEEP_PV', $bf[0]);
597@{$bits{unlink}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
598@{$bits{unpack}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
599@{$bits{unshift}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
600$bits{untie}{0} = $bf[0];
601$bits{unweaken}{0} = $bf[0];
602@{$bits{utime}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
603$bits{values}{0} = $bf[0];
604@{$bits{vec}}{1,0} = ($bf[1], $bf[1]);
605@{$bits{waitpid}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
606@{$bits{warn}}{3,2,1,0} = ($bf[4], $bf[4], $bf[4], $bf[4]);
607$bits{weaken}{0} = $bf[0];
608@{$bits{xor}}{1,0} = ($bf[1], $bf[1]);
609
610
611our %defines = (
612    OPpALLOW_FAKE            =>  64,
613    OPpARG1_MASK             =>   1,
614    OPpARG2_MASK             =>   3,
615    OPpARG3_MASK             =>   7,
616    OPpARG4_MASK             =>  15,
617    OPpARGELEM_AV            =>   2,
618    OPpARGELEM_HV            =>   4,
619    OPpARGELEM_MASK          =>   6,
620    OPpARGELEM_SV            =>   0,
621    OPpARG_IF_FALSE          =>  64,
622    OPpARG_IF_UNDEF          => 128,
623    OPpASSIGN_BACKWARDS      =>  64,
624    OPpASSIGN_COMMON_AGG     =>  16,
625    OPpASSIGN_COMMON_RC1     =>  32,
626    OPpASSIGN_COMMON_SCALAR  =>  64,
627    OPpASSIGN_CV_TO_GV       => 128,
628    OPpASSIGN_TRUEBOOL       =>   4,
629    OPpAVHVSWITCH_MASK       =>   3,
630    OPpCONCAT_NESTED         =>  64,
631    OPpCONST_BARE            =>  32,
632    OPpCONST_ENTERED         =>  16,
633    OPpCONST_NOVER           =>   2,
634    OPpCONST_SHORTCIRCUIT    =>   4,
635    OPpCONST_STRICT          =>   8,
636    OPpCONST_TOKEN_BITS      =>   2,
637    OPpCONST_TOKEN_FILE      => 128,
638    OPpCONST_TOKEN_LINE      =>  64,
639    OPpCONST_TOKEN_MASK      => 192,
640    OPpCONST_TOKEN_PACKAGE   => 192,
641    OPpCONST_TOKEN_SHIFT     =>   6,
642    OPpCOREARGS_DEREF1       =>   1,
643    OPpCOREARGS_DEREF2       =>   2,
644    OPpCOREARGS_PUSHMARK     => 128,
645    OPpCOREARGS_SCALARMOD    =>  64,
646    OPpDEFER_FINALLY         => 128,
647    OPpDEREF                 =>  48,
648    OPpDEREF_AV              =>  16,
649    OPpDEREF_HV              =>  32,
650    OPpDEREF_SV              =>  48,
651    OPpDONT_INIT_GV          =>   4,
652    OPpEARLY_CV              =>  32,
653    OPpEMPTYAVHV_IS_HV       =>  32,
654    OPpENTERSUB_AMPER        =>   8,
655    OPpENTERSUB_DB           =>  64,
656    OPpENTERSUB_HASTARG      =>   4,
657    OPpENTERSUB_INARGS       =>   1,
658    OPpENTERSUB_NOPAREN      => 128,
659    OPpEVAL_BYTES            =>   8,
660    OPpEVAL_COPHH            =>  16,
661    OPpEVAL_EVALSV           =>  64,
662    OPpEVAL_HAS_HH           =>   2,
663    OPpEVAL_RE_REPARSING     =>  32,
664    OPpEVAL_UNICODE          =>   4,
665    OPpEXISTS_SUB            =>  64,
666    OPpFLIP_LINENUM          =>  64,
667    OPpFT_ACCESS             =>   2,
668    OPpFT_AFTER_t            =>  16,
669    OPpFT_STACKED            =>   4,
670    OPpFT_STACKING           =>   8,
671    OPpHELEMEXISTSOR_DELETE  => 128,
672    OPpHINT_STRICT_REFS      =>   2,
673    OPpHUSH_VMSISH           =>  32,
674    OPpINDEX_BOOLNEG         =>  64,
675    OPpINITFIELDS            => 128,
676    OPpINITFIELD_AV          =>   2,
677    OPpINITFIELD_HV          =>   4,
678    OPpITER_DEF              =>   8,
679    OPpITER_REVERSED         =>   2,
680    OPpKVSLICE               =>  32,
681    OPpLIST_GUESSED          =>  64,
682    OPpLVALUE                => 128,
683    OPpLVAL_DEFER            =>  64,
684    OPpLVAL_INTRO            => 128,
685    OPpLVREF_AV              =>  16,
686    OPpLVREF_CV              =>  48,
687    OPpLVREF_ELEM            =>   4,
688    OPpLVREF_HV              =>  32,
689    OPpLVREF_ITER            =>   8,
690    OPpLVREF_SV              =>   0,
691    OPpLVREF_TYPE            =>  48,
692    OPpMAYBE_LVSUB           =>   8,
693    OPpMAYBE_TRUEBOOL        =>  16,
694    OPpMAY_RETURN_CONSTANT   =>  32,
695    OPpMETH_NO_BAREWORD_IO   =>   2,
696    OPpMULTICONCAT_APPEND    =>  64,
697    OPpMULTICONCAT_FAKE      =>  32,
698    OPpMULTICONCAT_STRINGIFY  =>   8,
699    OPpMULTIDEREF_DELETE     =>  32,
700    OPpMULTIDEREF_EXISTS     =>  16,
701    OPpOFFBYONE              => 128,
702    OPpOPEN_IN_CRLF          =>  32,
703    OPpOPEN_IN_RAW           =>  16,
704    OPpOPEN_OUT_CRLF         => 128,
705    OPpOPEN_OUT_RAW          =>  64,
706    OPpOUR_INTRO             =>  64,
707    OPpPADHV_ISKEYS          =>   1,
708    OPpPADRANGE_COUNTMASK    => 127,
709    OPpPADRANGE_COUNTSHIFT   =>   7,
710    OPpPAD_STATE             =>  64,
711    OPpPV_IS_UTF8            => 128,
712    OPpREFCOUNTED            =>  64,
713    OPpREPEAT_DOLIST         =>  64,
714    OPpREVERSE_INPLACE       =>   8,
715    OPpRV2HV_ISKEYS          =>   1,
716    OPpSLICE                 =>  64,
717    OPpSLICEWARNING          =>   4,
718    OPpSORT_DESCEND          =>  16,
719    OPpSORT_INPLACE          =>   8,
720    OPpSORT_INTEGER          =>   2,
721    OPpSORT_NUMERIC          =>   1,
722    OPpSORT_REVERSE          =>   4,
723    OPpSPLIT_ASSIGN          =>  16,
724    OPpSPLIT_IMPLIM          =>   4,
725    OPpSPLIT_LEX             =>   8,
726    OPpSUBSTR_REPL_FIRST     =>  16,
727    OPpTARGET_MY             =>  16,
728    OPpTRANS_CAN_FORCE_UTF8  =>   1,
729    OPpTRANS_COMPLEMENT      =>  32,
730    OPpTRANS_DELETE          => 128,
731    OPpTRANS_GROWS           =>  64,
732    OPpTRANS_IDENTICAL       =>   4,
733    OPpTRANS_SQUASH          =>   8,
734    OPpTRANS_USE_SVOP        =>   2,
735    OPpTRUEBOOL              =>  32,
736    OPpUNDEF_KEEP_PV         =>  32,
737    OPpUSEINT                =>   4,
738);
739
740our %labels = (
741    OPpALLOW_FAKE            => 'FAKE',
742    OPpARGELEM_AV            => 'AV',
743    OPpARGELEM_HV            => 'HV',
744    OPpARGELEM_SV            => 'SV',
745    OPpARG_IF_FALSE          => 'IF_FALSE',
746    OPpARG_IF_UNDEF          => 'IF_UNDEF',
747    OPpASSIGN_BACKWARDS      => 'BKWARD',
748    OPpASSIGN_COMMON_AGG     => 'COM_AGG',
749    OPpASSIGN_COMMON_RC1     => 'COM_RC1',
750    OPpASSIGN_COMMON_SCALAR  => 'COM_SCALAR',
751    OPpASSIGN_CV_TO_GV       => 'CV2GV',
752    OPpASSIGN_TRUEBOOL       => 'BOOL',
753    OPpCONCAT_NESTED         => 'NESTED',
754    OPpCONST_BARE            => 'BARE',
755    OPpCONST_ENTERED         => 'ENTERED',
756    OPpCONST_NOVER           => 'NOVER',
757    OPpCONST_SHORTCIRCUIT    => 'SHORT',
758    OPpCONST_STRICT          => 'STRICT',
759    OPpCONST_TOKEN_FILE      => 'FILE',
760    OPpCONST_TOKEN_LINE      => 'LINE',
761    OPpCONST_TOKEN_PACKAGE   => 'PACKAGE',
762    OPpCOREARGS_DEREF1       => 'DEREF1',
763    OPpCOREARGS_DEREF2       => 'DEREF2',
764    OPpCOREARGS_PUSHMARK     => 'MARK',
765    OPpCOREARGS_SCALARMOD    => '$MOD',
766    OPpDEFER_FINALLY         => 'FINALLY',
767    OPpDEREF_AV              => 'DREFAV',
768    OPpDEREF_HV              => 'DREFHV',
769    OPpDEREF_SV              => 'DREFSV',
770    OPpDONT_INIT_GV          => 'NOINIT',
771    OPpEARLY_CV              => 'EARLYCV',
772    OPpEMPTYAVHV_IS_HV       => 'ANONHASH',
773    OPpENTERSUB_AMPER        => 'AMPER',
774    OPpENTERSUB_DB           => 'DBG',
775    OPpENTERSUB_HASTARG      => 'TARG',
776    OPpENTERSUB_INARGS       => 'INARGS',
777    OPpENTERSUB_NOPAREN      => 'NO()',
778    OPpEVAL_BYTES            => 'BYTES',
779    OPpEVAL_COPHH            => 'COPHH',
780    OPpEVAL_EVALSV           => 'EVALSV',
781    OPpEVAL_HAS_HH           => 'HAS_HH',
782    OPpEVAL_RE_REPARSING     => 'REPARSE',
783    OPpEVAL_UNICODE          => 'UNI',
784    OPpEXISTS_SUB            => 'SUB',
785    OPpFLIP_LINENUM          => 'LINENUM',
786    OPpFT_ACCESS             => 'FTACCESS',
787    OPpFT_AFTER_t            => 'FTAFTERt',
788    OPpFT_STACKED            => 'FTSTACKED',
789    OPpFT_STACKING           => 'FTSTACKING',
790    OPpHELEMEXISTSOR_DELETE  => 'DELETE',
791    OPpHINT_STRICT_REFS      => 'STRICT',
792    OPpHUSH_VMSISH           => 'HUSH',
793    OPpINDEX_BOOLNEG         => 'NEG',
794    OPpINITFIELDS            => 'INITFIELDS',
795    OPpINITFIELD_AV          => 'INITFIELD_AV',
796    OPpINITFIELD_HV          => 'INITFIELD_HV',
797    OPpITER_DEF              => 'DEF',
798    OPpITER_REVERSED         => 'REVERSED',
799    OPpKVSLICE               => 'KVSLICE',
800    OPpLIST_GUESSED          => 'GUESSED',
801    OPpLVALUE                => 'LV',
802    OPpLVAL_DEFER            => 'LVDEFER',
803    OPpLVAL_INTRO            => 'LVINTRO',
804    OPpLVREF_AV              => 'AV',
805    OPpLVREF_CV              => 'CV',
806    OPpLVREF_ELEM            => 'ELEM',
807    OPpLVREF_HV              => 'HV',
808    OPpLVREF_ITER            => 'ITER',
809    OPpLVREF_SV              => 'SV',
810    OPpMAYBE_LVSUB           => 'LVSUB',
811    OPpMAYBE_TRUEBOOL        => 'BOOL?',
812    OPpMAY_RETURN_CONSTANT   => 'CONST',
813    OPpMETH_NO_BAREWORD_IO   => 'NO_BAREWORD_IO',
814    OPpMULTICONCAT_APPEND    => 'APPEND',
815    OPpMULTICONCAT_FAKE      => 'FAKE',
816    OPpMULTICONCAT_STRINGIFY  => 'STRINGIFY',
817    OPpMULTIDEREF_DELETE     => 'DELETE',
818    OPpMULTIDEREF_EXISTS     => 'EXISTS',
819    OPpOFFBYONE              => '+1',
820    OPpOPEN_IN_CRLF          => 'INCR',
821    OPpOPEN_IN_RAW           => 'INBIN',
822    OPpOPEN_OUT_CRLF         => 'OUTCR',
823    OPpOPEN_OUT_RAW          => 'OUTBIN',
824    OPpOUR_INTRO             => 'OURINTR',
825    OPpPADHV_ISKEYS          => 'KEYS',
826    OPpPAD_STATE             => 'STATE',
827    OPpPV_IS_UTF8            => 'UTF',
828    OPpREFCOUNTED            => 'REFC',
829    OPpREPEAT_DOLIST         => 'DOLIST',
830    OPpREVERSE_INPLACE       => 'INPLACE',
831    OPpRV2HV_ISKEYS          => 'KEYS',
832    OPpSLICE                 => 'SLICE',
833    OPpSLICEWARNING          => 'SLICEWARN',
834    OPpSORT_DESCEND          => 'DESC',
835    OPpSORT_INPLACE          => 'INPLACE',
836    OPpSORT_INTEGER          => 'INT',
837    OPpSORT_NUMERIC          => 'NUM',
838    OPpSORT_REVERSE          => 'REV',
839    OPpSPLIT_ASSIGN          => 'ASSIGN',
840    OPpSPLIT_IMPLIM          => 'IMPLIM',
841    OPpSPLIT_LEX             => 'LEX',
842    OPpSUBSTR_REPL_FIRST     => 'REPL1ST',
843    OPpTARGET_MY             => 'TARGMY',
844    OPpTRANS_CAN_FORCE_UTF8  => 'CAN_FORCE_UTF8',
845    OPpTRANS_COMPLEMENT      => 'COMPL',
846    OPpTRANS_DELETE          => 'DEL',
847    OPpTRANS_GROWS           => 'GROWS',
848    OPpTRANS_IDENTICAL       => 'IDENT',
849    OPpTRANS_SQUASH          => 'SQUASH',
850    OPpTRANS_USE_SVOP        => 'USE_SVOP',
851    OPpTRUEBOOL              => 'BOOL',
852    OPpUNDEF_KEEP_PV         => 'KEEP_PV',
853    OPpUSEINT                => 'USEINT',
854);
855
856
857our %ops_using = (
858    OPpALLOW_FAKE            => [qw(rv2gv)],
859    OPpARG_IF_FALSE          => [qw(argdefelem)],
860    OPpASSIGN_BACKWARDS      => [qw(sassign)],
861    OPpASSIGN_COMMON_AGG     => [qw(aassign)],
862    OPpCONCAT_NESTED         => [qw(concat)],
863    OPpCONST_BARE            => [qw(const)],
864    OPpCOREARGS_DEREF1       => [qw(coreargs)],
865    OPpDEFER_FINALLY         => [qw(pushdefer)],
866    OPpEARLY_CV              => [qw(gv)],
867    OPpEMPTYAVHV_IS_HV       => [qw(emptyavhv)],
868    OPpENTERSUB_AMPER        => [qw(entersub rv2cv)],
869    OPpENTERSUB_HASTARG      => [qw(ceil entersub floor goto refaddr reftype rv2cv)],
870    OPpENTERSUB_INARGS       => [qw(entersub)],
871    OPpENTERSUB_NOPAREN      => [qw(rv2cv)],
872    OPpEVAL_BYTES            => [qw(entereval)],
873    OPpEXISTS_SUB            => [qw(exists)],
874    OPpFLIP_LINENUM          => [qw(flip flop)],
875    OPpFT_ACCESS             => [qw(fteexec fteread ftewrite ftrexec ftrread ftrwrite)],
876    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)],
877    OPpHELEMEXISTSOR_DELETE  => [qw(helemexistsor)],
878    OPpHINT_STRICT_REFS      => [qw(entersub multideref rv2av rv2cv rv2gv rv2hv rv2sv)],
879    OPpHUSH_VMSISH           => [qw(dbstate nextstate)],
880    OPpINDEX_BOOLNEG         => [qw(index rindex)],
881    OPpINITFIELDS            => [qw(methstart)],
882    OPpINITFIELD_AV          => [qw(initfield)],
883    OPpITER_DEF              => [qw(enteriter)],
884    OPpITER_REVERSED         => [qw(enteriter iter)],
885    OPpKVSLICE               => [qw(delete)],
886    OPpLIST_GUESSED          => [qw(list)],
887    OPpLVALUE                => [qw(leave leaveloop)],
888    OPpLVAL_DEFER            => [qw(aelem helem multideref)],
889    OPpLVAL_INTRO            => [qw(aelem aslice cond_expr delete emptyavhv enteriter entersub gvsv helem hslice list lvavref lvref lvrefslice multiconcat multideref padav padhv padrange padsv padsv_store pushmark refassign rv2av rv2gv rv2hv rv2sv split undef)],
890    OPpLVREF_ELEM            => [qw(lvref refassign)],
891    OPpMAYBE_LVSUB           => [qw(aassign aelem akeys aslice av2arylen avhvswitch helem hslice keys kvaslice kvhslice multideref padav padhv pos rv2av rv2gv rv2hv substr values vec)],
892    OPpMAYBE_TRUEBOOL        => [qw(blessed padhv ref rv2hv)],
893    OPpMETH_NO_BAREWORD_IO   => [qw(method method_named method_redir method_redir_super method_super)],
894    OPpMULTICONCAT_APPEND    => [qw(multiconcat)],
895    OPpMULTIDEREF_DELETE     => [qw(multideref)],
896    OPpOFFBYONE              => [qw(caller runcv wantarray)],
897    OPpOPEN_IN_CRLF          => [qw(backtick open)],
898    OPpOUR_INTRO             => [qw(enteriter gvsv rv2av rv2hv rv2sv split)],
899    OPpPADHV_ISKEYS          => [qw(padhv)],
900    OPpPAD_STATE             => [qw(emptyavhv lvavref lvref padav padhv padsv padsv_store pushmark refassign undef)],
901    OPpPV_IS_UTF8            => [qw(dump goto last next redo)],
902    OPpREFCOUNTED            => [qw(leave leaveeval leavesub leavesublv leavewrite)],
903    OPpREPEAT_DOLIST         => [qw(repeat)],
904    OPpREVERSE_INPLACE       => [qw(reverse)],
905    OPpRV2HV_ISKEYS          => [qw(rv2hv)],
906    OPpSLICEWARNING          => [qw(aslice hslice padav padhv rv2av rv2hv)],
907    OPpSORT_DESCEND          => [qw(sort)],
908    OPpSPLIT_ASSIGN          => [qw(split)],
909    OPpSUBSTR_REPL_FIRST     => [qw(substr)],
910    OPpTARGET_MY             => [qw(abs add atan2 ceil chdir chmod chomp chown chr chroot concat cos crypt divide emptyavhv exec exp flock floor getpgrp getppid getpriority hex i_add i_divide i_modulo i_multiply i_negate i_subtract index int kill left_shift length link log mkdir modulo multiconcat multiply nbit_and nbit_or nbit_xor ncomplement negate oct ord pow push rand refaddr reftype rename right_shift rindex rmdir schomp scomplement setpgrp setpriority sin sleep sqrt srand stringify subtract symlink system time undef unlink unshift utime wait waitpid)],
911    OPpTRANS_CAN_FORCE_UTF8  => [qw(trans transr)],
912    OPpTRUEBOOL              => [qw(blessed grepwhile index length padav padhv pos ref rindex rv2av rv2hv subst)],
913    OPpUNDEF_KEEP_PV         => [qw(undef)],
914    OPpUSEINT                => [qw(bit_and bit_or bit_xor complement left_shift nbit_and nbit_or nbit_xor ncomplement right_shift sbit_and sbit_or sbit_xor)],
915);
916
917$ops_using{OPpARG_IF_UNDEF} = $ops_using{OPpARG_IF_FALSE};
918$ops_using{OPpASSIGN_COMMON_RC1} = $ops_using{OPpASSIGN_COMMON_AGG};
919$ops_using{OPpASSIGN_COMMON_SCALAR} = $ops_using{OPpASSIGN_COMMON_AGG};
920$ops_using{OPpASSIGN_CV_TO_GV} = $ops_using{OPpASSIGN_BACKWARDS};
921$ops_using{OPpASSIGN_TRUEBOOL} = $ops_using{OPpASSIGN_COMMON_AGG};
922$ops_using{OPpCONST_ENTERED} = $ops_using{OPpCONST_BARE};
923$ops_using{OPpCONST_NOVER} = $ops_using{OPpCONST_BARE};
924$ops_using{OPpCONST_SHORTCIRCUIT} = $ops_using{OPpCONST_BARE};
925$ops_using{OPpCONST_STRICT} = $ops_using{OPpCONST_BARE};
926$ops_using{OPpCOREARGS_DEREF2} = $ops_using{OPpCOREARGS_DEREF1};
927$ops_using{OPpCOREARGS_PUSHMARK} = $ops_using{OPpCOREARGS_DEREF1};
928$ops_using{OPpCOREARGS_SCALARMOD} = $ops_using{OPpCOREARGS_DEREF1};
929$ops_using{OPpDONT_INIT_GV} = $ops_using{OPpALLOW_FAKE};
930$ops_using{OPpENTERSUB_DB} = $ops_using{OPpENTERSUB_AMPER};
931$ops_using{OPpEVAL_COPHH} = $ops_using{OPpEVAL_BYTES};
932$ops_using{OPpEVAL_EVALSV} = $ops_using{OPpEVAL_BYTES};
933$ops_using{OPpEVAL_HAS_HH} = $ops_using{OPpEVAL_BYTES};
934$ops_using{OPpEVAL_RE_REPARSING} = $ops_using{OPpEVAL_BYTES};
935$ops_using{OPpEVAL_UNICODE} = $ops_using{OPpEVAL_BYTES};
936$ops_using{OPpFT_STACKED} = $ops_using{OPpFT_AFTER_t};
937$ops_using{OPpFT_STACKING} = $ops_using{OPpFT_AFTER_t};
938$ops_using{OPpINITFIELD_HV} = $ops_using{OPpINITFIELD_AV};
939$ops_using{OPpLVREF_ITER} = $ops_using{OPpLVREF_ELEM};
940$ops_using{OPpMAY_RETURN_CONSTANT} = $ops_using{OPpENTERSUB_NOPAREN};
941$ops_using{OPpMULTICONCAT_FAKE} = $ops_using{OPpMULTICONCAT_APPEND};
942$ops_using{OPpMULTICONCAT_STRINGIFY} = $ops_using{OPpMULTICONCAT_APPEND};
943$ops_using{OPpMULTIDEREF_EXISTS} = $ops_using{OPpMULTIDEREF_DELETE};
944$ops_using{OPpOPEN_IN_RAW} = $ops_using{OPpOPEN_IN_CRLF};
945$ops_using{OPpOPEN_OUT_CRLF} = $ops_using{OPpOPEN_IN_CRLF};
946$ops_using{OPpOPEN_OUT_RAW} = $ops_using{OPpOPEN_IN_CRLF};
947$ops_using{OPpSLICE} = $ops_using{OPpKVSLICE};
948$ops_using{OPpSORT_INPLACE} = $ops_using{OPpSORT_DESCEND};
949$ops_using{OPpSORT_INTEGER} = $ops_using{OPpSORT_DESCEND};
950$ops_using{OPpSORT_NUMERIC} = $ops_using{OPpSORT_DESCEND};
951$ops_using{OPpSORT_REVERSE} = $ops_using{OPpSORT_DESCEND};
952$ops_using{OPpSPLIT_IMPLIM} = $ops_using{OPpSPLIT_ASSIGN};
953$ops_using{OPpSPLIT_LEX} = $ops_using{OPpSPLIT_ASSIGN};
954$ops_using{OPpTRANS_COMPLEMENT} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
955$ops_using{OPpTRANS_DELETE} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
956$ops_using{OPpTRANS_GROWS} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
957$ops_using{OPpTRANS_IDENTICAL} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
958$ops_using{OPpTRANS_SQUASH} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
959$ops_using{OPpTRANS_USE_SVOP} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
960
961# ex: set ro ft=perl:
962