-
-/**
- * Get the register class which shall be used to store a value of a given mode.
- * @param self The this pointer.
- * @param mode The mode in question.
- * @return A register class which can hold values of the given mode.
- */
-static const arch_register_class_t *sparc_get_reg_class_for_mode(const ir_mode *mode)
-{
- if (mode_is_float(mode))
- return &sparc_reg_classes[CLASS_sparc_fp];
- else
- return &sparc_reg_classes[CLASS_sparc_gp];
-}
-
-/**
- * Returns the necessary byte alignment for storing a register of given class.
- */
-static int sparc_get_reg_class_alignment(const arch_register_class_t *cls)
-{
- ir_mode *mode = arch_register_class_mode(cls);
- return get_mode_size_bytes(mode);
-}
-
-static ir_node *sparc_create_set(ir_node *cond)
-{
- return ir_create_cond_set(cond, mode_Iu);
-}
-