p_globals.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  blk_stk_entry
struct  cc_stmt_buf_line_entry

Typedefs

typedef enum blk_cntxt_values blk_cntxt_type
typedef union blk_stk_entry blk_stk_type
typedef enum do_loop_values do_loop_type
typedef enum expr_values expr_type
typedef enum lbl_pos_values lbl_pos_type
typedef enum lbl_ref_values lbl_ref_type
typedef enum search_values search_type
typedef enum stmt_category_values stmt_category_type
typedef enum line_type_values line_type
typedef struct
cc_stmt_buf_line_entry 
cc_stmt_buf_line_type

Enumerations

enum  blk_cntxt_values {
  Unknown_Blk, Blockdata_Blk, Module_Blk, Program_Blk,
  Function_Blk, Subroutine_Blk, Internal_Blk, Module_Proc_Blk,
  Interface_Body_Blk, Do_Blk, Forall_Blk, If_Blk,
  If_Then_Blk, If_Else_If_Blk, If_Else_Blk, Select_Blk,
  Case_Blk, Where_Then_Blk, Where_Else_Blk, Where_Else_Mask_Blk,
  Parallel_Blk, Doall_Blk, Do_Parallel_Blk, Guard_Blk,
  Parallel_Case_Blk, Wait_Blk, SGI_Doacross_Blk, SGI_Psection_Blk,
  SGI_Section_Blk, SGI_Pdo_Blk, SGI_Parallel_Do_Blk, SGI_Parallel_Blk,
  SGI_Critical_Section_Blk, SGI_Single_Process_Blk, SGI_Region_Blk, Open_Mp_Parallel_Blk,
  Open_Mp_Do_Blk, Open_Mp_Parallel_Sections_Blk, Open_Mp_Sections_Blk, Open_Mp_Section_Blk,
  Open_Mp_Single_Blk, Open_Mp_Parallel_Do_Blk, Open_Mp_Master_Blk, Open_Mp_Critical_Blk,
  Open_Mp_Ordered_Blk, Open_Mp_Parallel_Workshare_Blk, Open_Mp_Workshare_Blk, Contains_Blk,
  Interface_Blk, Derived_Type_Blk
}
enum  do_loop_values { Unknown_Loop, Iterative_Loop, While_Loop, Infinite_Loop }
enum  expr_values {
  Expr_Unknown, Scalar_Int_Init_Expr, Scalar_Int_Expr, Scalar_Init_Expr,
  Scalar_Expr
}
enum  directive_region_values {
  Parallel_Region, Doall_Region, Do_Parallel_Region, Guard_Region,
  Case_Region, Region_Region, Sgi_Parallel_Region, Doacross_Region,
  Parallel_Do_Region, Pdo_Region, Parallel_Section_Region, Critical_Section_Region,
  Single_Process_Region, Open_Mp_Parallel_Region, Open_Mp_Do_Region, Open_Mp_Parallel_Sections_Region,
  Open_Mp_Sections_Region, Open_Mp_Section_Region, Open_Mp_Single_Region, Open_Mp_Parallel_Do_Region,
  Open_Mp_Master_Region, Open_Mp_Critical_Region, Open_Mp_Ordered_Region, Open_Mp_Parallel_Workshare_Region,
  Open_Mp_Workshare_Region, Last_Region
}
enum  lbl_pos_values { Top_Lbl, Cycle_Lbl, Exit_Lbl, Skip_Lbl }
enum  lbl_ref_values {
  Illegal_Lbl_Ref_Value, Branch_Context, Format_Ref, Assign_Ref,
  Do_Ref
}
enum  search_values {
  Find_None, Find_EOS, Find_Lparen, Find_Rparen,
  Find_Matching_Rparen, Find_Comma, Find_Comma_Slash, Find_Comma_Rparen,
  Find_Expr_End, Find_Ref_End
}
enum  stmt_category_values {
  Init_Stmt_Cat, Sub_Func_Stmt_Cat, Dir_Integer_Stmt_Cat, Use_Stmt_Cat,
  Implicit_None_Stmt_Cat, Implicit_Stmt_Cat, Declaration_Stmt_Cat, Executable_Stmt_Cat
}
enum  line_type_values {
  Comment_Line, Include_Line, Cond_Comp_Line, Dir_Line,
  Dir_Continuation_Line, Regular_Line, Continuation_Line, Pound_Include_Enter_Line,
  Pound_Include_Exit_Line, Pound_Src_Line, EOF_Line
}

