PIPS
|
Go to the source code of this file.
Functions | |
bool | condition_body_contains_loop_p (statement) |
Warning! Do not modify this file that is automatically generated! More... | |
bool | condition_contains_loop_p (statement) |
Checks if a test contains a loop. More... | |
bool | is_SCOP_rich (sequence, statement, statement, bool *) |
Checks if there is at least one loop in the sequence. More... | |
bool | is_subroutine (instruction) |
Returns true if the instruction is a subroutine. More... | |
bool | pocc_prettyprinter (char *) |
use the result of control static to add pragmas for pocc compiler , that pragmas delimit control static parts (static control region which can contains many loop nests More... | |
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/pocc-interface/pocc-interface-local.h instead, to add your own modifications. header file built by cproto pocc_interface-local.h cproto-generated files pocc_prettyprinter.c
Warning! Do not modify this file that is automatically generated!
Definition at line 73 of file pocc_prettyprinter.c.
References condition_contains_loop_p(), FOREACH, instruction_sequence, sequence_statements, statement_forloop_p(), statement_instruction, statement_loop_p(), statement_sequence_p(), and statement_test_p().
Referenced by condition_contains_loop_p().
Checks if a test contains a loop.
Definition at line 91 of file pocc_prettyprinter.c.
References condition_body_contains_loop_p(), instruction_test, statement_instruction, statement_test_p(), test_false, and test_true.
Referenced by condition_body_contains_loop_p(), and is_SCOP_rich().
bool is_SCOP_rich | ( | sequence | seq, |
statement | last_added_pragma, | ||
statement | curStmt, | ||
bool * | pragma_added_p | ||
) |
Checks if there is at least one loop in the sequence.
If not it removes the previously added pragma on the last_added_pragma statement.
seq | eq |
last_added_pragma | ast_added_pragma |
curStmt | urStmt |
pragma_added_p | ragma_added_p |
Definition at line 107 of file pocc_prettyprinter.c.
References are_stmts_eq(), clear_pragma_on_statement(), condition_contains_loop_p(), FOREACH, sequence_statements, statement_forloop_p(), statement_loop_p(), statement_test_p(), and statement_with_pragma_p().
Referenced by insert_endscop_after_stmt(), and insert_endscop_before_stmt().
bool is_subroutine | ( | instruction | inst | ) |
Returns true if the instruction is a subroutine.
inst | nst |
Definition at line 173 of file pocc_prettyprinter.c.
References call_function, entity_type, functional_result, instruction_call, instruction_call_p, type_functional, type_functional_p, and type_void_p.
Referenced by pragma_scop().
bool pocc_prettyprinter | ( | char * | module_name | ) |
use the result of control static to add pragmas for pocc compiler , that pragmas delimit control static parts (static control region which can contains many loop nests
module_name | odule_name |
Definition at line 372 of file pocc_prettyprinter.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_scop(), reset_current_module_entity(), reset_current_module_statement(), set_current_module_entity(), and set_current_module_statement().