Commit a51d915f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Remove the unused function 'be_get_type_unsigned_long_long()' as well as...

be: Remove the unused function 'be_get_type_unsigned_long_long()' as well as 'type_unsigned_long_long' from 'struct backend_params'.
parent b29b62af
......@@ -134,11 +134,6 @@ typedef struct backend_params {
*/
ir_mode *mode_float_arithmetic;
/**
* type used for unsigned long long or NULL if none available
*/
ir_type *type_unsigned_long_long;
/**
* type used for long double or NULL if none available.
*/
......@@ -182,9 +177,6 @@ FIRM_API unsigned be_get_machine_size(void);
*/
FIRM_API ir_mode *be_get_mode_float_arithmetic(void);
/** Returns type used for unsigned long long or NULL if none available. */
FIRM_API ir_type *be_get_type_unsigned_long_long(void);
/** Returns type used for long double or NULL if none available. */
FIRM_API ir_type *be_get_type_long_double(void);
......
......@@ -149,7 +149,6 @@ static const backend_params *TEMPLATE_get_backend_params(void)
.allow_ifconv = TEMPLATE_is_mux_allowed,
.machine_size = 32,
.mode_float_arithmetic = NULL,
.type_unsigned_long_long = NULL,
.type_long_double = NULL,
.stack_param_align = 4,
.float_int_overflow = ir_overflow_min_max,
......
......@@ -756,7 +756,6 @@ static backend_params amd64_backend_params = {
.allow_ifconv = amd64_is_mux_allowed,
.machine_size = 64,
.mode_float_arithmetic = NULL, /* will be set later */
.type_unsigned_long_long = NULL, /* will be set later */
.type_long_double = NULL, /* will be set later */
.stack_param_align = 8,
.float_int_overflow = ir_overflow_indefinite,
......
......@@ -270,7 +270,6 @@ static backend_params arm_backend_params = {
.allow_ifconv = arm_is_mux_allowed,
.machine_size = ARM_MACHINE_SIZE,
.mode_float_arithmetic = NULL,
.type_unsigned_long_long = NULL,
.type_long_double = NULL,
.stack_param_align = 4,
.float_int_overflow = ir_overflow_min_max,
......
......@@ -453,11 +453,6 @@ ir_mode *be_get_mode_float_arithmetic(void)
return be_get_backend_param()->mode_float_arithmetic;
}
ir_type *be_get_type_unsigned_long_long(void)
{
return be_get_backend_param()->type_unsigned_long_long;
}
ir_type *be_get_type_long_double(void)
{
return be_get_backend_param()->type_long_double;
......
......@@ -1358,7 +1358,6 @@ static backend_params ia32_backend_params = {
.allow_ifconv = ia32_is_mux_allowed,
.machine_size = 32,
.mode_float_arithmetic = NULL, /* will be set later */
.type_unsigned_long_long = NULL, /* will be set later */
.type_long_double = NULL, /* will be set later */
.stack_param_align = 4,
.float_int_overflow = ir_overflow_indefinite,
......@@ -1386,13 +1385,6 @@ static void ia32_init(void)
ia32_mode_float32 = new_float_mode("fp32", irma_ieee754, 8, 23,
ir_overflow_indefinite);
ir_mode *mode_unsigned_long_long
= new_int_mode("unsigned long long", irma_twos_complement, 64, 0, 64);
ir_type *type_unsigned_long_long
= get_type_for_mode(mode_unsigned_long_long);
ia32_backend_params.type_unsigned_long_long = type_unsigned_long_long;
// va_list is a void pointer
ir_type *type_va_list = new_type_pointer(get_type_for_mode(mode_ANY));
ia32_backend_params.vararg.va_list_type = type_va_list;
......
......@@ -536,7 +536,6 @@ static const backend_params *sparc_get_backend_params(void)
.allow_ifconv = sparc_is_mux_allowed,
.machine_size = 32,
.mode_float_arithmetic = NULL, /* will be set later */
.type_unsigned_long_long = NULL, /* will be set later */
.type_long_double = NULL, /* will be set later */
.stack_param_align = 4,
.float_int_overflow = ir_overflow_min_max,
......@@ -546,15 +545,9 @@ static const backend_params *sparc_get_backend_params(void)
},
};
ir_mode *mode_unsigned_long_long
= new_int_mode("unsigned long long", irma_twos_complement, 64, 0, 64);
ir_type *type_unsigned_long_long
= get_type_for_mode(mode_unsigned_long_long);
ir_type *type_va_list
= new_type_pointer(get_type_for_mode(mode_ANY));
p.type_unsigned_long_long = type_unsigned_long_long;
p.vararg.va_list_type = type_va_list;
p.vararg.va_list_type = type_va_list;
sparc_mode_Q
= new_float_mode("Q", irma_ieee754, 15, 112, ir_overflow_min_max);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment