osprey/common/com/ia64/config_targ.cxx File Reference

#include "defs.h"
#include "config.h"
#include "config_asm.h"
#include "config_debug.h"
#include "config_targ_opt.h"
#include "config_opt.h"
#include "erglob.h"
#include "tracing.h"
#include "mtypes.h"
#include "stab.h"
#include "targ_sim.h"

Include dependency graph for config_targ.cxx:

Go to the source code of this file.

Data Types

type  bnm

Defines

#define FPX_DEF   EXC_ALL
#define IS_POW2(n)   (((n) & ((n)-1))==0)

Functions/Subroutines

char * Abi_Name (TARGET_ABI b)
char * Isa_Name (TARGET_ISA b)
char * Targ_Name (TARGET_PROCESSOR b)
void Preconfigure_Target (void)
static void Prepare_Target (void)
void Configure_Target (void)
void IPA_Configure_Target (void)
void Configure_Source_Target (char *)
BOOL Set_Target_ABI (BOOL is_64bit, INT isa)

Variables

BOOL ARCH_generate_nor = FALSE
BOOL ARCH_mask_shift_counts = FALSE
TARGET_ABI Target_ABI = ABI_UNDEF
TARGET_PROCESSOR Target = TARGET_UNDEF
TARGET_ISA Target_ISA = TARGET_ISA_UNDEF
CLASS_INDEX Spill_Int_Mtype = 0
CLASS_INDEX Spill_Float_Mtype = 0
CLASS_INDEX Max_Int_Mtype = 0
CLASS_INDEX Max_Uint_Mtype = 0
CLASS_INDEX Def_Int_Mtype = 0
CLASS_INDEX Def_Uint_Mtype = 0
BOOL Use_32_Bit_Pointers = FALSE
INT Pointer_Size
CLASS_INDEX Pointer_Mtype
CLASS_INDEX Pointer_Mtype2
TYPE_ID Pointer_type
TYPE_ID Pointer_type2
TYPE_ID Boolean_type
TYPE_ID Boolean_type2
TYPE_ID Integer_type
INT Comparison_Result_Size
CLASS_INDEX Comparison_Result_Mtype
char * AS_ADDRESS
char * AS_ADDRESS_UNALIGNED
BOOL Char_Type_Is_Signed = FALSE
static BOOL Target_int64
INT16 FP_Exception_Enable_Max = FPX_DEF
INT16 FP_Exception_Enable_Min = 0
INT32 Align_Instructions = 0
BOOL Avoid_TFP_blikely_bug = FALSE
BOOL Avoid_TFP_blikely_bug_overridden = FALSE
BOOL Force_IEEE_Comparisons = TRUE
BOOL WHIRL_Return_Val_On = TRUE
BOOL WHIRL_Mldid_Mstid_On = TRUE
BOOL WHIRL_Return_Info_On = TRUE
INT16 Symbolic_Debug_Mode
INT16 Max_Symbolic_Debug_Mode
BOOL Allow_Word_Aligned_Doubles = FALSE
BOOL Generate_Position_Independent_Code = FALSE
BOOL Split_64_Bit_Int_Ops = FALSE
BOOL Split_Quad_Ops = TRUE
BOOL Simulate_32_Bit_Interface = FALSE
BOOL No_Quad_Aligned_Branch = FALSE
BOOL Only_Unsigned_64_Bit_Ops = TRUE
BOOL Has_GP_Groups = FALSE
BOOL Use_Load_Store_Offset = FALSE
static struct bnm bnb [4]
static INT16 bnb_used = 0


Define Documentation

#define FPX_DEF   EXC_ALL

Definition at line 135 of file config_targ.cxx.

#define IS_POW2 ( n   )     (((n) & ((n)-1))==0)


Function Documentation

char* Abi_Name ( TARGET_ABI  b  ) 

Definition at line 277 of file config_targ.cxx.

References ABI_I32, ABI_I64, bnb, bnb_used, bnm::name, r, and sprintf().

void Configure_Source_Target ( char *   ) 

Definition at line 637 of file config_targ.cxx.

Referenced by Configure_Source().

void Configure_Target ( void   ) 

Definition at line 498 of file config_targ.cxx.

Referenced by Configure().

void IPA_Configure_Target ( void   ) 

Definition at line 605 of file config_targ.cxx.

Referenced by IP_set_target(), and sgi_cmd_line().

char* Isa_Name ( TARGET_ISA  b  ) 

void Preconfigure_Target ( void   ) 

Definition at line 333 of file config_targ.cxx.

