reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1618 assert(RootWeights.count(N) && "Cannot get weight of unseen root!"); 1619 assert(RootWeights[N] != -1 && "Cannot get weight of unvisited root!"); 1620 assert(RootWeights[N] != -2 && "Cannot get weight of RAWU'd root!"); 1621 return RootWeights[N]; 1627 assert(RootWeights.count(N) && RootWeights[N] >= 0 && 1627 assert(RootWeights.count(N) && RootWeights[N] >= 0 && 1878 assert(RootWeights.count(N) && "Cannot balance non-root node."); 1879 assert(RootWeights[N] != -2 && "This node was RAUW'd!"); 1883 if (RootWeights[N] != -1) 1892 if ((!isOpcodeHandled(Op0.getNode()) || RootWeights.count(Op0.getNode())) && 1893 (!isOpcodeHandled(Op1.getNode()) || RootWeights.count(Op1.getNode()))) { 1896 if (isOpcodeHandled(Op0N) && RootWeights[Op0N] == -1) { 1903 if (isOpcodeHandled(Op1N) && RootWeights[Op1N] == -1) { 1909 RootWeights[N] = Weight; 1957 if (Child.getNode() != N && RootWeights.count(Child.getNode())) { 1960 int Weight = RootWeights[Child.getNode()]; 2103 RootWeights[N] = CurrentWeight; 2153 if ((RootWeights.count(V0.getNode()) && RootWeights[V0.getNode()] == -2) || 2153 if ((RootWeights.count(V0.getNode()) && RootWeights[V0.getNode()] == -2) || 2154 (RootWeights.count(V1.getNode()) && RootWeights[V1.getNode()] == -2)) { 2154 (RootWeights.count(V1.getNode()) && RootWeights[V1.getNode()] == -2)) { 2221 RootWeights[N] = -2; 2226 RootWeights[NewRoot.getNode()] = Leaves.top().Weight; 2243 if (RootWeights.count(BasePtr.getNode())) 2270 if (RootWeights.count(N)) 2273 RootWeights[N] = -1; 2277 RootWeights[BasePtr.getNode()] = -1; 2294 RootWeights.clear();