Functions

int blk_match_err (blk_cntxt_type, boolean, boolean)
void build_fwd_ref_entry (int, lbl_ref_type)
char ch_after_paren_grp (void)
void check_for_vestigial_task_blks (void)
int check_label_ref (void)
void complete_intrinsic_definition (int)
void determine_stmt_type (void)
boolean digit_is_format_label (void)
void do_cmic_blk_checks (void)
void end_critical_section_blk (boolean)
void end_do_parallel_blk (boolean)
void end_doacross_blk (boolean)
void end_doall_blk (boolean)
void end_guard_blk (boolean)
void end_labeled_do (void)
void end_open_mp_critical_blk (boolean)
void end_open_mp_do_blk (boolean)
void end_open_mp_master_blk (boolean)
void end_open_mp_ordered_blk (boolean)
void end_open_mp_parallel_blk (boolean)
void end_open_mp_parallel_do_blk (boolean)
void end_open_mp_parallel_sections_blk (boolean)
void end_open_mp_parallel_workshare_blk (boolean)
void end_open_mp_section_blk (boolean)
void end_open_mp_sections_blk (boolean)
void end_open_mp_single_blk (boolean)
void end_open_mp_workshare_blk (boolean)
void end_parallel_blk (boolean)
void end_parallel_case_blk (boolean)
void end_pdo_blk (boolean)
void end_psection_blk (boolean)
void end_region_blk (boolean)
void end_SGI_parallel_blk (boolean)
void end_single_process_blk (boolean)
void end_wait_blk (boolean)
void flush_LA_to_EOS (void)
void flush_LA_to_symbol (void)
void format_line_n_col (int *, int *, int)
void gen_attr_and_IR_for_lbl (boolean)
int gen_loop_lbl_name (int, lbl_pos_type)
void implicit_use_semantics (void)
boolean iss_blk_stk_err (void)
boolean is_implied_do (void)
boolean is_substring_ref (void)
void label_ref_semantics (int, lbl_ref_type, int, int, int)
boolean matched_specific_token (token_values_type, token_class_type)
boolean matched_token_class (token_class_type)
boolean merge_access (int, int, int, access_type)
boolean merge_allocatable (boolean, int, int, int)
boolean merge_automatic (boolean, int, int, int)
boolean merge_co_array (boolean, int, int, int, int)
boolean merge_data (boolean, int, int, int)
boolean merge_dimension (int, int, int, int)
boolean merge_external (boolean, int, int, int)
boolean merge_intent (boolean, int, int, int)
boolean merge_intrinsic (boolean, int, int, int)
boolean merge_optional (boolean, int, int, int)
boolean merge_pointer (boolean, int, int, int)
boolean merge_save (boolean, int, int, int)
boolean merge_target (boolean, int, int, int)
boolean merge_volatile (boolean, int, int, int)
int move_blk_to_end (int)
boolean next_arg_is_kwd_equal (void)
boolean next_id_is_imp_control (void)
boolean next_tok_is_paren_slash (void)
int ntr_io_string_constant (void)
boolean parse_err_flush (search_type, char *)
boolean parse_io_list (opnd_type *)
boolean parse_operand (opnd_type *)
boolean pop_and_err_blk_stk (int, boolean)
void prev_char_line_and_col (int *, int *)
int put_char_const_in_tbl (char, int *)
int put_format_in_tbl (void)
boolean remove_do_parallel_blk (boolean, char *, int, int)
boolean remove_pdo_blk (boolean, char *, int, int)
void resolve_fwd_lbl_refs (void)
int start_new_prog_unit (pgm_unit_type, blk_cntxt_type, boolean, boolean, int *)
void set_format_start_idx (int)
boolean stmt_has_double_colon (void)
boolean stmt_is_DATA_stmt (void)
boolean stmt_is_DO_stmt (void)
boolean stmt_is_save_stmt (int, int)
void parse_allocatable_stmt (void)
void parse_allocate_stmt (void)
void parse_access_stmt (void)
void parse_assign_stmt (void)
void parse_assignment_stmt (void)
void parse_automatic_stmt (void)
void parse_bad_stmt (void)
void parse_backspace_stmt (void)
void parse_block_stmt (void)
void parse_buffer_stmt (void)
void parse_call_stmt (void)
void parse_case_stmt (void)
void parse_close_stmt (void)
void parse_common_stmt (void)
void parse_contains_stmt (void)
void parse_continue_stmt (void)
void parse_cycle_stmt (void)
void parse_data_stmt (void)
void parse_deallocate_stmt (void)
void parse_decode_stmt (void)
void parse_dimension_stmt (void)
void parse_directive_stmt (void)
void parse_do_stmt (void)
void parse_elemental_stmt (void)
void parse_else_stmt (void)
void parse_encode_stmt (void)
void parse_end_stmt (void)
void parse_endfile_stmt (void)
void parse_entry_stmt (void)
void parse_equivalence_stmt (void)
void parse_exit_stmt (void)
void parse_external_stmt (void)
void parse_forall (void)
void parse_format_stmt (void)
void parse_function_stmt (void)
void parse_goto_stmt (void)
void parse_if_stmt (void)
void parse_implicit_stmt (void)
void parse_inquire_stmt (void)
void parse_intent_stmt (void)
void parse_interface_stmt (void)
void parse_intrinsic_stmt (void)
void parse_module_stmt (void)
void parse_namelist_stmt (void)
void parse_nullify_stmt (void)
void parse_open_stmt (void)
void parse_optional_stmt (void)
void parse_parameter_stmt (void)
void parse_pointer_stmt (void)
void parse_print_stmt (void)
void parse_program_stmt (void)
void parse_pure_stmt (void)
void parse_read_stmt (void)
void parse_recursive_stmt (void)
void parse_return_stmt (void)
void parse_rewind_stmt (void)
void parse_save_stmt (void)
void parse_select_stmt (void)
void parse_sequence_stmt (void)
void parse_stmt_func_stmt (int, int)
void parse_stop_pause_stmt (void)
void parse_subroutine_stmt (void)
void parse_target_stmt (void)
void parse_task_common_stmt (void)
void parse_type_dcl_stmt (void)
void parse_use_stmt (void)
void parse_volatile_stmt (void)
void parse_where_stmt (void)
void parse_write_stmt (void)
int generic_spec_semantics (void)
boolean paren_grp_is_cplx_const (void)
boolean parse_actual_arg_spec (opnd_type *, boolean, int)
int parse_array_spec (int)
int parse_pe_array_spec (int)
boolean parse_deref (opnd_type *, int)
boolean parse_expr (opnd_type *)
boolean parse_generic_spec (void)
boolean parse_imp_do (opnd_type *)
intent_type parse_intent_spec (void)
void parse_length_selector (int, boolean, boolean)
boolean parse_type_spec (boolean)
void parse_typed_function_stmt (void)

