1.1 --- a/docs/optimisations.txt Sun Sep 07 00:35:03 2008 +0200
1.2 +++ b/docs/optimisations.txt Sun Sep 07 00:47:20 2008 +0200
1.3 @@ -2,44 +2,38 @@
1.4 ------------ ------------------------
1.5
1.6 constant_storage value instruction references a constant;
1.7 - storage instruction references a constant;
1.8 - remove both instructions (currently a single merged instruction)
1.9 +(elimination) storage instruction references a constant;
1.10 + remove both instructions (currently a single
1.11 + merged instruction)
1.12
1.13 source_storage source instruction is a simple input operation;
1.14 - source instruction is the last instruction;
1.15 +(elimination) source instruction is the last instruction;
1.16 remove the source instruction
1.17
1.18 known_target value instruction references a constant;
1.19 - target and context are provided (no instructions removed)
1.20 +(guidance) target and context are provided (no instructions removed)
1.21
1.22 self_access value instruction references "self" in a method;
1.23 - specified attribute name always has the same position;
1.24 +(guidance) specified attribute name always has the same position;
1.25 appropriate instruction generated
1.26
1.27 temp_storage value instruction is a simple input operation;
1.28 - value instruction is the last instruction;
1.29 - remove the value instruction, provide the value
1.30 +(elimination) value instruction is the last instruction;
1.31 +(guidance) remove the value instruction, provide the value
1.32 instruction in place of a temporary storage
1.33 reference
1.34
1.35 load_operations value instruction is a simple input operation;
1.36 - value instruction is the last instruction;
1.37 +(merge) value instruction is the last instruction;
1.38 current instruction uses simple input;
1.39 remove the value instruction, make the value
1.40 instruction the input to the current instruction
1.41
1.42 no_operations input to the current instruction loads from the
1.43 - destination of the current instruction;
1.44 +(elimination) destination of the current instruction;
1.45 omit the current instruction
1.46
1.47 unused_results value instruction is a simple input operation;
1.48 - value instruction is the final instruction of a
1.49 +(elimination) value instruction is the final instruction of a
1.50 discarded expression;
1.51 remove the value instruction
1.52 -
1.53 -superfluous_temp_operations source instruction writes to temporary storage;
1.54 - current instruction reads from the same storage;
1.55 - source instruction is the last instruction;
1.56 - remove the source instruction, make the current
1.57 - instruction use the input of the source
1.58 - instruction