Referenced by Preconfigure().

static void Prepare_Target ( void   )  [static]

BOOL Set_Target_ABI ( BOOL  is_64bit,
INT  isa 
)

Definition at line 692 of file config_targ.cxx.

Referenced by check_elf_header(), and IPA_LNO_READ_FILE::Check_Elf_Header().

char* Targ_Name ( TARGET_PROCESSOR  b  ) 


Variable Documentation

Definition at line 177 of file config_targ.cxx.

Referenced by Apply_Controls().

Definition at line 81 of file config_targ.cxx.

Referenced by simp_not().

Definition at line 82 of file config_targ.cxx.

Referenced by cwh_expr_binop_shift(), cwh_generate_bitmask(), and simp_shift().

char* AS_ADDRESS

Definition at line 125 of file config_targ.cxx.

Definition at line 126 of file config_targ.cxx.

Definition at line 140 of file config_targ.cxx.

Definition at line 141 of file config_targ.cxx.

struct bnm bnb[4] [static]

Referenced by Abi_Name(), Isa_Name(), and Targ_Name().

INT16 bnb_used = 0 [static]

Definition at line 273 of file config_targ.cxx.

Referenced by Abi_Name(), Isa_Name(), and Targ_Name().

Definition at line 114 of file config_targ.cxx.