Variables

blk_stk_typeblk_stk
int blk_stk_idx
int blk_stk_inc
int blk_stk_init_size
int blk_stk_limit
int blk_stk_num_wds
int blk_stk_size
int blk_stk_largest_idx
int cif_end_unit_column
int cif_end_unit_line
boolean clearing_blk_stk
boolean colon_recovery
stmt_category_type curr_stmt_category
boolean EOPU_encountered
boolean label_ok
token_type label_token
token_type main_token
intent_type new_intent
char * obj_str []
int stmt_construct_idx
int stmt_line_idx
long long stmt_in_blk []
stmt_category_type stmt_top_cat []
type_tbl_type type_init_tbl []
void(* stmt_parsers [])()
int if_stmt_lbl_idx
long directive_state

Typedef Documentation

Definition at line 198 of file p_globals.h.

typedef union blk_stk_entry blk_stk_type

Definition at line 199 of file p_globals.h.

Definition at line 551 of file p_globals.h.

Definition at line 200 of file p_globals.h.

typedef enum expr_values expr_type

Definition at line 201 of file p_globals.h.

Definition at line 202 of file p_globals.h.

Definition at line 203 of file p_globals.h.

Definition at line 545 of file p_globals.h.

typedef enum search_values search_type

Definition at line 204 of file p_globals.h.

Definition at line 205 of file p_globals.h.


Enumeration Type Documentation

Enumerator:
Unknown_Blk 
Blockdata_Blk 
Module_Blk 
Program_Blk 
Function_Blk 
Subroutine_Blk 
Internal_Blk 
Module_Proc_Blk 
Interface_Body_Blk 
Do_Blk 
Forall_Blk 
If_Blk 
If_Then_Blk 
If_Else_If_Blk 
If_Else_Blk 
Select_Blk 
Case_Blk 
Where_Then_Blk 
Where_Else_Blk 
Where_Else_Mask_Blk 
Parallel_Blk 
Doall_Blk 
Do_Parallel_Blk 
Guard_Blk 
Parallel_Case_Blk 
Wait_Blk 
SGI_Doacross_Blk 
SGI_Psection_Blk 
SGI_Section_Blk 
SGI_Pdo_Blk 
SGI_Parallel_Do_Blk 
SGI_Parallel_Blk 
SGI_Critical_Section_Blk 
SGI_Single_Process_Blk 
SGI_Region_Blk 
Open_Mp_Parallel_Blk 
Open_Mp_Do_Blk 
Open_Mp_Parallel_Sections_Blk 
Open_Mp_Sections_Blk 
Open_Mp_Section_Blk 
Open_Mp_Single_Blk 
Open_Mp_Parallel_Do_Blk 
Open_Mp_Master_Blk 
Open_Mp_Critical_Blk 
Open_Mp_Ordered_Blk 
Open_Mp_Parallel_Workshare_Blk 
Open_Mp_Workshare_Blk 
Contains_Blk 
Interface_Blk 
Derived_Type_Blk 

Definition at line 49 of file p_globals.h.

Enumerator:
Parallel_Region 
Doall_Region 
Do_Parallel_Region 
Guard_Region 
Case_Region 
Region_Region 
Sgi_Parallel_Region 
Doacross_Region 
Parallel_Do_Region 
Pdo_Region 
Parallel_Section_Region 
Critical_Section_Region 
Single_Process_Region 
Open_Mp_Parallel_Region 
Open_Mp_Do_Region 
Open_Mp_Parallel_Sections_Region 
Open_Mp_Sections_Region 
Open_Mp_Section_Region 
Open_Mp_Single_Region 
Open_Mp_Parallel_Do_Region 
Open_Mp_Master_Region 
Open_Mp_Critical_Region 
Open_Mp_Ordered_Region 
Open_Mp_Parallel_Workshare_Region 
Open_Mp_Workshare_Region 
Last_Region 

Definition at line 113 of file p_globals.h.

Enumerator:
Unknown_Loop 
Iterative_Loop 
While_Loop 
Infinite_Loop 

Definition at line 100 of file p_globals.h.

Enumerator:
Expr_Unknown 
Scalar_Int_Init_Expr 
Scalar_Int_Expr 
Scalar_Init_Expr 
Scalar_Expr 

Definition at line 105 of file p_globals.h.

Enumerator:
Top_Lbl 
Cycle_Lbl 
Exit_Lbl 
Skip_Lbl 

Definition at line 152 of file p_globals.h.

Enumerator:
Illegal_Lbl_Ref_Value 
Branch_Context 
Format_Ref 
Assign_Ref 
Do_Ref 

Definition at line 162 of file p_globals.h.

Enumerator:
Comment_Line 
Include_Line 
Cond_Comp_Line 
Dir_Line 
Dir_Continuation_Line 
Regular_Line 
Continuation_Line 
Pound_Include_Enter_Line 
Pound_Include_Exit_Line 
Pound_Src_Line 
EOF_Line 

Definition at line 533 of file p_globals.h.

Enumerator:
Find_None 
Find_EOS 
Find_Lparen 
Find_Rparen 
Find_Matching_Rparen 
Find_Comma 
Find_Comma_Slash 
Find_Comma_Rparen 
Find_Expr_End 
Find_Ref_End 

Definition at line 176 of file p_globals.h.

Enumerator:
Init_Stmt_Cat 
Sub_Func_Stmt_Cat 
Dir_Integer_Stmt_Cat 
Use_Stmt_Cat 
Implicit_None_Stmt_Cat 
Implicit_Stmt_Cat 
Declaration_Stmt_Cat 
Executable_Stmt_Cat 

Definition at line 189 of file p_globals.h.


Function Documentation

int blk_match_err ( blk_cntxt_type  ,
boolean  ,
boolean   
)

Definition at line 4039 of file p_end.c.

