ir_graph *main_irg;
ir_node *array, *array_ptr, *c3, *elt, *val, *x;
- init_firm ();
+ init_firm (NULL);
/* make basic type information for primitive type int.
In Sather primitive types are represented by a class.
ir_graph *main_irg;
ir_node *array_ptr, *c3, *elt, *val, *x;
- init_firm ();
+ init_firm (NULL);
printf("\nCreating an IR graph: ARRAY-STACK_EXAMPLE...\n");
printf("\nCreating an IR graph: CALL_STR_EXAMPLE...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
string_ptr = new_type_pointer (
id_from_str ("ptr_to_string", 13),
printf("\nCreating an IR graph: COND_EXAMPLE...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
/*** Make basic type information for primitive type int. ***/
prim_t_int = new_type_primitive(id_from_str ("int", 3), mode_Is);
printf("Creating type information...\n");
/** init library */
- init_firm ();
+ init_firm (NULL);
/** make idents for all used identifiers in the program. */
Ci = id_from_str("C", strlen("C"));
printf("\nCreating an IR graph: CONST_EVAL_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
/*** Make basic type information for primitive type int. ***/
prim_t_int = new_type_primitive(id_from_str ("int", 3), mode_Is);
*deadBlock, *x;
/* init library */
- init_firm ();
+ init_firm (NULL);
/*** Make basic type information for primitive type int. ***/
prim_t_int = new_type_primitive(id_from_str ("int", 3), mode_Is);
printf("\nCreating an IR graph: EMPTY...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
/** Build type information for the procedure. **/
printf("\nCreating an IR graph: ENDLESS_LOOP_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
set_opt_constant_folding(1);
printf("\nCreating an IR graph: EMPTY...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
/** Build type information for the procedure. **/
printf("\nCreating an IR graph: GLOBAL_CSE_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
set_opt_constant_folding(1);
printf("\nCreating an IR graph: GLOBAL_VAR ...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
/* make basic type information for primitive type int.
In Sather primitive types are represented by a class.
printf("\ncreating an IR graph: IF_ELSE_EXAMPLE...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
/*** Make basic type information for primitive type int. ***/
prim_t_int = new_type_primitive(id_from_str ("int", 3), mode_Is);
printf("\nCreating an IR graph: IF_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
#define CLASSNAME "IF_EXAMPLE"
#define METHODNAME "IF_EXAMPLE_main"
printf("\nCreating an IR graph: IF_WHILE_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
turn_off_edge_labels();
set_optimize(1);
printf("\nCreating type information...\n");
/** init library */
- init_firm ();
+ init_firm (NULL);
/** make idents for all used identifiers in the program. */
ii = id_from_str("i", strlen("i"));
printf("\nCreating an IR graph: IRR_CF...\n");
/* init library */
- init_firm ();
+ init_firm (NULL);
set_opt_constant_folding(0); /* so that stupid test are not evaluated. */
/* FIRM was designed for oo languages where all methods belong to a class.
/* init library */
- init_firm ();
+ init_firm (NULL);
set_opt_constant_folding (0); /* so that the stupid tests are not optimized. */
set_opt_cse(1);
set_opt_dead_node_elimination(1);
printf("\nCreating an IR graph: MEMORY_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
set_opt_dead_node_elimination (1);
int i;
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
set_opt_inline (1);
int i;
- init_firm ();
+ init_firm (NULL);
set_opt_constant_folding(1);
set_opt_cse(1);
*scndCondBlock, *Block2, *Block3, *x;
/* init library */
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
printf("\nCreating an IR graph: WHILE_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
set_optimize(1);
set_opt_constant_folding(1);