GCC Middle and Back End API Reference
|
Public Member Functions | |
comp_cost () | |
comp_cost (int64_t cost, unsigned complexity, int64_t scratch=0) | |
bool | infinite_cost_p () |
comp_cost | operator+= (comp_cost cost) |
comp_cost | operator+= (HOST_WIDE_INT c) |
comp_cost | operator-= (HOST_WIDE_INT c) |
comp_cost | operator/= (HOST_WIDE_INT c) |
comp_cost | operator*= (HOST_WIDE_INT c) |
comp_cost | operator-= (comp_cost cost) |
Data Fields | |
int64_t | cost |
unsigned | complexity |
int64_t | scratch |
Cost of a computation.
|
inline |
bool comp_cost::infinite_cost_p | ( | ) |
comp_cost comp_cost::operator*= | ( | HOST_WIDE_INT | c | ) |
References cost, gcc_assert, infinite_cost, and infinite_cost_p().
comp_cost comp_cost::operator+= | ( | HOST_WIDE_INT | c | ) |
References cost, gcc_assert, infinite_cost, infinite_cost_p(), and INFTY.
comp_cost comp_cost::operator-= | ( | HOST_WIDE_INT | c | ) |
References cost, gcc_assert, infinite_cost, and infinite_cost_p().
comp_cost comp_cost::operator/= | ( | HOST_WIDE_INT | c | ) |
References cost, gcc_assert, and infinite_cost_p().
unsigned comp_cost::complexity |
Referenced by determine_group_iv_costs(), find_optimal_iv_set(), and iv_ca_dump().
int64_t comp_cost::cost |
int64_t comp_cost::scratch |
Referenced by determine_group_iv_cost_address(), get_computation_cost(), and get_scaled_computation_cost_at().