References AT_NAME_LEN, AT_OBJ_NAME_LONG, AT_OBJ_NAME_PTR, ATP_PGM_UNIT, blk_desc_str(), BLK_NAME, blk_stk_idx, BLK_TYPE, Case_Stmt, cif_pgm_unit_error_recovery, compare_names(), CURR_BLK, CURR_BLK_NAME, curr_stmt_sh_idx, Else_If_Stmt, Else_Stmt, Else_Where_Mask_Stmt, Else_Where_Stmt, End_Blockdata_Stmt, End_Do_Stmt, End_Forall_Stmt, End_Function_Stmt, End_If_Stmt, End_Interface_Stmt, End_Module_Stmt, End_Program_Stmt, End_Select_Stmt, End_Subroutine_Stmt, End_Type_Stmt, End_Where_Stmt, Error, FALSE, Func_Entry, Func_Exit, Function, If_Else_Blk, Interface_Body_Blk, Internal, move_blk_to_end(), NULL, NULL_IDX, pop_and_err_blk_stk(), POP_BLK_STK, PRINTMSG(), PUSH_BLK_STK, Select_Blk, SH_ERR_FLG, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Subroutine, Then_Stmt, token, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TRACE, TRUE, and Where_Else_Blk.

Referenced by end_critical_section_blk(), end_do_parallel_blk(), end_guard_blk(), end_open_mp_critical_blk(), end_open_mp_do_blk(), end_open_mp_master_blk(), end_open_mp_ordered_blk(), end_open_mp_parallel_blk(), end_open_mp_parallel_do_blk(), end_open_mp_parallel_sections_blk(), end_open_mp_parallel_workshare_blk(), end_open_mp_section_blk(), end_open_mp_sections_blk(), end_open_mp_single_blk(), end_open_mp_workshare_blk(), end_parallel_blk(), end_parallel_case_blk(), end_pdo_blk(), end_psection_blk(), end_region_blk(), end_SGI_parallel_blk(), end_single_process_blk(), parse_case_stmt(), parse_else_stmt(), and parse_end_stmt().

Here is the call graph for this function:

void build_fwd_ref_entry ( int  ,
lbl_ref_type   
)
char ch_after_paren_grp ( void   ) 

Definition at line 4315 of file lex.c.

References Func_Entry, Func_Exit, LA_CH_VALUE, scan_thru_close_paren(), and TRACE.

Referenced by parse_implicit_stmt().

Here is the call graph for this function:

void check_for_vestigial_task_blks ( void   ) 
int check_label_ref ( void   ) 
void complete_intrinsic_definition ( int   ) 

Definition at line 93 of file p_driver.c.

References _QUAD_PRECISION, AL_ATTR_IDX, AL_NEXT_IDX, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_DARG, AT_IS_INTRIN, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OPTIONAL, ATD_ARRAY_IDX, ATD_CLASS, ATD_FUNC_IDX, ATD_IM_A_DOPE, ATD_INTRIN_DARG, ATD_INTRIN_DARG_TYPE, ATD_TYPE_IDX, ATI_FIRST_SPECIFIC_IDX, ATI_INTRIN_TBL_IDX, ATI_NUM_SPECIFICS, ATP_ELEMENTAL, ATP_EXPL_ITRFC, ATP_EXT_NAME_IDX, ATP_EXT_NAME_LEN, ATP_EXTERNAL_INTRIN, ATP_FIRST_IDX, ATP_IN_INTERFACE_BLK, ATP_INTRIN_ENUM, ATP_NON_ANSI_INTRIN, ATP_NOSIDE_EFFECTS, ATP_NUM_DARGS, ATP_PGM_UNIT, ATP_PROC, ATP_PURE, ATP_RSLT_IDX, ATP_SCP_IDX, cmd_line_flags, Complex_16, Complex_8, COPY_COMMON_ATTR_INFO, CREATE_ID, curr_scp_idx, Data_Obj, intrin_tbl_entry::data_type, intrin_tbl_entry::dope, DOUBLE_COMPLEX_DEFAULT_TYPE, DOUBLE_DEFAULT_TYPE, Dummy_Argument, Dummy_Proc, intrin_tbl_entry::elemental, expanded_intrinsic_list, intrin_tbl_entry::external, Func_Entry, Func_Exit, Function, Function_Result, intrin_tbl_entry::id_str, id_str(), Integer_4, Integer_8, INTEGER_DEFAULT_TYPE, Internal, intrin_tbl_entry::intrin_enum, Intrin_Proc, intrin_tbl, Logical_4, Logical_8, LOGICAL_DEFAULT_TYPE, MAKE_EXTERNAL_NAME, intrin_tbl_entry::n_specifics, name, intrin_tbl_entry::name_len, intrin_tbl_entry::non_ansi, NTR_ATTR_LIST_TBL, NTR_ATTR_TBL, NTR_INTERFACE_IN_SN_TBL, NTR_NAME_POOL, NTR_SN_TBL, NULL, NULL_IDX, intrin_tbl_entry::optional, Pgm_Unit, PRINTMSG(), Real_16, Real_8, cmd_line_flags_entry::s_pointer8, SN_ATTR_IDX, SN_NAME_IDX, SN_NAME_LEN, stmt_start_col, stmt_start_line, strcpy, id_str_entry::string, Subroutine, TRACE, TRUE, and id_str_entry::words.

