Lines Matching defs:Cost
14433 struct Cost {
14444 explicit Cost(bool ForCodeSize) : ForCodeSize(ForCodeSize) {}
14447 Cost(const LoadedSlice &LS, bool ForCodeSize)
14474 Cost &operator+=(const Cost &RHS) {
14483 bool operator==(const Cost &RHS) const {
14489 bool operator!=(const Cost &RHS) const { return !(*this == RHS); }
14491 bool operator<(const Cost &RHS) const {
14504 bool operator>(const Cost &RHS) const { return RHS < *this; }
14506 bool operator<=(const Cost &RHS) const { return !(RHS < *this); }
14508 bool operator>=(const Cost &RHS) const { return !(*this < RHS); }
14762 LoadedSlice::Cost &GlobalLSCost) {
14820 /// whose cost (\see LoadedSlice::Cost) is smaller than the original load (3).
14842 LoadedSlice::Cost OrigCost(ForCodeSize), GlobalSlicingCost(ForCodeSize);
14848 LoadedSlice::Cost SliceCost(LS, ForCodeSize);