Package com.tonic.analysis.ssa.ir
The IR instruction set and the operators its instructions carry.
-
Class Summary Class Description ArrayAccessInstruction An array element load or store, distinguished by itsAccessMode.BinaryOpInstruction A binary arithmetic, logical, or comparison operation on two operands.BootstrapMethodInfo Represents bootstrap method information for invokedynamic and constant dynamic.BranchInstruction A conditional branch comparing one or two operands and selecting a true or false target block.ConstantInstruction An instruction producing a constant value.CopyInstruction A value copy, inserted mainly during phi elimination.FieldAccessInstruction A static or instance field load or store, distinguished by itsAccessMode.InvokeInstruction A method invocation of any dispatch kind, including invokedynamic with bootstrap info.IRInstruction Base class for all IR instructions, carrying an id, owning block, optional result, and bytecode offset.LoadLocalInstruction A load from a local variable slot, used during lifting before SSA conversion.NewArrayInstruction An array allocation covering newarray, anewarray, and multianewarray.NewInstruction An uninitialized object allocation (the new opcode, before the constructor call).PhiInstruction An SSA phi merging one incoming value per predecessor block.ReturnInstruction A method return, with or without a value.SimpleInstruction A single-operand instruction identified by itsSimpleOp: arraylength, monitor ops, throw, goto, or catch.StoreLocalInstruction A store to a local variable slot, used during lifting before SSA conversion.SwitchInstruction A multi-way branch on an int key, covering both tableswitch and lookupswitch.TypeCheckInstruction A checkcast or instanceof test, distinguished by itsTypeCheckOp.UnaryOpInstruction A unary operation such as negation or a primitive type conversion. -
Enum Summary Enum Description AccessMode Whether an array or field access reads or writes.BinaryOp Binary operation types.CompareOp Comparison operations for branches.InvokeType Types of method invocation.SimpleOp The operation kinds aSimpleInstructioncan perform.TypeCheckOp Whether aTypeCheckInstructionis a checkcast or an instanceof test.UnaryOp Unary operation types.