Referenced by generic_spec_semantics(), merge_intrinsic(), parse_call_stmt(), parse_deref(), parse_inline_always_never(), parse_sgi_dir_inline(), and update_intrinsic().

Here is the call graph for this function:

void determine_stmt_type ( void   ) 
boolean digit_is_format_label ( void   ) 
void do_cmic_blk_checks ( void   ) 
void end_critical_section_blk ( boolean   ) 
void end_do_parallel_blk ( boolean   ) 
void end_doacross_blk ( boolean   ) 

Definition at line 5035 of file p_end.c.

References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.

void end_doall_blk ( boolean   ) 

Definition at line 4640 of file p_end.c.

References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.

void end_guard_blk ( boolean   ) 
void end_labeled_do ( void   ) 
void end_open_mp_critical_blk ( boolean   ) 

Definition at line 5730 of file p_end.c.

References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_Mp_Critical_Blk, Open_MP_End_Critical_Stmt, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.

Referenced by parse_open_mp_directives().

Here is the call graph for this function:

void end_open_mp_do_blk ( boolean   ) 
void end_open_mp_master_blk ( boolean   ) 

Definition at line 5689 of file p_end.c.

References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Master_Stmt, Open_Mp_Master_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.

Referenced by parse_open_mp_directives().

Here is the call graph for this function:

void end_open_mp_ordered_blk ( boolean   ) 

Definition at line 5771 of file p_end.c.

References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Ordered_Stmt, Open_Mp_Ordered_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.

Referenced by parse_open_mp_directives().

Here is the call graph for this function:

void end_open_mp_parallel_blk ( boolean   ) 
void end_open_mp_parallel_do_blk ( boolean   ) 
void end_open_mp_parallel_sections_blk ( boolean   ) 
void end_open_mp_parallel_workshare_blk ( boolean   ) 
void end_open_mp_section_blk ( boolean   ) 

Definition at line 5543 of file p_end.c.

References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Section_Stmt, Open_Mp_Section_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.

Referenced by parse_open_mp_directives().

Here is the call graph for this function:

void end_open_mp_sections_blk ( boolean   ) 
void end_open_mp_single_blk ( boolean   ) 
void end_open_mp_workshare_blk ( boolean   ) 
void end_parallel_blk ( boolean   ) 
void end_parallel_case_blk ( boolean   ) 
void end_pdo_blk ( boolean   ) 
void end_psection_blk ( boolean   ) 
void end_region_blk ( boolean   ) 
void end_SGI_parallel_blk ( boolean   ) 
void end_single_process_blk ( boolean   ) 
void end_wait_blk ( boolean   ) 

Definition at line 4670 of file p_end.c.

References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.

void flush_LA_to_EOS ( void   ) 

Definition at line 181 of file lex.c.

References Func_Entry, Func_Exit, la_ch, NULL, stmt_EOS_la_ch, and TRACE.

Referenced by parse_err_flush().

void flush_LA_to_symbol ( void   ) 

Definition at line 213 of file lex.c.

References Ch_Class_Digit, Ch_Class_EOS, Ch_Class_Letter, Ch_Class_Symbol, DBL_QUOTE, Func_Entry, Func_Exit, get_token(), LA_CH_CLASS, LA_CH_VALUE, NEXT_LA_CH, NULL, QUOTE, Tok_Class_Opnd, TRACE, and VALID_LA_CH.

