summaryrefslogtreecommitdiff
path: root/compiler_and_linker/FrontEnd/Optimizer
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-26 11:30:47 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-26 11:30:47 +0000
commit094b96ca1df4a035b5f93c351f773306c0241f3f (patch)
tree95ce05e3ebe816c7ee7996206bb37ea17d8ca33c /compiler_and_linker/FrontEnd/Optimizer
parentfc0c4c0df7b583b55a08317cf1ef6a71d27c0440 (diff)
downloadMWCC-main.tar.gz
MWCC-main.zip
move lots of source files around to match their actual placement in the original treemain
Diffstat (limited to '')
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/BitVector.h (renamed from includes/compiler/BitVector.h)0
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IROUseDef.c (renamed from compiler_and_linker/unsorted/IROUseDef.c)18
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IROUseDef.h (renamed from includes/compiler/IROUseDef.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.c (renamed from compiler_and_linker/unsorted/IrOptimizer.c)38
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.h (renamed from includes/compiler/IrOptimizer.h)0
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroBitVect.c (renamed from compiler_and_linker/unsorted/IroBitVect.c)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroCSE.c (renamed from compiler_and_linker/unsorted/IroCSE.c)20
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroCSE.h (renamed from includes/compiler/IroCSE.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroDump.c (renamed from compiler_and_linker/unsorted/IroDump.c)14
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroDump.h (renamed from includes/compiler/IroDump.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.c (renamed from compiler_and_linker/unsorted/IroEmptyLoop.c)14
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.h (renamed from includes/compiler/IroEmptyLoop.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroEval.c (renamed from compiler_and_linker/unsorted/IroEval.c)14
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroEval.h (renamed from includes/compiler/IroEval.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.c (renamed from compiler_and_linker/unsorted/IroExprRegeneration.c)20
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.h (renamed from includes/compiler/IroExprRegeneration.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.c (renamed from compiler_and_linker/unsorted/IroFlowgraph.c)12
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.h (renamed from includes/compiler/IroFlowgraph.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroJump.c (renamed from compiler_and_linker/unsorted/IroJump.c)10
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroJump.h (renamed from includes/compiler/IroJump.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.c (renamed from compiler_and_linker/unsorted/IroLinearForm.c)10
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.h (renamed from includes/compiler/IroLinearForm.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroLoop.c (renamed from compiler_and_linker/unsorted/IroLoop.c)18
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroLoop.h (renamed from includes/compiler/IroLoop.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroMalloc.c (renamed from compiler_and_linker/unsorted/IroMalloc.c)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroMalloc.h (renamed from includes/compiler/IroMalloc.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.c (renamed from compiler_and_linker/unsorted/IroPointerAnalysis.c)16
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.h (renamed from includes/compiler/IroPointerAnalysis.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysisADTs.c (renamed from compiler_and_linker/unsorted/IroPointerAnalysisADTs.c)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroPropagate.c (renamed from compiler_and_linker/unsorted/IroPropagate.c)18
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroPropagate.h (renamed from includes/compiler/IroPropagate.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.c (renamed from compiler_and_linker/unsorted/IroRangePropagation.c)16
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.h (renamed from includes/compiler/IroRangePropagation.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroSubable.c (renamed from compiler_and_linker/unsorted/IroSubable.c)8
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroSubable.h (renamed from includes/compiler/IroSubable.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroTransform.c (renamed from compiler_and_linker/unsorted/IroTransform.c)16
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroTransform.h (renamed from includes/compiler/IroTransform.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.c (renamed from compiler_and_linker/unsorted/IroUnrollLoop.c)14
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.h (renamed from includes/compiler/IroUnrollLoop.h)4
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroUtil.c (renamed from compiler_and_linker/unsorted/IroUtil.c)14
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroUtil.h (renamed from includes/compiler/IroUtil.h)2
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroVars.c (renamed from compiler_and_linker/unsorted/IroVars.c)20
-rw-r--r--compiler_and_linker/FrontEnd/Optimizer/IroVars.h (renamed from includes/compiler/IroVars.h)2
43 files changed, 185 insertions, 185 deletions
diff --git a/includes/compiler/BitVector.h b/compiler_and_linker/FrontEnd/Optimizer/BitVector.h
index a6830d6..a6830d6 100644
--- a/includes/compiler/BitVector.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/BitVector.h
diff --git a/compiler_and_linker/unsorted/IROUseDef.c b/compiler_and_linker/FrontEnd/Optimizer/IROUseDef.c
index 19d39ff..ba3f817 100644
--- a/compiler_and_linker/unsorted/IROUseDef.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IROUseDef.c
@@ -1,12 +1,12 @@
-#include "compiler/IROUseDef.h"
-#include "compiler/IRODump.h"
-#include "compiler/IROVars.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroTransform.h"
-#include "compiler/IroUtil.h"
+#include "IROUseDef.h"
+#include "IroDump.h"
+#include "IroVars.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroTransform.h"
+#include "IroUtil.h"
#include "compiler/CompilerTools.h"
#include "compiler/CError.h"
#include "compiler/CFunc.h"
diff --git a/includes/compiler/IROUseDef.h b/compiler_and_linker/FrontEnd/Optimizer/IROUseDef.h
index 829a396..03d3f9b 100644
--- a/includes/compiler/IROUseDef.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IROUseDef.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROUSEDEF_H
#define COMPILER_IROUSEDEF_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
#include "compiler/enode.h"
#ifdef __MWERKS__
diff --git a/compiler_and_linker/unsorted/IrOptimizer.c b/compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.c
index c9544a2..59bb368 100644
--- a/compiler_and_linker/unsorted/IrOptimizer.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.c
@@ -1,26 +1,26 @@
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
#include "compiler/CError.h"
#include "compiler/CParser.h"
#include "compiler/InlineAsmPPC.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroEval.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroSubable.h"
-#include "compiler/IroTransform.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroEval.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroSubable.h"
+#include "IroTransform.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/objects.h"
-#include "compiler/IroPropagate.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroJump.h"
-#include "compiler/IroRangePropagation.h"
-#include "compiler/IroEmptyLoop.h"
-#include "compiler/IroUnrollLoop.h"
-#include "compiler/IroLoop.h"
-#include "compiler/IroExprRegeneration.h"
+#include "IroPropagate.h"
+#include "IroPointerAnalysis.h"
+#include "IroJump.h"
+#include "IroRangePropagation.h"
+#include "IroEmptyLoop.h"
+#include "IroUnrollLoop.h"
+#include "IroLoop.h"
+#include "IroExprRegeneration.h"
Boolean DoScalarize;
Boolean DoLinearize;
diff --git a/includes/compiler/IrOptimizer.h b/compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.h
index 287e279..287e279 100644
--- a/includes/compiler/IrOptimizer.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.h
diff --git a/compiler_and_linker/unsorted/IroBitVect.c b/compiler_and_linker/FrontEnd/Optimizer/IroBitVect.c
index 29bc28a..873b1ca 100644
--- a/compiler_and_linker/unsorted/IroBitVect.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroBitVect.c
@@ -1,4 +1,4 @@
-#include "compiler/BitVector.h"
+#include "BitVector.h"
#include "compiler/CompilerTools.h"
void Bv_AllocVector(BitVector **bv, UInt32 size) {
diff --git a/compiler_and_linker/unsorted/IroCSE.c b/compiler_and_linker/FrontEnd/Optimizer/IroCSE.c
index 5fa9849..7bc4866 100644
--- a/compiler_and_linker/unsorted/IroCSE.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroCSE.c
@@ -1,13 +1,13 @@
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroSubable.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroSubable.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CError.h"
#include "compiler/CExpr.h"
#include "compiler/CInt64.h"
diff --git a/includes/compiler/IroCSE.h b/compiler_and_linker/FrontEnd/Optimizer/IroCSE.h
index 4bf127c..c1e166c 100644
--- a/includes/compiler/IroCSE.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroCSE.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROCSE_H
#define COMPILER_IROCSE_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
#ifdef __MWERKS__
#pragma options align=mac68k
diff --git a/compiler_and_linker/unsorted/IroDump.c b/compiler_and_linker/FrontEnd/Optimizer/IroDump.c
index e7ca940..d21496f 100644
--- a/compiler_and_linker/unsorted/IroDump.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroDump.c
@@ -1,14 +1,14 @@
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroPropagate.h"
-#include "compiler/IroUtil.h"
+#include "IroDump.h"
+#include "IroCSE.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroPropagate.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CFunc.h"
#include "compiler/CInt64.h"
#include "compiler/CParser.h"
#include "compiler/objects.h"
-#include "compiler/IroVars.h"
-#include "compiler/IroCSE.h"
static FILE *DumpFile;
static char *nodenames[MAXEXPR];
diff --git a/includes/compiler/IroDump.h b/compiler_and_linker/FrontEnd/Optimizer/IroDump.h
index 5445280..ad8c039 100644
--- a/includes/compiler/IroDump.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroDump.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IRODUMP_H
#define COMPILER_IRODUMP_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
#include "compiler/enode.h"
extern char *IRO_NodeName(ENodeType nodetype);
diff --git a/compiler_and_linker/unsorted/IroEmptyLoop.c b/compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.c
index 1e319ab..23d5d4a 100644
--- a/compiler_and_linker/unsorted/IroEmptyLoop.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.c
@@ -1,10 +1,10 @@
-#include "compiler/IroEmptyLoop.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroLoop.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroEmptyLoop.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroLoop.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CInt64.h"
// forward decls
diff --git a/includes/compiler/IroEmptyLoop.h b/compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.h
index 5268f18..c5597e6 100644
--- a/includes/compiler/IroEmptyLoop.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROEMPTYLOOP_H
#define COMPILER_IROEMPTYLOOP_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void IRO_FindEmptyLoops(void);
diff --git a/compiler_and_linker/unsorted/IroEval.c b/compiler_and_linker/FrontEnd/Optimizer/IroEval.c
index adf74b8..aba64e1 100644
--- a/compiler_and_linker/unsorted/IroEval.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroEval.c
@@ -1,13 +1,13 @@
-#include "compiler/IroEval.h"
+#include "IroEval.h"
#include "compiler/CInt64.h"
#include "compiler/CMachine.h"
#include "compiler/CParser.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/enode.h"
#include "compiler/objects.h"
#include "compiler/types.h"
diff --git a/includes/compiler/IroEval.h b/compiler_and_linker/FrontEnd/Optimizer/IroEval.h
index a011a47..3b91f21 100644
--- a/includes/compiler/IroEval.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroEval.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROEVAL_H
#define COMPILER_IROEVAL_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void IRO_InitializeIsAssociativeENodeTypeArray(void);
extern void IRO_TruncateValueToType(CInt64 *val, Type *type);
diff --git a/compiler_and_linker/unsorted/IroExprRegeneration.c b/compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.c
index f63622a..c56beae 100644
--- a/compiler_and_linker/unsorted/IroExprRegeneration.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.c
@@ -1,13 +1,13 @@
-#include "compiler/IroExprRegeneration.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroSubable.h"
-#include "compiler/IroTransform.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroExprRegeneration.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroSubable.h"
+#include "IroTransform.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CDecl.h"
#include "compiler/CExpr.h"
#include "compiler/CFunc.h"
diff --git a/includes/compiler/IroExprRegeneration.h b/compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.h
index aa43501..c74f95f 100644
--- a/includes/compiler/IroExprRegeneration.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROEXPRREGENERATION_H
#define COMPILER_IROEXPRREGENERATION_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void IRO_RegenerateExpressions(void);
diff --git a/compiler_and_linker/unsorted/IroFlowgraph.c b/compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.c
index 5c9c840..2fa9875 100644
--- a/compiler_and_linker/unsorted/IroFlowgraph.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.c
@@ -1,9 +1,9 @@
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroPropagate.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
+#include "IroFlowgraph.h"
+#include "IroCSE.h"
+#include "IroLinearForm.h"
+#include "IroPropagate.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
#include "compiler/CError.h"
#include "compiler/CFunc.h"
#include "compiler/CompilerTools.h"
diff --git a/includes/compiler/IroFlowgraph.h b/compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.h
index 90e696c..13ddce9 100644
--- a/includes/compiler/IroFlowgraph.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROFLOWGRAPH_H
#define COMPILER_IROFLOWGRAPH_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
#include "compiler/CError.h"
#include "compiler/CompilerTools.h"
diff --git a/compiler_and_linker/unsorted/IroJump.c b/compiler_and_linker/FrontEnd/Optimizer/IroJump.c
index e39e3f0..9af248e 100644
--- a/compiler_and_linker/unsorted/IroJump.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroJump.c
@@ -1,8 +1,8 @@
-#include "compiler/IroJump.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroUtil.h"
+#include "IroJump.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroUtil.h"
#include "compiler/CFunc.h"
#include "compiler/Exceptions.h"
diff --git a/includes/compiler/IroJump.h b/compiler_and_linker/FrontEnd/Optimizer/IroJump.h
index bbb5594..62b7be6 100644
--- a/includes/compiler/IroJump.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroJump.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROJUMP_H
#define COMPILER_IROJUMP_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern Boolean IRO_DoJumpChaining(void);
extern void IRO_MakeReachable(IRONode *node);
diff --git a/compiler_and_linker/unsorted/IroLinearForm.c b/compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.c
index 4941587..8c5b0d8 100644
--- a/compiler_and_linker/unsorted/IroLinearForm.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.c
@@ -1,8 +1,8 @@
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroLinearForm.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CError.h"
#include "compiler/CExpr.h"
#include "compiler/CFunc.h"
diff --git a/includes/compiler/IroLinearForm.h b/compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.h
index 1e7df4f..c0b2d17 100644
--- a/includes/compiler/IroLinearForm.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROLINEARFORM_H
#define COMPILER_IROLINEARFORM_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
#include "compiler/Switch.h"
#include "compiler/enode.h"
diff --git a/compiler_and_linker/unsorted/IroLoop.c b/compiler_and_linker/FrontEnd/Optimizer/IroLoop.c
index d6ec5f0..850146d 100644
--- a/compiler_and_linker/unsorted/IroLoop.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroLoop.c
@@ -1,12 +1,12 @@
-#include "compiler/IroLoop.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroPropagate.h"
-#include "compiler/IroSubable.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroLoop.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroPropagate.h"
+#include "IroSubable.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CFunc.h"
#include "compiler/CInt64.h"
#include "compiler/CMachine.h"
diff --git a/includes/compiler/IroLoop.h b/compiler_and_linker/FrontEnd/Optimizer/IroLoop.h
index 0c60589..2d968ad 100644
--- a/includes/compiler/IroLoop.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroLoop.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROLOOP_H
#define COMPILER_IROLOOP_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
typedef enum IROLoopIndFlags {
LoopInd_HasMod = 1,
diff --git a/compiler_and_linker/unsorted/IroMalloc.c b/compiler_and_linker/FrontEnd/Optimizer/IroMalloc.c
index 8928ba9..1f15cad 100644
--- a/compiler_and_linker/unsorted/IroMalloc.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroMalloc.c
@@ -1,4 +1,4 @@
-#include "compiler/IroMalloc.h"
+#include "IroMalloc.h"
#include "compiler/CompilerTools.h"
#define FLAGMASK 0xF
diff --git a/includes/compiler/IroMalloc.h b/compiler_and_linker/FrontEnd/Optimizer/IroMalloc.h
index f203a3d..7700280 100644
--- a/includes/compiler/IroMalloc.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroMalloc.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROMALLOC_H
#define COMPILER_IROMALLOC_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern size_t IRO_msize(void *buf);
extern void *IRO_malloc(size_t size);
diff --git a/compiler_and_linker/unsorted/IroPointerAnalysis.c b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.c
index 4fcb8d3..3f8989f 100644
--- a/compiler_and_linker/unsorted/IroPointerAnalysis.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.c
@@ -1,10 +1,10 @@
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroEval.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroPointerAnalysis.h"
+#include "IroEval.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CDecl.h"
#include "compiler/CExpr.h"
#include "compiler/CFunc.h"
@@ -17,7 +17,7 @@
#include "compiler/CompilerTools.h"
#include "compiler/objects.h"
#include "compiler/scopes.h"
-#include "compiler_and_linker/unsorted/IroPointerAnalysisADTs.c"
+#include "IroPointerAnalysisADTs.c"
// forward decls
static Object *GetLocalObject(PALocalVar *local, Object *proc, Boolean flag);
diff --git a/includes/compiler/IroPointerAnalysis.h b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.h
index a6ed2c2..ec50eba 100644
--- a/includes/compiler/IroPointerAnalysis.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROPOINTERANALYSIS_H
#define COMPILER_IROPOINTERANALYSIS_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void PointerAnalysis_Setup(void);
extern void PointerAnalysis_Cleanup(void);
diff --git a/compiler_and_linker/unsorted/IroPointerAnalysisADTs.c b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysisADTs.c
index 6e24e6f..dad9501 100644
--- a/compiler_and_linker/unsorted/IroPointerAnalysisADTs.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysisADTs.c
@@ -1,5 +1,5 @@
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroMalloc.h"
#include "compiler/CError.h"
#include "compiler/CInt64.h"
#include "compiler/CParser.h"
diff --git a/compiler_and_linker/unsorted/IroPropagate.c b/compiler_and_linker/FrontEnd/Optimizer/IroPropagate.c
index 401250c..c5ad708 100644
--- a/compiler_and_linker/unsorted/IroPropagate.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroPropagate.c
@@ -1,12 +1,12 @@
-#include "compiler/IroPropagate.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroEval.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroPropagate.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroEval.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/objects.h"
#include "compiler/CExpr.h"
#include "compiler/CompilerTools.h"
diff --git a/includes/compiler/IroPropagate.h b/compiler_and_linker/FrontEnd/Optimizer/IroPropagate.h
index a61e526..ff9fadb 100644
--- a/includes/compiler/IroPropagate.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroPropagate.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROPROPAGATE_H
#define COMPILER_IROPROPAGATE_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/BitVector.h"
+#include "IrOptimizer.h"
+#include "BitVector.h"
#ifdef __MWERKS__
#pragma options align=mac68k
diff --git a/compiler_and_linker/unsorted/IroRangePropagation.c b/compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.c
index d15ef86..737035f 100644
--- a/compiler_and_linker/unsorted/IroRangePropagation.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.c
@@ -1,11 +1,11 @@
-#include "compiler/IroRangePropagation.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroRangePropagation.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/CInt64.h"
#include "compiler/objects.h"
#include "compiler/types.h"
diff --git a/includes/compiler/IroRangePropagation.h b/compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.h
index fea6542..96888ac 100644
--- a/includes/compiler/IroRangePropagation.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IRORANGEPROPAGATION_H
#define COMPILER_IRORANGEPROPAGATION_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern Boolean IRO_RangePropagateInFNode(void);
diff --git a/compiler_and_linker/unsorted/IroSubable.c b/compiler_and_linker/FrontEnd/Optimizer/IroSubable.c
index 6b8daf0..513ac6c 100644
--- a/compiler_and_linker/unsorted/IroSubable.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroSubable.c
@@ -1,7 +1,7 @@
-#include "compiler/IroSubable.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroPropagate.h"
-#include "compiler/IroUtil.h"
+#include "IroSubable.h"
+#include "IroLinearForm.h"
+#include "IroPropagate.h"
+#include "IroUtil.h"
#include "compiler/enode.h"
#include "compiler/objects.h"
#include "compiler/types.h"
diff --git a/includes/compiler/IroSubable.h b/compiler_and_linker/FrontEnd/Optimizer/IroSubable.h
index 7a3c344..db5f860 100644
--- a/includes/compiler/IroSubable.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroSubable.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROSUBABLE_H
#define COMPILER_IROSUBABLE_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void IRO_InitializeIsSubableOpArray(void);
extern Boolean IRO_IsSubableExpression(IROLinear *nd);
diff --git a/compiler_and_linker/unsorted/IroTransform.c b/compiler_and_linker/FrontEnd/Optimizer/IroTransform.c
index 54f3302..8a4af16 100644
--- a/compiler_and_linker/unsorted/IroTransform.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroTransform.c
@@ -1,4 +1,4 @@
-#include "compiler/IroTransform.h"
+#include "IroTransform.h"
#include "compiler/CError.h"
#include "compiler/CFunc.h"
#include "compiler/CInt64.h"
@@ -6,13 +6,13 @@
#include "compiler/CMachine.h"
#include "compiler/CPrep.h"
#include "compiler/CompilerTools.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IROUseDef.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IroVars.h"
+#include "IroDump.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IROUseDef.h"
+#include "IroUtil.h"
+#include "IroVars.h"
#include "compiler/enode.h"
#include "compiler/types.h"
diff --git a/includes/compiler/IroTransform.h b/compiler_and_linker/FrontEnd/Optimizer/IroTransform.h
index 90bcf30..104657f 100644
--- a/includes/compiler/IroTransform.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroTransform.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROTRANSFORM_H
#define COMPILER_IROTRANSFORM_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
extern void IRO_InitializeAssignmentOpArray(void);
extern void IRO_InitializeComplementaryOpArray(void);
diff --git a/compiler_and_linker/unsorted/IroUnrollLoop.c b/compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.c
index 45b774e..cf3f1bf 100644
--- a/compiler_and_linker/unsorted/IroUnrollLoop.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.c
@@ -1,12 +1,12 @@
-#include "compiler/IroUnrollLoop.h"
+#include "IroUnrollLoop.h"
#include "compiler/CError.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroUtil.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroUtil.h"
#include "compiler/LoopDetection.h"
-#include "compiler/IroLoop.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroVars.h"
+#include "IroLoop.h"
+#include "IroDump.h"
+#include "IroVars.h"
#include "compiler/CFunc.h"
#include "compiler/CMachine.h"
diff --git a/includes/compiler/IroUnrollLoop.h b/compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.h
index 8a51a9b..fd4972b 100644
--- a/includes/compiler/IroUnrollLoop.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.h
@@ -1,8 +1,8 @@
#ifndef COMPILER_IROUNROLLLOOP_H
#define COMPILER_IROUNROLLLOOP_H
-#include "compiler/IrOptimizer.h"
-#include "compiler/IroLinearForm.h"
+#include "IrOptimizer.h"
+#include "IroLinearForm.h"
extern void IRO_LoopUnroller(void);
extern void IRO_IterateForLoopBody(IRONode *start, IRONode *end, IROLoop *loop, IROLinear *destnode, SInt32 addConst, CInt64 *val, Boolean funkyFlag);
diff --git a/compiler_and_linker/unsorted/IroUtil.c b/compiler_and_linker/FrontEnd/Optimizer/IroUtil.c
index 4ade9b1..7e6321d 100644
--- a/compiler_and_linker/unsorted/IroUtil.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroUtil.c
@@ -1,10 +1,10 @@
-#include "compiler/IroUtil.h"
-#include "compiler/IroCSE.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroLoop.h"
-#include "compiler/IroVars.h"
+#include "IroUtil.h"
+#include "IroCSE.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroLinearForm.h"
+#include "IroLoop.h"
+#include "IroVars.h"
#include "compiler/InlineAsmPPC.h"
#include "compiler/CompilerTools.h"
#include "compiler/CCompiler.h"
diff --git a/includes/compiler/IroUtil.h b/compiler_and_linker/FrontEnd/Optimizer/IroUtil.h
index a757025..2661985 100644
--- a/includes/compiler/IroUtil.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroUtil.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROUTIL_H
#define COMPILER_IROUTIL_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
#include "compiler/CInt64.h"
#include "compiler/CParser.h"
diff --git a/compiler_and_linker/unsorted/IroVars.c b/compiler_and_linker/FrontEnd/Optimizer/IroVars.c
index 6bb3d02..b72ba89 100644
--- a/compiler_and_linker/unsorted/IroVars.c
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroVars.c
@@ -1,12 +1,12 @@
-#include "compiler/IroVars.h"
-#include "compiler/IroDump.h"
-#include "compiler/IroFlowgraph.h"
-#include "compiler/IroJump.h"
-#include "compiler/IroLinearForm.h"
-#include "compiler/IroMalloc.h"
-#include "compiler/IroPointerAnalysis.h"
-#include "compiler/IroUtil.h"
-#include "compiler/IROUseDef.h"
+#include "IroVars.h"
+#include "IroDump.h"
+#include "IroFlowgraph.h"
+#include "IroJump.h"
+#include "IroLinearForm.h"
+#include "IroMalloc.h"
+#include "IroPointerAnalysis.h"
+#include "IroUtil.h"
+#include "IROUseDef.h"
#include "compiler/CClass.h"
#include "compiler/CError.h"
#include "compiler/CExpr.h"
@@ -17,7 +17,7 @@
#include "compiler/objects.h"
#include "compiler/InlineAsm.h"
#include "compiler/InlineAsmPPC.h"
-#include "compiler/BitVector.h"
+#include "BitVector.h"
#ifdef __MWERKS__
#pragma options align=mac68k
diff --git a/includes/compiler/IroVars.h b/compiler_and_linker/FrontEnd/Optimizer/IroVars.h
index 9df9ae5..2af5b4d 100644
--- a/includes/compiler/IroVars.h
+++ b/compiler_and_linker/FrontEnd/Optimizer/IroVars.h
@@ -1,7 +1,7 @@
#ifndef COMPILER_IROVARS_H
#define COMPILER_IROVARS_H
-#include "compiler/IrOptimizer.h"
+#include "IrOptimizer.h"
#include "compiler/enode.h"
#ifdef __MWERKS__