Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cwh_block.cxx File Reference
#include "defs.h"
#include "glob.h"
#include "symtab.h"
#include "errors.h"
#include "wn.h"
#include "wn_util.h"
#include "ir_reader.h"
#include "cwh_defines.h"
#include "cwh_stmt.h"
#include "cwh_directive.h"
#include "cwh_block.h"
#include "cwh_block.i"
Include dependency graph for cwh_block.cxx:

Go to the source code of this file.

Functions

void cwh_block_push_block (WN *deferred, WN *append, BOOL is_top_pdo)
void cwh_block_pop_block (void)
WNcwh_block_pop_region (void)
WNcwh_block_set_region_pragmas (BOOL assert)
void cwh_block_add_to_enclosing_regions (WN_PRAGMA_ID id, ST *st)
void cwh_block_push_region (WN *region)
void cwh_block_dump (void)
static void cwh_block_bump (void)
WNcwh_block_current (void)
void cwh_block_set_current (WN *blk)
WNcwh_block_new_and_current (void)
WNcwh_block_new_and_decl (void)
WNcwh_block_exchange_current (WN *blk)
void cwh_block_append (WN *wn)
void cwh_block_append_given_block (WN *wn, WN *block)
void cwh_block_insert_after (WN *wn, WN *in)
void cwh_block_append_given_id (WN *wn, enum block_id id, BOOL first)
void cwh_block_append_given (enum block_id id)
static WN ** cwh_block_find_address (enum block_id id)
void cwh_block_init_pu ()
BOOL cwh_block_toggle_debug (BOOL debug)

Variables

static char * source_file = __FILE__

Function Documentation

Definition at line 217 of file cwh_block.cxx.

References Add_Pragma_To_MP_Regions(), block_stack, block_stack_top, DevAssert, FALSE, OPR_REGION, REGION_KIND_MP, block_stack_t::wn, wn, WN_operator(), WN_PRAGMA_LOCAL, and WN_region_kind().

Referenced by cwh_mp_region().

Here is the call graph for this function:

void cwh_block_append ( WN wn)

Definition at line 413 of file cwh_block.cxx.

References cwh_block_append_given_block(), and cwh_block_current_inline.

Referenced by cwh_addr_do_bounds_check(), cwh_addr_insert_bounds_check(), cwh_addr_pstid(), cwh_addr_pstore_ST(), cwh_addr_pstore_WN(), cwh_addr_stid(), cwh_addr_store_ST(), cwh_addr_store_WN(), cwh_block_append_given(), cwh_block_pop_block(), cwh_directive_barrier_insert(), cwh_directive_insert_do_loop_directives(), cwh_directive_pragma_to_region(), cwh_inline_allocate(), cwh_intrin_call(), cwh_intrin_get_return_value(), cwh_intrin_sync_intrin(), cwh_io_no_desc(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_mp_region(), cwh_region(), cwh_stmt_add_pragma(), cwh_stmt_add_xpragma(), cwh_stmt_append_truebr(), cwh_stmt_assigned_goto(), cwh_stmt_call_helper(), cwh_stmt_computed_goto(), cwh_stmt_goto(), cwh_stmt_return_altentry(), fei_allocate(), fei_arith_goto(), fei_brtrue(), fei_close(), fei_copyin_bound(), fei_critical_open_mp(), fei_criticalsection(), fei_doloop(), fei_dowhile(), fei_end_ioblock(), fei_endcritical_open_mp(), fei_endcriticalsection(), fei_enddo(), fei_endguard(), fei_endordered_open_mp(), fei_entry_pt(), fei_flush_open_mp(), fei_formatted_read(), fei_formatted_write(), fei_guard(), fei_if(), fei_inquire(), fei_iolength(), fei_label_def_named(), fei_namelist_read(), fei_namelist_write(), fei_new_select(), fei_nullify(), fei_omp_set_lock(), fei_omp_test_lock(), fei_omp_unset_lock(), fei_open(), fei_ordered_open_mp(), fei_pdo(), fei_prefetch_ref(), fei_pstore(), fei_redistribute(), fei_return(), fei_start_ioblock(), fei_stop(), fei_store(), fei_unformatted_read(), fei_unformatted_write(), fei_use(), and fei_where().

Here is the call graph for this function:

void cwh_block_append_given ( enum block_id  id)

Definition at line 500 of file cwh_block.cxx.

References block, cwh_block_append(), cwh_block_find_address(), and NULL.

Referenced by fei_doloop(), fei_stmt(), and fei_user_code_start().

Here is the call graph for this function:

void cwh_block_append_given_block ( WN wn,
WN block 
)

Definition at line 427 of file cwh_block.cxx.

References current_srcpos, cwh_block_add_debug_line, OPC_BLOCK, USRCPOS_srcpos, WN_INSERT_BlockLast, WN_opcode(), and WN_Set_Linenum().

Referenced by cwh_block_append(), fei_flush_open_mp(), and fei_new_select_case().

Here is the call graph for this function:

static void cwh_block_bump ( void  ) [static]

Definition at line 376 of file cwh_block.cxx.

References cwh_block_decl, cwh_block_set_current(), wn, and WN_CreateBlock().

Here is the call graph for this function:

void cwh_block_push_region ( WN region)

Definition at line 251 of file cwh_block.cxx.

References block_stack, block_stack_top, cwh_block_bump(), cwh_block_current_inline, DevAssert, OPC_REGION, block_stack_t::region_parent, block_stack_t::u, block_stack_t::wn, and WN_opcode().

Referenced by cwh_region().

Here is the call graph for this function:

Definition at line 578 of file cwh_block.cxx.

References cwh_block_add_debug_line, and debug().

Referenced by cwh_stmt_init_pu(), fei_entry_pt(), fei_gen_func_entry(), and fei_user_code_start().

Here is the call graph for this function:


Variable Documentation

char* source_file = __FILE__ [static]

Definition at line 54 of file cwh_block.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines