Lines Matching refs:argName
106 DagLeaf operandMatcher, StringRef argName,
461 std::string argName = formatv("arg{0}_{1}", depth, i); in emitNativeCodeMatch() local
466 os << "::mlir::Value " << argName << ";\n"; in emitNativeCodeMatch()
470 os << "::mlir::Attribute " << argName << ";\n"; in emitNativeCodeMatch()
472 os << "::mlir::Value " << argName << ";\n"; in emitNativeCodeMatch()
476 capture.push_back(std::move(argName)); in emitNativeCodeMatch()
504 std::string argName = capture[i]; in emitNativeCodeMatch() local
511 argName, i)); in emitNativeCodeMatch()
524 self = argName; in emitNativeCodeMatch()
526 self = formatv("{0}.getType()", argName); in emitNativeCodeMatch()
587 std::string argName = formatv("op{0}", depth + 1); in emitOpMatch() local
612 argName, castedName, nextOperand); in emitOpMatch()
615 castedName, /*matchStr=*/argName, in emitOpMatch()
618 emitMatch(argTree, argName, depth + 1); in emitOpMatch()
619 os << formatv("tblgen_ops.push_back({0});\n", argName); in emitOpMatch()
646 DagLeaf operandMatcher, StringRef argName, in emitOperandMatch() argument
683 if (!argName.empty() && argName != "_") { in emitOperandMatch()
684 auto res = symbolInfoMap.findBoundSymbol(argName, tree, op, argIndex); in emitOperandMatch()
685 os << formatv("{0} = {1};\n", res->second.getVarName(argName), operandName); in emitOperandMatch()
713 std::string argName = formatv("local_op_{0}", i).str(); in emitEitherOperandMatch() local
715 os << formatv("auto {0} = (*v{1}.begin()).getDefiningOp();\n", argName, in emitEitherOperandMatch()
718 opName, /*matchStr=*/argName, in emitEitherOperandMatch()
721 emitMatch(argTree, argName, depth + 1); in emitEitherOperandMatch()
725 tblgenOps << formatv("tblgen_ops.push_back({0});\n", argName); in emitEitherOperandMatch()
1231 auto argName = symbolInfoMap.getValueAndRangeUse(patArgName); in handleOpArgument() local
1233 LLVM_DEBUG(llvm::dbgs() << "replace " << patArgName << " with '" << argName in handleOpArgument()
1235 return argName; in handleOpArgument()
1238 auto repl = tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(argName)); in handleOpArgument()