Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1617 assert(RootWeights.count(N) && "Cannot get weight of unseen root!"); in getWeight()
1618 assert(RootWeights[N] != -1 && "Cannot get weight of unvisited root!"); in getWeight()
1619 assert(RootWeights[N] != -2 && "Cannot get weight of RAWU'd root!"); in getWeight()
1620 return RootWeights[N]; in getWeight()
1626 assert(RootWeights.count(N) && RootWeights[N] >= 0 && in getHeight()
1877 assert(RootWeights.count(N) && "Cannot balance non-root node."); in balanceSubTree()
1878 assert(RootWeights[N] != -2 && "This node was RAUW'd!"); in balanceSubTree()
1882 if (RootWeights[N] != -1) in balanceSubTree()
1891 if ((!isOpcodeHandled(Op0.getNode()) || RootWeights.count(Op0.getNode())) && in balanceSubTree()
1892 (!isOpcodeHandled(Op1.getNode()) || RootWeights.count(Op1.getNode()))) { in balanceSubTree()
[all …]
DHexagonISelDAGToDAG.h148 SmallDenseMap<SDNode *,int> RootWeights; variable