Searched refs:OtherW (Results 1 – 2 of 2) sorted by relevance
161 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight() argument162 assert(OtherW.TargetNode.isValid()); in combineWeight()164 W = OtherW; in combineWeight()167 assert(W.Type == OtherW.Type); in combineWeight()168 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()169 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()170 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()174 W.Amount += OtherW.Amount; in combineWeight()
1976 int ThisW = 0, OtherW = 1; in concat() local1984 Work[OtherW].clear(); in concat()1990 Work[OtherW].push_back(Joined); in concat()1992 std::swap(ThisW, OtherW); in concat()