GCC Middle and Back End API Reference
unit_decl Struct Reference
Collaboration diagram for unit_decl:

Data Fields

const char * name
const char * automaton_name
char query_p
char unit_is_used
int unit_num
struct automaton_declautomaton_decl
int max_occ_cycle_num
int min_occ_cycle_num
unit_set_el_t excl_list
pattern_set_el_t presence_list
pattern_set_el_t final_presence_list
pattern_set_el_t absence_list
pattern_set_el_t final_absence_list
int query_num
int last_distribution_check_cycle
int corresponding_automaton_num
char in_set_p

Detailed Description

This describes define_cpu_unit and define_query_cpu_unit (see file rtl.def).


Field Documentation

pattern_set_el_t unit_decl::absence_list

The following list contains patterns which should be not present in reservation for given unit.

struct automaton_decl* unit_decl::automaton_decl

The following field value is corresponding declaration of automaton which was given in description. If the field value is NULL then automaton in the unit declaration was absent.

const char* unit_decl::automaton_name

NULL if the automaton name is absent.

int unit_decl::corresponding_automaton_num

The following fields are defined by automaton generator. The following field value is number of the automaton to which given unit belongs.

Referenced by transform_insn_regexps().

unit_set_el_t unit_decl::excl_list

The following list contains units which conflict with given unit.

pattern_set_el_t unit_decl::final_absence_list
pattern_set_el_t unit_decl::final_presence_list
char unit_decl::in_set_p

If the following value is not zero, the cpu unit is present in a `exclusion_set' or in right part of a `presence_set', `final_presence_set', `absence_set', and `final_absence_set'define_query_cpu_unit.

Referenced by find_arc(), and finish_states().

int unit_decl::last_distribution_check_cycle

The following is the last cycle on which the unit was checked for correct distributions of units to automata in a regexp.

int unit_decl::max_occ_cycle_num

The following field value is maximal cycle number (1, ...) on which given unit occurs in insns. Zero value means that given unit is not used in insns.

int unit_decl::min_occ_cycle_num

The following field value is minimal cycle number (0, ...) on which given unit occurs in insns. -1 value means that given unit is not used in insns.

const char* unit_decl::name
pattern_set_el_t unit_decl::presence_list

The following list contains patterns which are required to reservation of given unit.

int unit_decl::query_num

The following is used only when `query_p' has nonzero value. This is query number for the unit.

char unit_decl::query_p

If the following value is not zero, the cpu unit reservation is described in define_query_cpu_unit.

char unit_decl::unit_is_used

The following fields are defined by checker. The following field value is nonzero if the unit is used in an regexp.

int unit_decl::unit_num

The following field value is order number (0, 1, ...) of given unit.

Referenced by find_arc(), finish_states(), and transform_insn_regexps().


The documentation for this struct was generated from the following file: