Lines Matching defs:resultIndex
148 // pattern. For top-level result pattern, `resultIndex` indicates which result
152 std::string handleResultPattern(DagNode resultTree, int resultIndex,
196 std::string handleOpCreation(DagNode tree, int resultIndex, int depth);
1232 int resultIndex, int depth) {
1252 auto symbol = handleOpCreation(resultTree, resultIndex, depth);
1528 std::string PatternEmitter::handleOpCreation(DagNode tree, int resultIndex,
1634 if (!tail.returnType && (usePartialResults || depth > 0 || resultIndex < 0)) {
1653 // However, if depth == 0 and resultIndex >= 0, it means we are replacing
1657 if (depth == 0 && resultIndex >= 0 && tail.returnType)
1681 resultIndex + i);