Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
config_targ.h File Reference
#include "mtypes.h"
Include dependency graph for config_targ.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define Is_Target_Itanium()   (Target==TARGET_ITANIUM)
#define Is_Target_ISA_I1()   (Target_ISA==TARGET_ISA_I1)
#define Is_Target_ISA_I1Plus()   (Target_ISA >= TARGET_ISA_I1)
#define IEEE_FP_FORMAT   TRUE
#define IBM_FP_FORMAT   FALSE
#define MAX_64BITS_OBJECT_SIZE   0x000000ffffffffffULL /* 40 bits */
#define MAX_32BITS_OBJECT_SIZE   0x000000007fffffffULL /* 31 bits */
#define MAX_LABEL_SYMVAL   0x03fffff0
#define MAX_FUNC_SYMVAL   0x03fffff0
#define DEFAULT_GSPACE   0x3fffff
#define FPX_I   0x01 /* IEEE-754 inexact exception */
#define FPX_U   0x02 /* IEEE-754 underflow exception */
#define FPX_O   0x04 /* IEEE-754 overflow exception */
#define FPX_Z   0x08 /* IEEE-754 zero divide exception */
#define FPX_V   0x10 /* IEEE-754 invalid operation exception */
#define FPX_ALL   0x1f /* All the IEEE-754 exceptions */
#define EXC_ALL   0x1f /* All the exceptions */
#define SDM_NONE   0x00 /* No information */
#define SDM_LINE   0x01 /* Line numbers */
#define SDM_SYMBOL   0x02 /* Symbol table information */
#define SDM_SEQLINE   0x04 /* Force sequentail line numbers */
#define SDM_GEN_FP   0x08 /* Save/restore of fp for sdb */
#define SDM_USE_FP   0x10 /* Use fp for sdb definitions */
#define Want_Line_Debugging   (Symbolic_Debug_Mode & SDM_LINE)
#define Want_Sequential_Line_Debugging   (Symbolic_Debug_Mode & SDM_SEQLINE)
#define Want_Symbol_Debugging   (Symbolic_Debug_Mode & SDM_SYMBOL)
#define Want_Any_Debugging   (Symbolic_Debug_Mode &(SDM_LINE|SDM_SEQLINE|SDM_SYMBOL))
#define Gen_Frame_Ptr   (Symbolic_Debug_Mode & SDM_GEN_FP)
#define Set_Gen_Frame_Ptr
#define Use_Frame_Ptr_For_Sdb   (Symbolic_Debug_Mode & SDM_USE_FP)
#define Set_Use_Frame_Ptr_For_Sdb
#define FORCE_NOOPS   FALSE
#define ARCH_recip_is_exact   TRUE
#define ARCH_has_bit_tests   TRUE
#define DEFAULT_KEEP_CVT   TRUE

Enumerations

enum  TARGET_ABI { ABI_UNDEF, ABI_I32, ABI_I64 }
enum  TARGET_PROCESSOR { TARGET_UNDEF, TARGET_ITANIUM }
enum  TARGET_ISA { TARGET_ISA_UNDEF, TARGET_ISA_I1 }

Functions

char * Targ_Name (TARGET_PROCESSOR target)
char * Isa_Name (TARGET_ISA target_isa)
void Preconfigure_Target (void)
void Configure_Target (void)
void IPA_Configure_Target (void)
void Configure_Source_Target (char *filename)
BOOL Set_Target_ABI (BOOL is_64bit, INT isa)

Variables

TARGET_ABI Target_ABI
TARGET_PROCESSOR Target
TARGET_ISA Target_ISA
CLASS_INDEX Spill_Int_Mtype
CLASS_INDEX Spill_Float_Mtype
CLASS_INDEX Max_Int_Mtype
CLASS_INDEX Max_Uint_Mtype
CLASS_INDEX Def_Int_Mtype
CLASS_INDEX Def_Uint_Mtype
BOOL Use_32_Bit_Pointers
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
INT16 FP_Exception_Enable_Max
INT16 FP_Exception_Enable_Min
BOOL Char_Type_Is_Signed
INT16 Symbolic_Debug_Mode
INT16 Max_Symbolic_Debug_Mode
BOOL Allow_Word_Aligned_Doubles
BOOL Generate_Position_Independent_Code
BOOL Split_64_Bit_Int_Ops
BOOL Split_Quad_Ops
BOOL Simulate_32_Bit_Interface
BOOL No_Quad_Aligned_Branch
BOOL Only_Unsigned_64_Bit_Ops
INT32 Align_Instructions
BOOL Eager_Bottom_Load
BOOL Eager_Ptr_Deref
BOOL Eager_Null_Ptr_Deref
BOOL Has_GP_Groups
BOOL Use_Load_Store_Offset
BOOL ARCH_mask_shift_counts
BOOL ARCH_generate_nor

Define Documentation

#define ARCH_has_bit_tests   TRUE

Definition at line 371 of file config_targ.h.

Referenced by simp_eq_neq().

#define ARCH_recip_is_exact   TRUE

Definition at line 370 of file config_targ.h.

Referenced by Configure_Source().