Referenced by Add_Condition(), Atomic_Using_Swap(), Configure_Target(), Copy_Array(), Copy_Array_Section(), Create_Initialize_Loop(), Create_Io_Entry(), ARA_LOOP_INFO::Create_New_IF_Clause(), ARA_LOOP_INFO::Create_Old_IF_Clause(), cwh_io_split_io_items(), Emit_Cleanup(), Extended_Lower_Bound(), Extended_Upper_Bound(), Generate_Blkcyc_Bounds(), Generate_Block_Bounds(), Generate_Block_Bounds_Negative(), Generate_Cyclic_Bounds(), Generate_Guard_Test(), Generate_Interleaved_Bounds(), generate_tree_from_bounds_info_row(), HMB_Add_Guard_Condition(), HMB_Compound_Guard_Test(), Initialize_Pdo_Last_Local_Index(), IPA_Configure_Target(), lower_bit_field_id(), lower_io_items(), GOTO_TABLE::Move_Goto_Out(), Mp_Nested_Last_Thread(), Mp_Version_Loop(), Mp_Version_Parallel_Region(), Parallelize_Doacross_Loop(), Perform_Gather_Scatter(), Post_loop_peeling(), Read_Pragma_Thread_Affinity(), Replace_Equality_Check(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_While(), GOTO_TABLE::Replace_Goto_With_While(), Rewrite_Bounds(), SNL_GEN_2D_Regtile(), SNL_GEN_Protect_Nest_With_Conditionals(), SNL_Peel_Iteration(), SNL_TRANS_INDEX_DATA::SNL_TRANS_INDEX_DATA(), PF_LOOPNODE::Split_Loops(), Thread_Affinity_Lower(), U64_LOWER_expr(), U64_LOWER_stmt_wn(), U64_lower_stmtrep(), UT_Generate_Imperfect_If_Code(), Version_Loop(), Version_Region(), WFE_Expand_Exit_Loop_If_False(), WFE_Expand_Expr(), WFE_Expand_If(), WFE_Expand_Loop(), WFE_Expand_Start_Cond(), WGEN_Expand_Expr(), WGEN_Expand_If(), WGEN_Expand_Loop(), and WN_Relational().

Definition at line 115 of file config_targ.cxx.

Referenced by Configure_Target(), and IPA_Configure_Target().

Definition at line 129 of file config_targ.cxx.

Definition at line 120 of file config_targ.cxx.

Referenced by Make_Comparison_Result_Const().

Definition at line 119 of file config_targ.cxx.

Definition at line 101 of file config_targ.cxx.

Referenced by Configure_Target().

Definition at line 144 of file config_targ.cxx.

INT16 FP_Exception_Enable_Max = FPX_DEF

Definition at line 136 of file config_targ.cxx.

Referenced by Configure_Source(), Configure_Source_Target(), and Em_Options_Scn().

Definition at line 137 of file config_targ.cxx.

Referenced by Configure_Source_Target(), and Em_Options_Scn().

Definition at line 180 of file config_targ.cxx.

Definition at line 197 of file config_targ.cxx.

Referenced by EMT_Begin_File().

Definition at line 98 of file config_targ.cxx.

Referenced by Configure_Target(), and lower_bit_field_id().

Definition at line 166 of file config_targ.cxx.

Referenced by Apply_Routine_Scope_Controls().

Definition at line 192 of file config_targ.cxx.

Referenced by Process_Command_Line().

Definition at line 108 of file config_targ.cxx.

Referenced by AGGINIT::Add_Inito_For_Tree(), Add_Inito_For_Tree(), add_offset(), address_of(), Adjust_Addr_TNs(), Adjust_Alloca_Code(), Adjust_Entry(), Adjust_Exit(), Adjust_GP_Entry(), arrsection_to_array(), Calc_Actual_Area(), Configure_Target(), convert_to_reference(), Copy_Struct(), Create_MicroTask(), create_pointer_to_node(), Create_ST_For_Tree(), Create_Unroll_Copy(), 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_substr_util(), cwh_do_tranformational(), cwh_dope_from_expression(), cwh_expr_address(), cwh_expr_temp(), 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(), CYG_Initialize_for_PU(), EBO_Can_Merge_Into_Offset(), EETARG_Call_Mcount(), EETARG_Generate_PIC_Entry_Code(), emit_barrier(), Exp_Call(), Exp_Intrinsic_Call(), Exp_Ldst(), Exp_Prefetch(), Exp_Simulated_Op(), Expand_Lda(), Expand_Lda_Label(), Expand_Load(), Expand_Store(), F90_Lower_Alloc_Dealloc(), fei_addr(), fei_alloc(), fei_allocate(), fei_dv_deref(), fei_fcd(), fei_free(), fei_malloc(), fei_present(), fei_store(), Finalize_Stack_Frame(), Fix_TY_mtype(), Gen_Assign_Of_Init_Val(), Generate_Barriers(), Generate_cyg_profile_func(), Generate_Entry(), Generate_Exit(), Get_Altentry_UpFormal_Symbol(), Get_KeyStruct_ST(), Get_UnitPointer_ST(), Handle_ALLOCA(), Handle_DEALLOCA(), Init_fioruntime_ty(), Initialize_Stack_Frame(), IPA_Configure_Target(), IPA_Rename_Builtins(), lower_bit_field_id(), lower_char(), lower_io_statement(), lower_maxminloc(), lower_mldid(), Make_IoStruct_TY(), Make_MPRuntime_ST(), make_ptr_type(), update_pointer_map::operator()(), Save_And_Restore_Stack(), SE_Symbols_For_SE(), Setup_Entry_For_EH(), Simd_Align_Load_Store(), ST2F_Declare_Tempvar(), TLS_init(), Traverse_Aggregate_Pad(), AGGINIT::Traverse_Aggregate_Pad(), TY2F_pointer(), TY_Verify_Kind_Mtype(), vho_lower_cselect(), vho_lower_icall(), WFE_Address_Of(), WFE_Alloca_0(), WFE_Alloca_ST(), WFE_Array_Expr(), WFE_Dealloca(), Wfe_Expand_Asm_Operands(), WFE_Expand_Expr(), WFE_Expand_Return(), WFE_Generate_Temp_For_Initialized_Aggregate(), WFE_Initialize_Decl(), WFE_Lhs_Of_Modify_Expr(), WFE_maybe_call_copy_ctor(), WFE_maybe_call_default_ctor(), WGEN_Address_Of(), WGEN_Alloca_0(), WGEN_Alloca_ST(), WGEN_Array_Expr(), WGEN_Dealloca(), Wgen_Expand_Asm_Operands(), WGEN_Expand_Expr(), WGEN_Expand_Ptr_To_Member_Func_Call_Expr(), WGEN_Expand_Return(), WGEN_Generate_Temp_For_Initialized_Aggregate(), WGEN_Initialize_Decl(), WGEN_Lhs_Of_Modify_Expr(), WGEN_maybe_call_assignment_opr(), WGEN_maybe_call_copy_ctor(), WGEN_maybe_call_default_ctor(), WGEN_Process_Initialization(), WN2C_array(), WN_CreateAlloca(), and WN_Tree_Type().

Definition at line 109 of file config_targ.cxx.

Referenced by Configure_Target(), and IPA_Configure_Target().

Definition at line 107 of file config_targ.cxx.

Referenced by Add_Initv_For_Tree(), Add_To_Iolist(), Adjust_GP_Entry(), ALIAS_CLASSIFICATION::Assignment_may_xfer_pointer(), Calculate_Array_Size(), Configure_Target(), Convert_Alloca_To_Intrinsic(), Convert_Dealloca_To_Intrinsic(), Create_Io_Entry(), Create_MicroTask(), Create_Null_Call(), Create_Special_Global_Symbols(), Create_TY_For_Tree(), Create_Unroll_Copy(), 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(), Exp_Intrinsic_Call(), Exp_Ldst(), Expand_Convert_Length(), Expand_New_Call_To_OPs(), ALIAS_CLASSIFICATION::Expr_may_contain_pointer(), MEM_ACCESS_ANALYZER::Expr_of_ptr_ty(), F90_Lower_Init(), fei_allocate(), fei_count(), fei_malloc(), fei_mfree(), Find_Ty_Pointer(), Find_virtual_function(), Gen_Auto_Alloca(), Gen_Free_Cart(), Gen_Impld_Io_Calls(), Gen_Io_GetFieldST(), Gen_Io_GetFieldWN(), Gen_Io_PutAddrWN(), Gen_Io_PutFieldConst(), Gen_Io_PutFieldST(), Gen_Io_PutFieldWN(), Gen_Label_TN(), Gen_Malloc_Cart(), Gen_Restore_Stack_Pointer(), Gen_Save_Stack_Pointer(), Gen_Symbol_TN(), Gen_Tag_TN(), Generate_Entry(), Generate_Exit(), Get_Expansion_Space(), Get_INITV_Size(), Get_IoStruct_ST(), Get_KeyStruct_ST(), Get_Opnd_Reg(), get_TCON_size(), Get_UnitPointer_ST(), Handle_ALLOCA(), Handle_Call_Site(), Handle_DEALLOCA(), Init_Callee_Saved_Regs_for_REGION(), Init_fioruntime_ty(), Insert_Alloca(), IPA_Configure_Target(), IPO_Fld_Table_Update_For_Struct_Opt(), Localize_Variable(), ARRAY_LOWER_REF::Lower_Array_Expr(), lower_bit_field_id(), lower_cray_io_items(), lower_f77_io_items(), lower_f77_record_items(), lower_io_statement(), lower_maxminloc(), make_dope_vector_ty(), Make_IoAddr_WN(), Make_IoStruct_TY(), Make_MPRuntime_ST(), make_ptr_type(), Move_Alloca(), New_DACT(), CIO_RWTRAN::Predicate_Write(), IPO_INLINE::Process_Alloca_Postamble(), IPO_INLINE::Process_Alloca_Preamble(), Process_Bss_Data(), SE_Symbols_For_SE(), Section_Variable_TY(), sgi_cmd_line(), Simd_Align_Load_Store(), ST_For_Range_Table(), TY_Verify_Kind_Mtype(), TY::Verify(), Vintrinsic_Fission(), WFE_Add_Aggregate_Init_Address(), and AGGINIT::WGEN_Add_Aggregate_Init_Address().

Definition at line 112 of file config_targ.cxx.

Referenced by Actual_data_size(), CODEMAP::Add_expr(), add_to_base(), Atomic_Direct(), Atomic_Using_Swap(), CODEMAP::Canon_base(), CG_Instrument_Arcs(), Configure_Target(), Convert_Alloca_To_Intrinsic(), Convert_Dealloca_To_Intrinsic(), DISTR_ARRAY::Convert_Expr_To_Symbol(), Copy_Array(), Copy_Array_Section(), OPT_STAB::Count_syms(), Create_Array_Load(), Create_Array_Store(), Create_Copy_Expr_For_Ptr(), Create_Initialize_Loop(), Create_Io_Entry(), create_lda_of_temp(), Create_MemTools_Load(), Create_MemTools_MakeGlobal(), Create_MemTools_MakeLocal(), Create_MemTools_RemoveLocal(), Create_MemTools_Store(), Create_MicroTask(), create_pointer_to_node(), Create_Slink_Symbol(), Create_Tmp_Array(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_ioitem(), cwh_io_split_io_items(), DISTR_INFO::DART_Ldid(), DISTR_INFO::DART_Stid(), DISTR_INFO::DISTR_INFO(), DRA_EC_Array_Portion_Parms(), EC_Array_Portion_Calls(), em_alloca(), emulate_intrinsic_op(), STMTREP::Enter_lhs(), STMTREP::Enter_rhs(), Evaluate_value(), extract_calls(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_To_ATemp(), F90_Lower_Copy_To_STemp(), F90_Lower_Create_Temp(), F90_Lower_Init(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Fold_Offset(), Gather_Scatter_Scalar_Expand(), Gen_Alloc_DART(), Gen_Alloc_Reshape(), Gen_Auto_Alloca(), Gen_Call_Array(), Gen_Call_Array_Arg(), Gen_Call_Array_Cart(), Gen_Call_Array_Dart_Args(), Gen_Compare_DARTS(), Gen_Critical(), Gen_Dealloc_DART(), Gen_End_Critical(), Gen_Flush(), Gen_Fork(), Gen_Free_Cart(), Gen_Init_DART(), Gen_Io_Calls(), Gen_LDA(), Gen_Lookup_DART(), Gen_Malloc_Cart(), Gen_MP_Copyin(), Gen_MP_Load_Store(), Gen_MP_Reduction(), Gen_Restore_Stack_Pointer(), Gen_Save_Stack_Pointer(), Generate_Dynamic_Bounds(), Generate_Runtime_Cyclic_Bounds(), Generate_Simple_Bounds(), Get_Expansion_Space(), Init_Special_Lego_Mp_Call(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Compgoto(), WN_INSTRUMENT_WALKER::Initialize_Instrumenter_Switch(), Initialize_Pdo_Last_Local_Index(), Insert_Alloca(), Instrument_Address(), WN_INSTRUMENT_WALKER::Instrument_Call(), intrinsic_runtime(), IPA_Configure_Target(), Lego_Fix_Local_Rec(), DISTR_INFO::Load_Distr_Array(), Load_Distr_Array(), DISTR_INFO::Load_New_Distr_Array(), Localize_Variable(), ARRAY_LOWER_REF::Lower_Array_Expr(), ARRAY_LOWER_REF::Lower_Array_Param(), lower_base_reference(), lower_bit_field_id(), lower_complex_expr(), lower_cray_io_items(), lower_cshift(), lower_dereference(), lower_eoshift(), lower_io_items(), lower_io_statement(), lower_maxminloc(), lower_merge(), lower_mp(), lower_quad_expr(), lower_record_items(), Lower_Single_Array_Dim(), lower_unpack(), make_dope_vector_ty(), make_pointer_to_node(), BITWISE_DCE::Mark_stmt_live(), BITWISE_DCE::Mark_tree_bits_live(), Mp_Coordinate_Call(), Mp_Layout_Call(), New_DACT(), RVI_NODE::New_home_wn(), Numprocs(), Operand_type(), Parallelize_Doacross_Loop(), Points_To_For_Array_Star(), CIO_RWTRAN::Predicate_Write(), IPO_INLINE::Process_Alloca_Postamble(), IPO_INLINE::Process_Alloca_Preamble(), process_concatexpr(), SUMMARIZE< program >::Process_constant_jump_function(), IPO_INLINE::Process_Copy_In(), Promote_Pointer(), COPYPROP::Prop_const_init_scalar(), WN_INSTRUMENT_WALKER::PU_Handle(), Read_Pragma_Page_Place(), Rename_Privatized_COMMON(), Replace_Formal_By_LDA(), Rewrite_Structs_In_MPRegion(), CODEREP::Rvi_home_wn(), Scalar_Expand(), SE_Array(), SE_Indxs_and_Bounds(), SE_Symbols_For_SE(), SE_Wrap_Array(), VN_MEMLOC_EXPR::simplify(), sub_from_base(), Substitute_Array(), Transform_Do(), WN_INSTRUMENT_WALKER::Tree_Walk(), Walk_and_Localize(), WN_CreateAgoto(), WN_IloadLdid(), WN_INSTRUMENT_WALKER::WN_INSTRUMENT_WALKER(), and WN_LdaString().

Definition at line 113 of file config_targ.cxx.

Referenced by Configure_Target(), and IPA_Configure_Target().

Definition at line 189 of file config_targ.cxx.

Definition at line 186 of file config_targ.cxx.

Referenced by Configure_Target().

Definition at line 165 of file config_targ.cxx.

Referenced by Apply_Routine_Scope_Controls(), and Configure_Source().

TARGET_PROCESSOR Target = TARGET_UNDEF

TARGET_ABI Target_ABI = ABI_UNDEF

BOOL Target_int64 [static]

Definition at line 132 of file config_targ.cxx.

Referenced by Configure_Target(), and Prepare_Target().

TARGET_ISA Target_ISA = TARGET_ISA_UNDEF

Definition at line 149 of file config_targ.cxx.

Definition at line 150 of file config_targ.cxx.

Definition at line 148 of file config_targ.cxx.


Generated on Wed Apr 8 14:38:50 2009 for Open64 by  doxygen 1.5.6