- /* If the link field of stor's is set to "NODE_VISITED", that mean this value
- can't be scalar replaced.It is nothing to do and "load_handling" muss be exit.*/
-
- store_ptr = get_Store_ptr(store);
- /* The pointer predecessor of Store muss be a Sel node.*/
- if(get_irn_op(store_ptr) == op_Sel) {
-
- /* If the link field of stor's is set to "ADDRESS_TAKEN", that mean this value
- can't be scalar replaced.It's nothing to do and "load_handling" muss be exit.*/
- if ( get_entity_link(get_Sel_entity(store_ptr)) == ADDRESS_TAKEN)
- return;
-
- /* If the Store node is in a loop, than the loop head of the Store
- *muss be handled, if thies ist'n be done. */
- store_l = get_irn_loop(store);
- if(store_l != NULL){
- phi = get_loop_node(store_l, 0);
- if(get_irn_op(phi) != op_Block){
- key.irn = get_nodes_block(phi);
- value = set_find(repairs, &key, sizeof(key), HASH_PTR(key.irn));
- if(value == NULL ){
- set_irn_link(phi, LOOP_HEAD_PHI);
- block_link(phi, env, repairs);
- phi_handling(phi, env, repairs);
- }
- }
- }
-
-
- DDMN(store);
- nods_block = get_nodes_block(store);
-
- key.irn = nods_block;
- value = set_find(repairs, &key, sizeof(key), HASH_PTR(nods_block));
-
- store_mem = get_Store_mem(store);
- store_value = get_Store_value(store);