Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "x_string.h"
#include "defs.h"
#include "config.h"
#include "config_asm.h"
#include "config_debug.h"
#include "config_targ2.h"
#include "config_opt.h"
#include "erglob.h"
#include "tracing.h"
#include "mtypes.h"
#include "stab.h"
#include "targ_sim.h"
Go to the source code of this file.
Definition at line 132 of file config_targ.cxx.
#define IS_POW2 | ( | n | ) | (((n) & ((n)-1))==0) |
void Configure_Source_Target | ( | char * | ) |
Definition at line 621 of file config_targ.cxx.
References DEBUG_Trap_Uv, FALSE, FP_Exception_Enable_Max, FP_Exception_Enable_Min, FP_Excp_Max, FP_Excp_Min, FPX_I, FPX_O, FPX_U, FPX_V, FPX_Z, Gen_PIC_Call_Shared, Indexed_Loads_Allowed, Kernel_Code, NULL, and Zeroinit_in_bss.
Referenced by Configure_Source().
void Configure_Target | ( | void | ) |
Definition at line 483 of file config_targ.cxx.
References Aggregate_Alignment, Align_Instructions, Align_Object, AS_ADDRESS, AS_ADDRESS_UNALIGNED, AS_DWORD, AS_DWORD_UNALIGNED, AS_WORD, Boolean_type, Boolean_type2, Def_Int_Mtype, Def_Uint_Mtype, FALSE, FmtAssert, Gen_PIC_Calls, GP_Is_Preserved, Host_Byte_Sex, Init_Targ_Sim(), Integer_type, IS_POW2, Max_Int_Mtype, Max_Uint_Mtype, MTYPE_A4, MTYPE_A8, MTYPE_F16, MTYPE_I4, MTYPE_I8, MTYPE_U4, MTYPE_U8, OPT_unroll_times, OPT_unroll_times_overridden, Pointer_Mtype, Pointer_Mtype2, Pointer_Size, Pointer_type, Pointer_type2, Prepare_Target(), Same_Byte_Sex, Spill_Float_Mtype, Spill_Int_Mtype, Split_64_Bit_Int_Ops, Split_Quad_Ops, Target_Byte_Sex, Target_int64, Target_ISA, TARGET_ITANIUM, TRUE, Use_32_Bit_Pointers, and WHIRL_Mtype_A_On.
Referenced by Configure().
void IPA_Configure_Target | ( | void | ) |
Definition at line 589 of file config_targ.cxx.
References ABI_I32, Boolean_type, Boolean_type2, Integer_type, MTYPE_A4, MTYPE_A8, MTYPE_I4, MTYPE_U4, MTYPE_U8, Pointer_Mtype, Pointer_Mtype2, Pointer_Size, Pointer_type, Pointer_type2, Target_ABI, and WHIRL_Mtype_A_On.
Referenced by sgi_cmd_line().
char* Isa_Name | ( | TARGET_ISA | b | ) |
Definition at line 291 of file config_targ.cxx.
References bnb, bnb_used, and bnm::name.
Referenced by Initialize_Targ_Info(), List_Compile_Options(), and Prepare_Target().
void Preconfigure_Target | ( | void | ) |
Definition at line 329 of file config_targ.cxx.
Referenced by Preconfigure().
static void Prepare_Target | ( | void | ) | [static] |
Definition at line 354 of file config_targ.cxx.
References ABI_I32, ABI_I64, ABI_Name, EC_FPR_16, EC_FPR_32, EC_Incons_TARG, EC_Inv_FPRs, EC_Inv_TARG, ErrMsg(), ISA_Name, Isa_Name(), NULL, Processor_Name, Targ_Name(), Target, Target_ABI, Target_FPRs, Target_int64, Target_ISA, TARGET_ISA_I1, TARGET_ISA_UNDEF, TARGET_ITANIUM, TARGET_UNDEF, TRUE, Use_32_Bit_Pointers, and ux_strcasecmp().
Referenced by Configure_Target().
BOOL Set_Target_ABI | ( | BOOL | is_64bit, |
INT | isa | ||
) |
Definition at line 676 of file config_targ.cxx.
References ABI_I32, ABI_I64, ABI_UNDEF, FALSE, Target_ABI, Target_ISA, TARGET_ISA_I1, TARGET_ISA_UNDEF, and TRUE.
Referenced by check_elf_header().
char* Targ_Name | ( | TARGET_PROCESSOR | b | ) |
Definition at line 305 of file config_targ.cxx.
References bnb, bnb_used, bnm::name, and TARGET_ITANIUM.
Referenced by Initialize_Targ_Info(), List_Compile_Options(), and Prepare_Target().
Definition at line 136 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 174 of file config_targ.cxx.
Definition at line 78 of file config_targ.cxx.
Referenced by simp_not().
Definition at line 79 of file config_targ.cxx.
Referenced by cwh_expr_binop_shift(), and simp_shift().
char* AS_ADDRESS |
Definition at line 122 of file config_targ.cxx.
Referenced by Configure_Target().
char* AS_ADDRESS_UNALIGNED |
Definition at line 123 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 137 of file config_targ.cxx.
Definition at line 138 of file config_targ.cxx.
Referenced by Isa_Name(), and Targ_Name().
Definition at line 270 of file config_targ.cxx.
Referenced by Isa_Name(), and Targ_Name().
Definition at line 111 of file config_targ.cxx.
Referenced by Configure_Target(), cwh_io_split_io_items(), IPA_Configure_Target(), U64_LOWER_expr(), and WN_Relational().
Definition at line 112 of file config_targ.cxx.
Referenced by Configure_Target(), and IPA_Configure_Target().
Definition at line 126 of file config_targ.cxx.
Definition at line 117 of file config_targ.cxx.
Definition at line 116 of file config_targ.cxx.
Definition at line 97 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 98 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 141 of file config_targ.cxx.
Referenced by cancel_in_relop(), simp_bxor(), simp_div(), simp_eq_neq(), simp_not(), and simp_relop().
Definition at line 133 of file config_targ.cxx.
Referenced by Configure_Source(), and Configure_Source_Target().
Definition at line 134 of file config_targ.cxx.
Referenced by Configure_Source_Target().
Definition at line 177 of file config_targ.cxx.
Definition at line 194 of file config_targ.cxx.
Definition at line 113 of file config_targ.cxx.
Referenced by Configure_Target(), Initialize_Upc_Types(), IPA_Configure_Target(), Promoted_Parm_Type(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), and WN_Create_Shared_Store().
Definition at line 95 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 163 of file config_targ.cxx.
Referenced by Apply_Routine_Scope_Controls().
Definition at line 96 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 189 of file config_targ.cxx.
Definition at line 192 of file config_targ.cxx.
Referenced by Do_WOPT_and_CG_with_Regions().
Definition at line 105 of file config_targ.cxx.
Referenced by arrsection_to_array(), Configure_Target(), cwh_addr_address_ST(), cwh_addr_iload(), cwh_addr_insert_bounds_check(), cwh_addr_istore(), cwh_addr_lda(), cwh_addr_ldid(), cwh_addr_mload(), cwh_addr_mstore(), cwh_addr_pstore(), cwh_addr_substr_util(), cwh_do_tranformational(), cwh_dope_from_expression(), cwh_expr_address(), cwh_inline_allocate(), cwh_intrin_wrap_ref_parm(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_types_mk_basic_TY(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_unique_pointer_TY(), fei_addr(), fei_alloc(), fei_allocate(), fei_dv_deref(), fei_fcd(), fei_free(), fei_malloc(), fei_nullify(), fei_present(), fei_pstore(), fei_store(), Get_Altentry_UpFormal_Symbol(), Initialize_Stack_Frame(), IPA_Configure_Target(), make_ptr_type(), update_pointer_map::operator()(), SIMPNODE_SimplifyExp2_h(), Spill_And_Take_Address(), ST2F_Declare_Tempvar(), TY2F_pointer(), TY_Verify_Kind_Mtype(), WN2C_Function_Call_Lhs(), WN_Convert_Shared_To_Local(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_CreateAlloca(), WN_SetNull_Sptr(), and WN_Tree_Type().
Definition at line 106 of file config_targ.cxx.
Referenced by Configure_Target(), and IPA_Configure_Target().
Definition at line 104 of file config_targ.cxx.
Referenced by Configure_Target(), Create_Special_Global_Symbols(), cwh_addr_init_target(), cwh_dst_dope_type(), cwh_dst_mk_dope_bound(), cwh_types_dim_struct_TY(), cwh_types_dim_TY(), cwh_types_dope_TY(), cwh_types_init_target(), cwh_types_mk_basic_TY(), cwh_types_mk_dope_invariant_TY(), cwh_types_mk_f90_pointer_ty(), cwh_types_mk_unique_pointer_TY(), cwh_types_shared_dope(), fei_allocate(), fei_count(), fei_malloc(), fei_mfree(), Find_Ty_Pointer(), Gen_Free_Cart(), Gen_Malloc_Cart(), Get_INITV_Size(), get_TCON_size(), Insert_Alloca(), IPA_Configure_Target(), make_ptr_type(), sgi_cmd_line(), TY_Verify_Kind_Mtype(), and TY::Verify().
Definition at line 109 of file config_targ.cxx.
Referenced by Actual_data_size(), Configure_Target(), Create_Slink_Symbol(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_ioitem(), cwh_io_split_io_items(), DRA_EC_Array_Portion_Parms(), Gen_Call_Array(), Gen_Free_Cart(), Gen_Malloc_Cart(), Initialize_Upc_Types(), Insert_Alloca(), IPA_Configure_Target(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), Rewrite_Structs_In_MPRegion(), Shared_Load_Extend_Mtyp(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_CreateAgoto(), WN_IloadLdid(), and WN_LdaString().
Definition at line 110 of file config_targ.cxx.
Referenced by Configure_Target(), and IPA_Configure_Target().
Definition at line 186 of file config_targ.cxx.
Definition at line 90 of file config_targ.cxx.
Referenced by Configure_Target(), Create_Special_Global_Symbols(), and Initialize_Special_Global_Symbols().
Definition at line 89 of file config_targ.cxx.
Referenced by Add_Object_To_Frame_Segment(), Adjusted_Alignment(), Calc_Actual_Area(), Calculate_Stack_Frame_Sizes(), Configure_Target(), Create_Special_Global_Symbols(), Initialize_Special_Global_Symbols(), Initialize_Stack_Frame(), Max_Arg_Area_Bytes(), and Preg_Increment().
Definition at line 180 of file config_targ.cxx.
Referenced by Configure_Target(), simp_cvtl(), and SIMPNODE_ConstantFold1().
Definition at line 183 of file config_targ.cxx.
Referenced by Configure_Target().
Definition at line 162 of file config_targ.cxx.
Referenced by Apply_Routine_Scope_Controls(), and Configure_Source().
Definition at line 83 of file config_targ.cxx.
Referenced by Copy_Quantum_Ratio(), Divide_Limit(), Fill_Align_Initialize_Parameters(), MHD::Initialize(), Initialize_Targ_Info(), List_Compile_Options(), Multiply_Limit(), and Prepare_Target().
Definition at line 82 of file config_targ.cxx.
Referenced by check_elf_header(), Initialize_Targ_Info(), IPA_Configure_Target(), Prepare_Target(), and Set_Target_ABI().
BOOL Target_int64 [static] |
Definition at line 129 of file config_targ.cxx.
Referenced by Configure_Target(), and Prepare_Target().
Definition at line 84 of file config_targ.cxx.
Referenced by Configure_Target(), Initialize_Targ_Info(), List_Compile_Options(), Prepare_Target(), Set_Target_ABI(), and write_output().
Definition at line 101 of file config_targ.cxx.
Referenced by Configure_Target(), List_Compile_Options(), Prepare_Target(), WN_close_output(), WN_open_output(), and write_output().
Definition at line 199 of file config_targ.cxx.
Definition at line 146 of file config_targ.cxx.
Referenced by Backend_Processing(), cwh_addr_use_mstid_mldid(), Is_Valid_Opcode_Parts(), and main().
Definition at line 147 of file config_targ.cxx.
Referenced by cwh_stmt_call_helper(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), Find_Return_Registers(), WN_Verifier::Is_return_register_of_call(), and PUinfo_Get_ReturnPreg().
Definition at line 145 of file config_targ.cxx.
Referenced by Backend_Processing(), cwh_stmt_call_helper(), cwh_stmt_return_altentry(), cwh_stmt_return_scalar(), and fei_return().