Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp120 static void combineWeight(Weight &W, const Weight &OtherW) { in combineWeight() argument
121 assert(OtherW.TargetNode.isValid()); in combineWeight()
123 W = OtherW; in combineWeight()
126 assert(W.Type == OtherW.Type); in combineWeight()
127 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()
128 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()
129 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
133 W.Amount += OtherW.Amount; in combineWeight()