Beautified (indented) compiler source tree
[fw/sdcc] / src / SDCCloop.h
index dc43c91cc7826665e9063a0e087b1f9bbb14254a..1027b4a14003817e3657dad44ee7cb6de882566d 100644 (file)
 #ifndef SDCCLOOP_H
 #define SDCCLOOP_H 1
 
-typedef struct region {
-
-    unsigned int merged:1;       
-    eBBlock *entry ;            /* entry Block */
-    int     containsLoops;      /* contains other loops */
-    set     *regBlocks ;        /* set of all blocks */
-    set     *exits ;            /* set of exits */
-} region ;
-
-typedef struct induction {
-    
-    operand *sym ;  
+typedef struct region
+  {
+
+    unsigned int merged:1;
+    eBBlock *entry;            /* entry Block */
+    int containsLoops;         /* contains other loops */
+    set *regBlocks;            /* set of all blocks */
+    set *exits;                        /* set of exits */
+  }
+region;
+
+typedef struct induction
+  {
+
+    operand *sym;
     operand *asym;
-    unsigned int op ;
-    long cval ;
+    unsigned int op;
+    long cval;
     iCode *ic;
-} induction ;
+  }
+induction;
 
-DEFSETFUNC(backEdges);
-DEFSETFUNC(pregion);
-DEFSETFUNC(pinduction);
+DEFSETFUNC (backEdges);
+DEFSETFUNC (pregion);
+DEFSETFUNC (pinduction);
 int loopOptimizations (hTab *, eBBlock **, int);
-int addressTaken (set *,operand *);
-hTab *createLoopRegions (eBBlock **, int );
+int addressTaken (set *, operand *);
+hTab *createLoopRegions (eBBlock **, int);
 iCode *findDefInRegion (set *, operand *, eBBlock **);
 int hasIncomingDefs (region *, operand *);
-int findLoopEndSeq(region *);
+int findLoopEndSeq (region *);
 
 
 #endif