PIPS
|
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "boolean.h"
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "effects.h"
#include "database.h"
#include "misc.h"
#include "text.h"
#include "text-util.h"
#include "ri-util.h"
#include "effects-util.h"
#include "effects-generic.h"
#include "effects-simple.h"
#include "pipsdbm.h"
#include "resources.h"
#include "control.h"
#include "conversion.h"
#include "properties.h"
#include "transformations.h"
#include "arithmetique.h"
#include "vecteur.h"
#include "contrainte.h"
#include "ray_dte.h"
#include "sommet.h"
#include "sg.h"
#include "sc.h"
#include "polyedre.h"
#include "matrix.h"
#include "graph.h"
#include "paf_ri.h"
#include "constants.h"
#include "paf-util.h"
#include "static_controlize.h"
#include "pocc-interface.h"
#include "preprocessor.h"
#include "callgraph.h"
#include "accel-util.h"
Go to the source code of this file.
Macros | |
#define | PRAGMA_TEMP_BEGIN "nonscop" |
#define | PRAGMA_TEMP_END "endnonscop" |
#define | PREFIX_TEMP "nonscopf" |
#define | statement_has_this_pragma_string_p(stmt, str) (get_extension_from_statement_with_pragma(stmt,str)!=NULL) |
Typedefs | |
typedef void * | arc_label |
tatic_control More... | |
typedef void * | vertex_label |
Functions | |
static bool | statement_with_pragma_p_inv (statement s) |
static bool | searchPragma (statement s) |
static void | insert_endscop_before_stmt (statement stmt, bool *pragma_added_p, sequence seqInst, list stmts, statement last_added_pragma) |
static void | insert_endscop_after_stmt (statement stmt, bool *pragma_added_p, sequence seqInst, statement last_added_pragma) |
static void | insert_endscop_in_sequence (statement stmt, bool *pragma_added_p, bool insertBefore) |
static void | add_to_stmt (statement stmt, bool *pragma_added_p) |
void | pragma_nonscop (statement s, bool pragma_added_p, bool in_loop_p) |
Warning! Do not modify this file that is automatically generated! More... | |
bool | rstream_interface (char *module_name) |
Phase in charge of putting pragmas around the non-SCoP of the code This phase only works if there has been a previous phase applied putting pragmas around SCoP of the code. More... | |
Variables | |
static statement_mapping | Gsc_map |
static int | hasPragma = 0 |
#define PRAGMA_TEMP_BEGIN "nonscop" |
Definition at line 68 of file rstream_interface.c.
#define PRAGMA_TEMP_END "endnonscop" |
Definition at line 69 of file rstream_interface.c.
#define PREFIX_TEMP "nonscopf" |
Definition at line 70 of file rstream_interface.c.
#define statement_has_this_pragma_string_p | ( | stmt, | |
str | |||
) | (get_extension_from_statement_with_pragma(stmt,str)!=NULL) |
Definition at line 72 of file rstream_interface.c.
typedef void* arc_label |
tatic_control
Pips includes
Types arc_label and vertex_label must be defined although they are not used
Definition at line 48 of file rstream_interface.c.
typedef void* vertex_label |
Definition at line 49 of file rstream_interface.c.
Definition at line 123 of file rstream_interface.c.
References add_pragma_str_to_statement(), and PRAGMA_TEMP_BEGIN.
Referenced by pragma_nonscop().
|
static |
Definition at line 106 of file rstream_interface.c.
References add_pragma_str_to_statement(), entity_empty_label(), gen_insert_after(), is_SCOP_rich(), make_continue_statement(), PRAGMA_TEMP_END, and sequence_statements.
Referenced by pragma_nonscop().
|
static |
Definition at line 97 of file rstream_interface.c.
References add_pragma_str_to_statement(), entity_empty_label(), gen_insert_before(), is_SCOP_rich(), make_continue_statement(), PRAGMA_TEMP_END, and sequence_statements.
Referenced by pragma_nonscop().
|
static |
Definition at line 115 of file rstream_interface.c.
References add_pragma_str_to_statement(), entity_empty_label(), insert_statement(), make_continue_statement(), and PRAGMA_TEMP_END.
Referenced by pragma_nonscop().
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/rstream_interface/rstream_interface-local.h instead, to add your own modifications. header file built by cproto rstream_interface-local.h cproto-generated files rstream_interface.c
pragma_added_p | ragma_added_p |
in_loop_p | n_loop_p |
Definition at line 129 of file rstream_interface.c.
References add_to_stmt(), declaration_statement_p(), FOREACH, GET_STATEMENT_MAPPING, Gsc_map, insert_endscop_after_stmt(), insert_endscop_before_stmt(), insert_endscop_in_sequence(), instruction_loop, instruction_sequence, instruction_tag, instruction_test, instruction_whileloop, is_instruction_call, is_instruction_forloop, is_instruction_loop, is_instruction_sequence, is_instruction_test, is_instruction_whileloop, loop_body, return_statement_p(), searchPragma(), sequence_statements, statement_instruction, statement_undefined, statement_with_pragma_p(), static_control_yes, test_false, test_true, and whileloop_body.
Referenced by rstream_interface().
bool rstream_interface | ( | char * | module_name | ) |
Phase in charge of putting pragmas around the non-SCoP of the code This phase only works if there has been a previous phase applied putting pragmas around SCoP of the code.
module_name | odule_name |
Definition at line 281 of file rstream_interface.c.
References db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, get_current_module_statement(), Gsc_map, local_name_to_top_level_entity(), module_name(), pragma_nonscop(), reset_current_module_entity(), reset_current_module_statement(), set_current_module_entity(), and set_current_module_statement().
Definition at line 85 of file rstream_interface.c.
References gen_null(), gen_recurse, hasPragma, statement_domain, and statement_with_pragma_p_inv().
Referenced by pragma_nonscop().
Definition at line 78 of file rstream_interface.c.
References hasPragma, and statement_with_pragma_p().
Referenced by searchPragma().
|
static |
Definition at line 75 of file rstream_interface.c.
Referenced by pragma_nonscop(), and rstream_interface().
|
static |
Definition at line 76 of file rstream_interface.c.
Referenced by searchPragma(), and statement_with_pragma_p_inv().