PIPS
|
Go to the source code of this file.
Enumerations | |
enum | chain_type { USE_PROPER_EFFECTS = 1 , USE_REGIONS , USE_IN_OUT_REGIONS , USE_PROPER_EFFECTS = 1 , USE_REGIONS , USE_IN_OUT_REGIONS } |
Warning! Do not modify this file that is automatically generated! More... | |
Functions | |
graph | statement_dependence_graph (statement) |
cproto-generated files More... | |
bool | atomic_chains (const string) |
Phase to compute atomic chains based on proper effects (simple memory accesses) More... | |
bool | region_chains (const string) |
Phase to compute atomic chains based on array regions. More... | |
bool | in_out_regions_chains (const string) |
Phase to compute atomic chains based on in-out array regions. More... | |
enum chain_type |
Warning! Do not modify this file that is automatically generated!
Modify src/Libs/chains/chains-local.h instead, to add your own modifications. header file built by cproto chains-local.h To choose the concepts used to compute dependence chains
Enumerator | |
---|---|
USE_PROPER_EFFECTS | |
USE_REGIONS | |
USE_IN_OUT_REGIONS | |
USE_PROPER_EFFECTS | |
USE_REGIONS | |
USE_IN_OUT_REGIONS |
Definition at line 35 of file chains.h.
bool atomic_chains | ( | const | string | ) |
Phase to compute atomic chains based on proper effects (simple memory accesses)
string | odule_name |
Definition at line 1442 of file chains.c.
References chains(), module_name(), and USE_PROPER_EFFECTS.
bool in_out_regions_chains | ( | const | string | ) |
Phase to compute atomic chains based on in-out array regions.
string | odule_name |
Definition at line 1456 of file chains.c.
References chains(), module_name(), and USE_IN_OUT_REGIONS.
bool region_chains | ( | const | string | ) |
Phase to compute atomic chains based on array regions.
string | odule_name |
Definition at line 1449 of file chains.c.
References chains(), module_name(), and USE_REGIONS.
cproto-generated files
cproto-generated files
@description Statement s is assumed "controlized", i.e. GOTO have been replaced by unstructured.
FIXME FI: this function is bugged. As Pierre said, you have to start with an unstructured for the use-def chain computation to be correct.
Initialize some properties
Initialize global hashtables
Initialize the dg
Initialize data structures for all the statements
It recursively initializes the sets of gens, ins and outs for the statements that appear in st. Note that not only call statements are there, but also enclosing statements (e.g, blocks and loops).
Compute genref phase
Compute inout phase and create conflicts
Definition at line 1218 of file chains.c.
References current_defs, current_refs, dataflow_dependence_only_p, Def_in, Def_out, dg, effects2statement, Gen, gen_null(), gen_recurse, genref_statement(), get_bool_property(), hash_pointer, hash_table_free(), hash_table_make(), init_one_statement(), INIT_STATEMENT_SIZE, inout_statement(), keep_read_read_dependences_p, make_graph(), mask_effects_p, NIL, one_trip_do_p, Ref, Ref_in, Ref_out, set_free(), set_make(), set_pointer, statement_domain, TABLE_FREE, and Vertex_statement.
Referenced by chains().