]> git.sur5r.net Git - cc65/blobdiff - src/cc65/coptind.h
Adding functionality to StrBuf
[cc65] / src / cc65 / coptind.h
index 7ade6eeff39a30757536c9108ffb3a080f661427..04530f1941fb6118c2b1339a87e938c9bfa4ae09 100644 (file)
@@ -48,6 +48,9 @@
 
 
 
+unsigned OptRTSJumps (CodeSeg* S);
+/* Replace jumps to RTS by RTS */
+
 unsigned OptDeadJumps (CodeSeg* S);
 /* Remove dead jumps (jumps to the next instruction) */
 
@@ -86,6 +89,18 @@ unsigned OptCondBranches (CodeSeg* S);
 unsigned OptUnusedLoads (CodeSeg* S);
 /* Remove loads of registers where the value loaded is not used later. */
 
+unsigned OptDuplicateLoads (CodeSeg* S);
+/* Remove loads of registers where the value loaded is already in the register. */
+
+unsigned OptStoreLoad (CodeSeg* S);
+/* Remove a store followed by a load from the same location. */
+
+unsigned OptTransfers (CodeSeg* S);
+/* Remove transfers from one register to another and back */
+
+unsigned OptBranchDist (CodeSeg* S);
+/* Change branches for the distance needed. */
+
 
 
 /* End of coptind.h */