Go to the first, previous, next, last section, table of contents.
The in_bj
class is used to hold branch and jump instructions.
This class includes a field to specify the label symbol at the branch
target and an optional source operand that is used for conditional
branches. The target
and set_target
methods are used to
access the label symbol for the branch target. This label must be
defined in the scope where the branch occurs, and it must be within the
same procedure. The src_op
and set_src_op
methods access
the optional source operand field. The dst
operand is unused for
all branch and jump instructions and the result type should always be
the SUIF void
type. The branch and jump opcodes are described
below:
jmp
btrue
bfalse
Go to the first, previous, next, last section, table of contents.