Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1950 SmallDenseMap<SDValue, int> NodeHeights; in balanceSubTree() local
1972 NodeHeights[Child] = 1; in balanceSubTree()
2001 NodeHeights[Child] = getHeight(Child.getNode()); in balanceSubTree()
2022 if (!NodeHeights.count(Op1) || !NodeHeights.count(Child->getOperand(0))) { in balanceSubTree()
2023 assert(!NodeHeights.count(Child) && "Parent visited before children?"); in balanceSubTree()
2030 if (std::abs(NodeHeights[Op1] - NodeHeights[Child->getOperand(0)]) > 1) in balanceSubTree()
2033 NodeHeights[Child] = std::max(NodeHeights[Op1], in balanceSubTree()
2034 NodeHeights[Child->getOperand(0)]) + 1; in balanceSubTree()
2039 LLVM_DEBUG(dbgs() << "--> Current height=" << NodeHeights[SDValue(N, 0)] in balanceSubTree()
2049 int Height = std::max(NodeHeights[Mul1.Value], NodeHeights[Mul2.Value]) + 1; in balanceSubTree()
[all …]