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 |
Friends | |
comp_cost | operator+ (comp_cost cost1, comp_cost cost2) |
comp_cost | operator- (comp_cost cost1, comp_cost cost2) |
bool | operator< (comp_cost cost1, comp_cost cost2) |
bool | operator== (comp_cost cost1, comp_cost cost2) |
bool | operator<= (comp_cost cost1, comp_cost cost2) |
Cost of a computation.
|
inline |
References complexity, cost, and scratch.
Referenced by operator+, operator+=(), operator-, operator-=(), operator<, operator<=, and operator==.
|
inline |
References complexity, cost, and scratch.
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().
References comp_cost(), and cost.
comp_cost comp_cost::operator+= | ( | HOST_WIDE_INT | c | ) |
References cost, gcc_assert, infinite_cost, infinite_cost_p(), and INFTY.
References comp_cost(), and cost.
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().
References comp_cost(), complexity, cost, gcc_assert, infinite_cost, and infinite_cost_p().
References comp_cost(), complexity, cost, gcc_assert, infinite_cost, and infinite_cost_p().
References comp_cost(), complexity, and cost.
References comp_cost().
References comp_cost(), complexity, and cost.
unsigned comp_cost::complexity |
Referenced by comp_cost(), comp_cost(), determine_group_iv_costs(), find_optimal_iv_set(), iv_ca_dump(), operator+, operator-, operator<, and operator==.
int64_t comp_cost::cost |
Referenced by comp_cost(), comp_cost(), determine_group_iv_cost_cond(), determine_group_iv_costs(), determine_iv_cost(), find_optimal_iv_set(), get_computation_cost(), get_scaled_computation_cost_at(), infinite_cost_p(), iv_ca_dump(), operator*=(), operator+, operator+=(), operator+=(), operator-, operator-=(), operator-=(), operator/=(), operator<, and operator==.
int64_t comp_cost::scratch |