#define DEFAULT_GSPACE   0x3fffff

Definition at line 212 of file config_targ.h.

#define DEFAULT_KEEP_CVT   TRUE

Definition at line 374 of file config_targ.h.

#define EXC_ALL   0x1f /* All the exceptions */

Definition at line 233 of file config_targ.h.

#define FORCE_NOOPS   FALSE

Definition at line 303 of file config_targ.h.

#define FPX_ALL   0x1f /* All the IEEE-754 exceptions */

Definition at line 232 of file config_targ.h.

#define FPX_I   0x01 /* IEEE-754 inexact exception */

Definition at line 227 of file config_targ.h.

Referenced by Configure_Source(), and Configure_Source_Target().

#define FPX_O   0x04 /* IEEE-754 overflow exception */

Definition at line 229 of file config_targ.h.

Referenced by Configure_Source(), and Configure_Source_Target().

#define FPX_U   0x02 /* IEEE-754 underflow exception */

Definition at line 228 of file config_targ.h.

Referenced by Configure_Source(), and Configure_Source_Target().

#define FPX_V   0x10 /* IEEE-754 invalid operation exception */

Definition at line 231 of file config_targ.h.

Referenced by Configure_Source(), and Configure_Source_Target().

#define FPX_Z   0x08 /* IEEE-754 zero divide exception */

Definition at line 230 of file config_targ.h.

Referenced by Configure_Source(), and Configure_Source_Target().

Definition at line 267 of file config_targ.h.

#define IBM_FP_FORMAT   FALSE

Definition at line 147 of file config_targ.h.

#define IEEE_FP_FORMAT   TRUE

Definition at line 146 of file config_targ.h.

Definition at line 141 of file config_targ.h.

Definition at line 143 of file config_targ.h.

#define Is_Target_Itanium ( )    (Target==TARGET_ITANIUM)

Definition at line 124 of file config_targ.h.

#define MAX_32BITS_OBJECT_SIZE   0x000000007fffffffULL /* 31 bits */

Definition at line 195 of file config_targ.h.

#define MAX_64BITS_OBJECT_SIZE   0x000000ffffffffffULL /* 40 bits */

Definition at line 194 of file config_targ.h.

#define MAX_FUNC_SYMVAL   0x03fffff0

Definition at line 209 of file config_targ.h.

#define MAX_LABEL_SYMVAL   0x03fffff0

Definition at line 208 of file config_targ.h.

#define SDM_GEN_FP   0x08 /* Save/restore of fp for sdb */

Definition at line 257 of file config_targ.h.

Referenced by Apply_Routine_Scope_Controls().

#define SDM_LINE   0x01 /* Line numbers */

Definition at line 254 of file config_targ.h.

Referenced by Apply_Routine_Scope_Controls(), and Configure_Source().

#define SDM_NONE   0x00 /* No information */

Definition at line 253 of file config_targ.h.

Referenced by Apply_Routine_Scope_Controls(), and Configure_Source().

#define SDM_SEQLINE   0x04 /* Force sequentail line numbers */

Definition at line 256 of file config_targ.h.

Referenced by Configure_Source().

#define SDM_SYMBOL   0x02 /* Symbol table information */

Definition at line 255 of file config_targ.h.

Referenced by Apply_Routine_Scope_Controls(), and Configure_Source().

#define SDM_USE_FP   0x10 /* Use fp for sdb definitions */

Definition at line 258 of file config_targ.h.

Referenced by Apply_Routine_Scope_Controls().

Value:
(Max_Symbolic_Debug_Mode |= SDM_GEN_FP, \
                                  Symbolic_Debug_Mode |= SDM_GEN_FP)

Definition at line 268 of file config_targ.h.

Value:
(Max_Symbolic_Debug_Mode |= SDM_USE_FP, \
                                   Symbolic_Debug_Mode |= SDM_USE_FP)

Definition at line 271 of file config_targ.h.

Definition at line 270 of file config_targ.h.

Definition at line 263 of file config_targ.h.

Definition at line 264 of file config_targ.h.

Definition at line 265 of file config_targ.h.


Enumeration Type Documentation

enum TARGET_ABI
Enumerator:
ABI_UNDEF 
ABI_I32 
ABI_I64 

Definition at line 99 of file config_targ.h.

enum TARGET_ISA
Enumerator:
TARGET_ISA_UNDEF 
TARGET_ISA_I1 

Definition at line 131 of file config_targ.h.

Enumerator:
TARGET_UNDEF 
TARGET_ITANIUM 

Definition at line 114 of file config_targ.h.


Function Documentation

char* Isa_Name ( TARGET_ISA  target_isa)

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().

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  target)

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().


Variable Documentation

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().

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 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 134 of file config_targ.cxx.

Referenced by Configure_Source_Target().

Definition at line 194 of file config_targ.cxx.

Definition at line 95 of file config_targ.cxx.

Referenced by Configure_Target().

Definition at line 96 of file config_targ.cxx.

Referenced by Configure_Target().

Definition at line 322 of file config_targ.h.

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 183 of file config_targ.cxx.

Referenced by Configure_Target().

Definition at line 199 of file config_targ.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines