CACAO
|
Represents a constant numeric instruction. More...
Public Types | |
enum | Kind { ZERO = 0, ARRAY_LENGTH, VARIABLE } |
Public Member Functions | |
NumericInstruction (const NumericInstruction &other) | |
Kind | kind () const |
s4 | variable () const |
s4 | lower () const |
The smallest value this instruction can return. More... | |
s4 | upper () const |
The largest value this instruction can return. More... | |
Static Public Member Functions | |
static NumericInstruction | newZero () |
static NumericInstruction | newArrayLength (s4 variable) |
static NumericInstruction | newVariable (s4 variable) |
Private Member Functions | |
NumericInstruction (Kind kind, s4 variable) | |
Private Attributes | |
Kind | _kind |
s4 | _var |
Static Private Attributes | |
static s4 | lowerBounds [3] |
static s4 | upperBounds [3] |
Represents a constant numeric instruction.
Definition at line 38 of file NumericInstruction.hpp.
Enumerator | |
---|---|
ZERO | |
ARRAY_LENGTH | |
VARIABLE |
Definition at line 42 of file NumericInstruction.hpp.
Definition at line 57 of file NumericInstruction.hpp.
|
inline |
Definition at line 64 of file NumericInstruction.hpp.
|
inline |
Definition at line 73 of file NumericInstruction.hpp.
|
inline |
The smallest value this instruction can return.
Definition at line 113 of file NumericInstruction.hpp.
|
inlinestatic |
Definition at line 93 of file NumericInstruction.hpp.
|
inlinestatic |
Definition at line 98 of file NumericInstruction.hpp.
|
inlinestatic |
Definition at line 88 of file NumericInstruction.hpp.
|
inline |
The largest value this instruction can return.
Definition at line 118 of file NumericInstruction.hpp.
|
inline |
Definition at line 74 of file NumericInstruction.hpp.
|
private |
Definition at line 51 of file NumericInstruction.hpp.
|
private |
Definition at line 52 of file NumericInstruction.hpp.
|
staticprivate |
Definition at line 54 of file NumericInstruction.hpp.
|
staticprivate |
Definition at line 55 of file NumericInstruction.hpp.