reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1997 Leaves.push(WeightedLeaf(Child, Weight, InsertionOrder++)); 2008 Leaves.push(WeightedLeaf(Child, Weight, InsertionOrder++)); 2060 Leaves.push(WeightedLeaf(New, Weight, Mul1.InsertionOrder)); 2064 Leaves.push(Mul1); 2066 Leaves.push(Mul2); 2074 if (NOpcode == ISD::ADD && GA.Value.getNode() && Leaves.hasConst() && 2078 ConstantSDNode *Offset = cast<ConstantSDNode>(Leaves.top().Value); 2092 GA.Weight += Leaves.top().Weight; 2097 Leaves.pop(); // Remove the offset constant from the queue 2111 WeightedLeaf SHL = Leaves.findSHL(31); 2123 Leaves.push(GA); 2127 if (TopLevel && !CanFactorize && Leaves.hasConst()) { 2129 Leaves.pushToBottom(Leaves.pop()); 2129 Leaves.pushToBottom(Leaves.pop()); 2136 while (Leaves.size() > 1) { 2137 WeightedLeaf L0 = Leaves.pop(); 2141 WeightedLeaf L1 = Leaves.findMULbyConst(); 2143 L1 = Leaves.pop(); 2187 Leaves.push(WeightedLeaf(NewNode, Weight, L0.InsertionOrder)); 2194 assert(Leaves.size() == 1); 2195 SDValue NewRoot = Leaves.top().Value; 2226 RootWeights[NewRoot.getNode()] = Leaves.top().Weight;