Searched refs:OtherW (Results 1 – 2 of 2) sorted by relevance
162 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight() argument163 assert(OtherW.TargetNode.isValid()); in combineWeight()165 W = OtherW; in combineWeight()168 assert(W.Type == OtherW.Type); in combineWeight()169 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()170 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()171 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()175 W.Amount += OtherW.Amount; in combineWeight()
2409 int ThisW = 0, OtherW = 1; in concat() local2417 Work[OtherW].clear(); in concat()2423 Work[OtherW].push_back(Joined); in concat()2425 std::swap(ThisW, OtherW); in concat()