Lines Matching refs:resultTree
119 std::string handleResultPattern(DagNode resultTree, int resultIndex,
124 std::string handleReplaceWithNativeCodeCall(DagNode resultTree, int depth);
736 DagNode resultTree = pattern.getResultPattern(i); in emitRewriteLogic() local
737 auto val = handleResultPattern(resultTree, offsets[i], 0); in emitRewriteLogic()
742 if (resultTree.isNativeCodeCall()) in emitRewriteLogic()
755 DagNode resultTree = pattern.getResultPattern(i); in emitRewriteLogic() local
756 auto val = handleResultPattern(resultTree, offsets[i], 0); in emitRewriteLogic()
781 std::string PatternEmitter::handleResultPattern(DagNode resultTree, in handleResultPattern() argument
784 LLVM_DEBUG(resultTree.print(llvm::dbgs())); in handleResultPattern()
787 if (resultTree.isLocationDirective()) { in handleResultPattern()
792 if (resultTree.isNativeCodeCall()) { in handleResultPattern()
793 auto symbol = handleReplaceWithNativeCodeCall(resultTree, depth); in handleResultPattern()
798 if (resultTree.isReplaceWithValue()) in handleResultPattern()
799 return handleReplaceWithValue(resultTree).str(); in handleResultPattern()
802 auto symbol = handleOpCreation(resultTree, resultIndex, depth); in handleResultPattern()
803 if (resultTree.getSymbol().empty()) { in handleResultPattern()
806 symbolInfoMap.bindOpResult(symbol, pattern.getDialectOp(resultTree)); in handleResultPattern()