1 Optimisation Prerequisites and Effect
2 ------------ ------------------------
3
4 constant_storage value instruction references a constant;
5 (elimination) storage instruction references a constant;
6 remove both instructions (currently a single
7 merged instruction)
8
9 constant_accessor value instruction references a constant;
10 (guidance) target name provided (for use in producing an
11 address access instruction)
12
13 known_target value instruction references a constant;
14 (guidance) target and context are provided (no instructions
15 removed)
16
17 self_access value instruction references "self" in a method;
18 (guidance) specified attribute name always has the same
19 position;
20 appropriate instruction generated
21
22 temp_storage value instruction is a simple input operation;
23 (elimination) value instruction is the last instruction;
24 (guidance) remove the value instruction, provide the value
25 instruction in place of a temporary storage
26 reference
27
28 load_operations value instruction is a simple input operation;
29 (merge) value instruction is the last instruction;
30 current instruction uses simple input;
31 remove the value instruction, make the value
32 instruction the input to the current instruction
33
34 no_operations input to the current instruction loads from the
35 (elimination) destination of the current instruction;
36 omit the current instruction
37
38 unused_results value instruction is a simple input operation;
39 (elimination) value instruction is the final instruction of a
40 discarded expression;
41 remove the value instruction