Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define ASSERT_DBG_FATAL ASSERT_FATAL |
Definition at line 289 of file diagnostics.h.
Referenced by Append_Array_Segment(), Append_Clause_Expressions(), Append_Clause_Symbols(), Append_Distribution(), Append_MP_Schedtype(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Reduction_Clause(), Emit_To_PUinfo_Pragmas(), INIT2F_array(), INIT2F_structured(), INIT2F_substring(), INITO2F_translate(), INITVKIND_ty(), Is_Valid_Doacross(), PARAMETER2F_translate(), Select_Best_Fld_Path(), Set_Tcon_Value(), ST2F_decl_const(), ST2F_decl_error(), ST2F_decl_func(), ST2F_decl_type(), ST2F_decl_var(), ST2F_deref_translate(), ST2F_func_header(), ST2F_use_block(), ST2F_use_const(), ST2F_use_error(), ST2F_use_func(), ST2F_use_var(), TY2F_2_struct(), TY2F_array(), TY2F_array_for_pointer(), TY2F_Get_Fld_Path(), TY2F_invalid(), TY2F_Purple_Assumed_Sized_Array(), TY2F_scalar(), TY2F_struct(), TY2F_Translate_Common(), TY2F_Translate_Equivalence(), TY2F_Translate_Structure(), TY2F_void(), WN2F_agoto(), WN2F_alloca(), WN2F_altentry(), WN2F_array(), WN2F_arrsection(), WN2F_ashr(), WN2F_binaryop(), WN2F_block(), WN2F_bnor(), WN2F_call(), WN2F_ceil(), WN2F_comment(), WN2F_compgoto(), WN2F_complex(), WN2F_condbr(), WN2F_const(), WN2F_cvt(), WN2F_cvtl(), WN2F_dealloca(), WN2F_do_loop(), WN2F_do_while(), WN2F_Entry_Point(), WN2F_eq(), WN2F_eval(), WN2F_floor(), WN2F_func_entry(), WN2F_Function_Call_Lhs(), WN2F_Get_DoLoop_StepSize(), WN2F_goto(), WN2F_idname(), WN2F_if(), WN2F_iload(), WN2F_imagpart(), WN2F_implied_do(), WN2F_intconst(), WN2F_interface_blk(), WN2F_intrinsic_call(), WN2F_intrinsic_op(), WN2F_io(), WN2F_istore(), WN2F_label(), WN2F_lda(), WN2F_ldid(), WN2F_lshr(), WN2F_madd(), WN2F_mload(), WN2F_mstore(), WN2F_msub(), WN2F_namelist_stmt(), WN2F_ne(), WN2F_nmadd(), WN2F_nmsub(), WN2F_nullify_stmt(), WN2F_paren(), WN2F_parm(), WN2F_pragma(), WN2F_pragma_list_end(), WN2F_prefetch(), WN2F_process_pragma(), WN2F_pstid(), WN2F_pstore(), WN2F_realpart(), WN2F_recip(), WN2F_return(), WN2F_rsqrt(), WN2F_stid(), WN2F_strctfld(), WN2F_tas(), WN2F_translate_purple_main(), WN2F_unaryop(), and WN2F_while_do().
#define ASSERT_DBG_WARN ASSERT_WARN |
Definition at line 288 of file diagnostics.h.
Referenced by INIT2F_Get_Array_Segment(), INIT2F_ptr_or_scalar(), INIT2F_translate(), INITVKIND_translate(), TCON2F_hollerith(), TCON2F_translate(), TY2F_pointer(), WN2F_array(), WN2F_array_bounds(), WN2F_arrsection(), WN2F_arrsection_bounds(), WN2F_call(), WN2F_ceil(), WN2F_floor(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_Get_Next_LoopBoundOp(), WN2F_iloadx(), WN2F_intrinsic_call(), WN2F_io_control(), WN2F_io_format(), WN2F_io_item(), WN2F_io_list(), WN2F_io_unit(), WN2F_istorex(), WN2F_mstore(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), WN2F_select(), WN2F_String_Argument(), and WN2F_Translate_Arithmetic_Operand().
#define ASSERT_FATAL | ( | a_truth, | |
diag_args | |||
) | DIAG_ASSERT_LOC(a_truth, Diag_Fatal, diag_args) |
Definition at line 286 of file diagnostics.h.
Referenced by findEquivFldNm(), TY2F_Translate_ArrayElt(), WN2F_io_control(), WN2F_ios_definefile(), WN2F_pragma(), and WN2F_Translate_DoLoop_Bound().
#define ASSERT_FATAL_SRCPOS | ( | a_truth, | |
diag_args, | |||
wn | |||
) | DIAG_ASSERT_LOC_SRCPOS(a_truth, Diag_Fatal, diag_args, wn) |
Definition at line 282 of file diagnostics.h.
#define ASSERT_WARN | ( | a_truth, | |
diag_args | |||
) | DIAG_ASSERT_LOC(a_truth, Diag_Warning, diag_args) |
Definition at line 284 of file diagnostics.h.
Referenced by Append_Pragma_Clauses(), Emit_To_PUinfo_Pragmas(), Put_Pragma_Start_With_Caveats(), WN2F_Convert(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Function_Call_Lhs(), WN2F_io_control(), WN2F_ios_accept(), WN2F_ios_backspace(), WN2F_ios_close(), WN2F_ios_cr(), WN2F_ios_decode(), WN2F_ios_delete(), WN2F_ios_encode(), WN2F_ios_endfile(), WN2F_ios_find(), WN2F_ios_inqlength(), WN2F_ios_inquire(), WN2F_ios_namelist(), WN2F_ios_open(), WN2F_ios_print(), WN2F_ios_rewind(), WN2F_ios_rewrite(), WN2F_ios_type(), WN2F_ios_unlock(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), WN2F_return(), WN2F_Translate_StringLEN(), and WN2F_unsupported().
#define ASSERT_WARN_SRCPOS | ( | a_truth, | |
diag_args, | |||
wn | |||
) | DIAG_ASSERT_LOC_SRCPOS(a_truth, Diag_Warning, diag_args, wn) |
Definition at line 280 of file diagnostics.h.
#define DIAG_ASSERT_LOC | ( | a_truth, | |
diag_handler, | |||
diag_args | |||
) |
((a_truth) ? \ (void) 1 : \ (Diag_Set_Location(__FILE__, __LINE__), diag_handler diag_args))
Definition at line 312 of file diagnostics.h.
#define DIAG_ASSERT_LOC_SRCPOS | ( | a_truth, | |
diag_handler, | |||
diag_args, | |||
wn | |||
) |
((a_truth) ? \ (void) 1 : \ (Diag_Set_Location(__FILE__, __LINE__), \ Diag_Set_Srcpos(WN_Get_Linenum(wn)), \ diag_handler diag_args))
Definition at line 317 of file diagnostics.h.
#define DIAG_ASSERT_NOLOC | ( | a_truth, | |
diag_handler, | |||
diag_args | |||
) | ((a_truth) ? (void) 1 : diag_handler diag_args) |
Definition at line 324 of file diagnostics.h.
#define DIAG_ASSERT_NOLOC_SRCPOS | ( | a_truth, | |
diag_handler, | |||
diag_args, | |||
wn | |||
) |
((a_truth) ? \ (void) 1 : \ (Diag_Set_Srcpos(WN_Get_Linenum(wn)), \ diag_handler diag_args))
Definition at line 327 of file diagnostics.h.
#define DIAG_USER_SRCPOS | ( | a_truth, | |
diag_handler, | |||
diag_args, | |||
wn | |||
) |
((a_truth) ? \ (void) 1 : \ (Diag_Set_Srcpos(WN_Get_Linenum(wn)), \ diag_handler diag_args))
Definition at line 306 of file diagnostics.h.
#define USER_FATAL | ( | a_truth, | |
diag_args, | |||
wn | |||
) | DIAG_USER_SRCPOS(a_truth, Diag_User_Fatal, diag_args, wn) |
Definition at line 274 of file diagnostics.h.
#define USER_WARNING | ( | a_truth, | |
diag_args, | |||
wn | |||
) | DIAG_USER_SRCPOS(a_truth, Diag_User_Warning, diag_args, wn) |
Definition at line 271 of file diagnostics.h.
enum Diag_Code |
Definition at line 165 of file diagnostics.h.
void Diag_Exit | ( | void | ) |
Definition at line 239 of file diagnostics.cxx.
References Diag_File, and NULL.
Referenced by W2F_Fini().
void Diag_Fatal | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 349 of file diagnostics.cxx.
References Diag_File_Location, Diag_Line_Location, Diag_Msg, Diag_Phase_Name, exit(), and NULL.
void Diag_Fatal_Srcpos | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 442 of file diagnostics.cxx.
References Diag_File_Location, Diag_Line_Location, Diag_Msg, Diag_Phase_Name, Diag_SrcLine_Location, exit(), and NULL.
INT Diag_Get_Warn_Count | ( | void | ) |
Definition at line 298 of file diagnostics.cxx.
References Diag_Warn_Count.
void Diag_Init | ( | void | ) |
Definition at line 74 of file diagnostics.cxx.
References DIAG_A_STRING, DIAG_CANNOT_CLOSE_FILE, DIAG_CANNOT_OPEN_FILE, DIAG_FIRST, DIAG_LAST, Diag_Msg, DIAG_PRP_CANNOT_ASSIGN_OBJECT, DIAG_PRP_CANNOT_HANDLE_CONSTRUCT, DIAG_PRP_DEFINED_MEM_SPACE, DIAG_PRP_EDIT_OUTPUT, DIAG_PRP_EXPECTED_CONSTRAINT, DIAG_PRP_EXPECTED_PURPLE_REGION, DIAG_PRP_FILE_AT_END, DIAG_PRP_FILE_CANNOT_CLOSE, DIAG_PRP_FILE_CANNOT_OPEN, DIAG_PRP_FILE_ERROR, DIAG_PRP_FILE_HEADER_ERROR, DIAG_PRP_FILE_MMAP, DIAG_PRP_FILE_NOT_CLOSED, DIAG_PRP_FILE_NOT_OPEN, DIAG_PRP_FILE_OVERWRITTEN, DIAG_PRP_ICALL, DIAG_PRP_ILLEGAL_SET, DIAG_PRP_INVALID_LEXEME_KIND, DIAG_PRP_INVALID_TRACE_ITEM_KIND, DIAG_PRP_ITEM_INPUT_ERROR, DIAG_PRP_MEM_VALUE, DIAG_PRP_NAME_OVERFLOW, DIAG_PRP_OPTION_ILLEGAL, DIAG_PRP_OPTION_MISSING_SRC, DIAG_PRP_PLACEHOLDER_ERROR, DIAG_PRP_PREG_VALUE, DIAG_PRP_PREREQUISITE_CALL, DIAG_PRP_PROGRAM_MMAP, DIAG_PRP_PU_MMAP, DIAG_PRP_REF_PARAM, DIAG_PRP_RVALUE_ERROR, DIAG_PRP_UNEXPECTED_OPCODE, DIAG_PRP_UNEXPECTED_TYPE, DIAG_PRP_VALUE_SPACE, DIAG_PRP_VARIABLE_DEF, DIAG_UNIMPLEMENTED, DIAG_UNKNOWN_CMD_LINE_OPTION, DIAG_W2C_CANNOT_HANDLE_OPC, DIAG_W2C_EXPECTED_IDNAME, DIAG_W2C_UNEXPECTED_OPC, DIAG_W2F_BUFFER_ERROR, DIAG_W2F_CANNOT_DEREF, DIAG_W2F_CANNOT_HANDLE_OPC, DIAG_W2F_CANNOT_LDA_PREG, DIAG_W2F_DECLARE_RETURN_PARAM, DIAG_W2F_EXPECTED_IDNAME, DIAG_W2F_EXPECTED_PTR, DIAG_W2F_EXPECTED_PTR_TO_CHARACTER, DIAG_W2F_INCOMPATIBLE_TYS, DIAG_W2F_MISPLACED_PRAGMA, DIAG_W2F_NONEXISTENT_FLD_PATH, DIAG_W2F_UNEXPECTED_BTYPE, DIAG_W2F_UNEXPECTED_CALLSITE, DIAG_W2F_UNEXPECTED_CONTEXT, DIAG_W2F_UNEXPECTED_CVT, DIAG_W2F_UNEXPECTED_DOLOOP_BOUNDOP, DIAG_W2F_UNEXPECTED_IMPLIED_DOLOOP, DIAG_W2F_UNEXPECTED_INITV, DIAG_W2F_UNEXPECTED_IOC, DIAG_W2F_UNEXPECTED_IOF, DIAG_W2F_UNEXPECTED_IOL, DIAG_W2F_UNEXPECTED_IOS, DIAG_W2F_UNEXPECTED_IOU, DIAG_W2F_UNEXPECTED_NUM_KIDS, DIAG_W2F_UNEXPECTED_OPC, DIAG_W2F_UNEXPECTED_PRAGMA, DIAG_W2F_UNEXPECTED_RETURNSITE, DIAG_W2F_UNEXPECTED_STORECLASS, DIAG_W2F_UNEXPECTED_SUBSTRING_REF, DIAG_W2F_UNEXPECTED_SYM_CONST, DIAG_W2F_UNEXPECTED_SYMBOL, DIAG_W2F_UNEXPECTED_SYMCLASS, DIAG_W2F_UNEXPECTED_TYPE_KIND, DIAG_W2F_UNEXPECTED_TYPE_SIZE, DIAG_W2F_UNEXPEXTED_NULL_PTR, DIAG_W2F_UNEXPEXTED_OFFSET, DIAG_W2F_UNEXPEXTED_RETURNREG_USE, and Diag_Warn_Count.
Referenced by W2F_Init().
void Diag_Set_File | ( | const char * | filename | ) |
Definition at line 258 of file diagnostics.cxx.
References Diag_File, fprintf(), Is_File(), NULL, Same_File(), Set_Error_File(), and unlink.
void Diag_Set_Location | ( | const char * | file_name, |
INT | line_number | ||
) |
Definition at line 304 of file diagnostics.cxx.
References Diag_File_Location, and Diag_Line_Location.
void Diag_Set_Max_Diags | ( | INT | max_allowed_diags | ) |
Definition at line 292 of file diagnostics.cxx.
References Diag_Max_Diags.
Referenced by W2F_Init().
void Diag_Set_Phase | ( | const char * | phase_name | ) |
Definition at line 250 of file diagnostics.cxx.
References Diag_Phase_Name, Diag_Phase_Name_Len, and Set_Error_Phase().
Referenced by W2F_Init(), W2F_Outfile_Translate_Pu(), W2F_Translate_Wn(), and W2F_Translate_Wn_Str().
void Diag_Set_Srcpos | ( | SRCPOS | srcpos | ) |
Definition at line 311 of file diagnostics.cxx.
References Diag_SrcCol_Location, Diag_SrcLine_Location, USRCPOS_column, USRCPOS_linenum, and USRCPOS_srcpos.
void Diag_User_Fatal | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 391 of file diagnostics.cxx.
References Diag_Msg, Diag_SrcCol_Location, Diag_SrcLine_Location, and exit().
void Diag_User_Warning | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 373 of file diagnostics.cxx.
References Diag_Msg, Diag_SrcCol_Location, and Diag_SrcLine_Location.
void Diag_Warning | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 321 of file diagnostics.cxx.
References Diag_File_Location, Diag_Line_Location, Diag_Max_Diags, Diag_Msg, Diag_Phase_Name, Diag_Warn_Count, and NULL.
void Diag_Warning_Srcpos | ( | DIAG_CODE | code, |
... | |||
) |
Definition at line 410 of file diagnostics.cxx.
References Diag_File_Location, Diag_Line_Location, Diag_Max_Diags, Diag_Msg, Diag_Phase_Name, Diag_SrcLine_Location, Diag_Warn_Count, and NULL.