Searched refs:WeightedLeaf (Results 1 – 1 of 1) sorted by relevance
1801 struct WeightedLeaf { struct1806 WeightedLeaf() {} in WeightedLeaf() function1808 WeightedLeaf(SDValue Value, int Weight, int InsertionOrder) : in WeightedLeaf() function1813 static bool Compare(const WeightedLeaf &A, const WeightedLeaf &B) { in Compare() argument1825 SmallVector<WeightedLeaf, 8> Q;1827 WeightedLeaf ConstElt;1843 const WeightedLeaf &top() { in top()1849 WeightedLeaf pop() { in pop()1854 std::pop_heap(Q.begin(), Q.end(), WeightedLeaf::Compare); in pop()1858 void push(WeightedLeaf L, bool SeparateConst=true) { in push()[all …]