Home
last modified time | relevance | path

Searched refs:cost (Results 1 – 2 of 2) sorted by relevance

/art/tools/dexanalyze/
Ddexanalyze_strings.cc229 int32_t cost = kPrefixConstantCost; in Savings() local
232 cost += depth_; in Savings()
245 return count_ * (depth_ - first_used) - cost + extra_savings; in Savings()
/art/compiler/optimizing/
Dregister_allocator_graph_color.cc79 size_t cost = 1; in CostForMoveAt() local
81 cost *= kSingleJumpBlockWeightMultiplier; in CostForMoveAt()
84 cost *= kDominatesExitBlockWeightMultiplier; in CostForMoveAt()
87 cost *= kLoopSpillWeightMultiplier; in CostForMoveAt()
89 return cost; in CostForMoveAt()