/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Christian Schaefer, Goetz Lindenmaier
-**
-** testprogram.
+* All rights reserved.
+*
+* Authors: Christian Schaefer, Goetz Lindenmaier
+*
+* testprogram.
*/
# include <stdio.h>
*/
/**
-*** This file constructs a control flow of following shape:
-***
-***
-*** firstCondBlock
-*** / \
-*** / \
-*** |/_ _\|
-*** Block1 scnCondBlock
-*** | | |
-*** | | |
-*** | \ / \ /
-*** | Block2 Block3
-*** \ | /
-*** \ | /
-*** _\| \ / |/_
-*** nextBlock
-***
-***
-*** This is a program as, e.g.,
-***
-*** if () then
-*** { Jmp label1; } // happens anyways
-*** else
-*** { Jmp label1; } // happens anyways
-*** label1:
-*** return();
-*** Jmp label1;
-***
+* This file constructs a control flow of following shape:
+*
+*
+* firstCondBlock
+* / \
+* / \
+* |/_ _\|
+* Block1 scnCondBlock
+* | | |
+* | | |
+* | \ / \ /
+* | Block2 Block3
+* \ | /
+* \ | /
+* _\| \ / |/_
+* nextBlock
+*
+*
+* This is a program as, e.g.,
+*
+* if () then
+* { Jmp label1; } // happens anyways
+* else
+* { Jmp label1; } // happens anyways
+* label1:
+* return();
+* Jmp label1;
+*
**/
int main(int argc, char **argv)
*scndCondBlock, *Block2, *Block3, *x;
/* init library */
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
* all functions as methods in this file.
* This class now is automatically generated.
*/
-#define METHODNAME "main"
+#define METHODNAME "THREE_CFPRED_EXAMPLE_main"
#define NRARGS 1
#define NRES 1
printf("\nCreating an IR graph: ...\n");