Referenced by parse_err_flush().

Here is the call graph for this function:

void format_line_n_col ( int *  ,
int *  ,
int   
)
void gen_attr_and_IR_for_lbl ( boolean   ) 
int gen_loop_lbl_name ( int  ,
lbl_pos_type   
)
int generic_spec_semantics ( void   ) 

Definition at line 3245 of file p_dcl_util.c.

References And_Opr, Asg_Opr, AT_ATTR_LINK, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_INTRIN, AT_MODULE_IDX, AT_NAME_IDX, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, AT_USE_ASSOCIATED, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, ATI_DEFINED_OPR, ATI_FIRST_SPECIFIC_IDX, ATI_INTERFACE_CLASS, ATI_PROC_IDX, ATI_USER_SPECIFIED, ATP_PROC, ATP_RSLT_IDX, Char_Rslt_Bound_Ref, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), CLEAR_VARIANT_ATTR_INFO, complete_intrinsic_definition(), Concat_Opr, COPY_COMMON_ATTR_INFO, COPY_VARIANT_ATTR_INFO, CREATE_ERR_ATTR, CURR_BLK, curr_scp_idx, Data_Obj, Defined_Assign_Interface, Defined_Binary_Interface, Defined_Unary_Interface, Defined_Unary_Or_Binary_Interface, Div_Opr, Eq_Opr, Eqv_Opr, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Ge_Opr, Generic_Unknown_Interface, Gt_Opr, Interface, Interface_Stmt, INTRINSIC_SCP_IDX, Le_Opr, Lg_Opr, LN_ATTR_IDX, LN_DEF_LOC, LN_NAME_IDX, Lt_Opr, Minus_Opr, Module_Blk, Module_Proc, Mult_Opr, Ne_Opr, Neqv_Opr, Not_Opr, NTR_ATTR_TBL, ntr_host_in_sym_tbl(), ntr_sym_tbl(), NULL, NULL_IDX, Null_Opr, Obj_Generic_Interface, Or_Opr, Pgm_Unit, Plus_Opr, Power_Opr, PRINTMSG(), SET_IMPL_TYPE, srch_host_sym_tbl(), srch_sym_tbl(), stmt_type, Tok_Id, Tok_Op_Add, Tok_Op_And, Tok_Op_Assign, Tok_Op_Concat, Tok_Op_Defined, Tok_Op_Div, Tok_Op_Eq, Tok_Op_Eqv, Tok_Op_Ge, Tok_Op_Gt, Tok_Op_Le, Tok_Op_Lg, Tok_Op_Lt, Tok_Op_Mult, Tok_Op_Ne, Tok_Op_Neqv, Tok_Op_Not, Tok_Op_Or, Tok_Op_Power, Tok_Op_Sub, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TOKEN_VALUE, TRACE, TRUE, and XREF_RECS.

Referenced by parse_access_stmt(), and parse_interface_stmt().

Here is the call graph for this function:

void implicit_use_semantics ( void   ) 
boolean is_implied_do ( void   ) 
boolean is_substring_ref ( void   ) 
boolean iss_blk_stk_err ( void   ) 

Definition at line 1743 of file p_driver.c.

References ATP_PGM_UNIT, BASIC_RECS, BLK_ERR, blk_err_msgs, BLK_HEAD_IDX, blk_stk_idx, BLK_TYPE, Blockdata, Blockdata_Stmt, cif_flags, cif_send_sytb(), Contains_Blk, CURR_BLK, curr_scp_idx, Error, EXIT, FALSE, Func_Entry, Func_Exit, Function, Function_Stmt, if_stmt_lbl_idx, init_parse_prog_unit(), Interface_Blk, Internal, Module, Module_Stmt, NULL, NULL_IDX, pop_and_err_blk_stk(), PRINTMSG(), Private_Stmt, Program, Program_Stmt, Public_Stmt, Return_Stmt, SCP_ATTR_IDX, SCP_IN_ERR, STMT_CANT_BE_IN_BLK, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Subroutine, Subroutine_Stmt, TRACE, and TRUE.

Referenced by parse_access_stmt(), parse_allocate_stmt(), parse_assign_stmt(), parse_assignment_stmt(), parse_attrs(), parse_backspace_stmt(), parse_buffer_stmt(), parse_call_stmt(), parse_close_stmt(), parse_common_stmt(), parse_contains_stmt(), parse_continue_stmt(), parse_cycle_stmt(), parse_data_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_derived_type_stmt(), parse_do_stmt(), parse_encode_stmt(), parse_endfile_stmt(), parse_entry_stmt(), parse_equivalence_stmt(), parse_exit_stmt(), parse_forall(), parse_format_stmt(), parse_function_stmt(), parse_goto_stmt(), parse_if_stmt(), parse_implicit_stmt(), parse_inquire_stmt(), parse_interface_stmt(), parse_module_stmt(), parse_namelist_stmt(), parse_nullify_stmt(), parse_open_stmt(), parse_parameter_stmt(), parse_pointer_stmt(), parse_prefix_spec(), parse_print_stmt(), parse_read_stmt(), parse_return_stmt(), parse_rewind_stmt(), parse_save_stmt(), parse_select_stmt(), parse_sequence_stmt(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_subroutine_stmt(), parse_type_dcl_stmt(), parse_use_stmt(), parse_where_stmt(), parse_write_stmt(), and start_new_prog_unit().

Here is the call graph for this function:

void label_ref_semantics ( int  ,
lbl_ref_type  ,
int  ,
int  ,
int   
)
boolean matched_specific_token ( token_values_type  ,
token_class_type   
)
boolean matched_token_class ( token_class_type   ) 
boolean merge_access ( int  ,
int  ,
int  ,
access_type   
)
boolean merge_allocatable ( boolean  ,
int  ,
int  ,
int   
)

Definition at line 1743 of file p_dcl_util.c.

References Ansi, AT_OBJ_NAME_PTR, ATD_ALLOCATABLE, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Allocatable, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.

Referenced by parse_allocatable_stmt(), and parse_type_dcl_stmt().

Here is the call graph for this function:

boolean merge_automatic ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_co_array ( boolean  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 3922 of file p_dcl_util.c.

References ATD_PE_ARRAY_IDX, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Co_Array, TRACE, and TRUE.

Referenced by parse_attrs(), and parse_type_dcl_stmt().

Here is the call graph for this function:

boolean merge_data ( boolean  ,
int  ,
int  ,
int   
)

Definition at line 2153 of file p_dcl_util.c.

References AT_DEFINED, ATD_CLASS, ATD_DATA_INIT, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Data_Init, TRACE, TRUE, and Variable.

Referenced by parse_data_imp_do(), parse_data_stmt(), and parse_type_dcl_stmt().

Here is the call graph for this function:

boolean merge_dimension ( int  ,
int  ,
int  ,
int   
)
boolean merge_external ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_intent ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_intrinsic ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_optional ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_pointer ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_save ( boolean  ,
int  ,
int  ,
int   
)

Definition at line 2719 of file p_dcl_util.c.

References Ansi, AT_OBJ_NAME_PTR, ATD_CLASS, ATD_SAVED, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Saved, PRINTMSG(), SET_IMPL_TYPE, TRACE, TRUE, and Variable.

Referenced by parse_save_stmt(), and parse_type_dcl_stmt().

Here is the call graph for this function:

boolean merge_target ( boolean  ,
int  ,
int  ,
int   
)
boolean merge_volatile ( boolean  ,
int  ,
int  ,
int   
)

Definition at line 3971 of file p_dcl_util.c.

References Ansi, AT_OBJ_NAME_PTR, ATD_VOLATILE, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Volatile, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.

Referenced by parse_type_dcl_stmt(), and parse_volatile_stmt().

Here is the call graph for this function:

int move_blk_to_end ( int   ) 
boolean next_arg_is_kwd_equal ( void   ) 
boolean next_id_is_imp_control ( void   ) 
boolean next_tok_is_paren_slash ( void   ) 
int ntr_io_string_constant ( void   ) 
boolean paren_grp_is_cplx_const ( void   ) 
void parse_access_stmt ( void   ) 
boolean parse_actual_arg_spec ( opnd_type ,
boolean  ,
int   
)
void parse_allocatable_stmt ( void   ) 

Definition at line 461 of file p_dcl_attr.c.

References Func_Entry, Func_Exit, merge_allocatable(), NULL, parse_attrs(), and TRACE.

Here is the call graph for this function:

void parse_allocate_stmt ( void   ) 
int parse_array_spec ( int   ) 
void parse_assign_stmt ( void   )