Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestDialect.cpp606 optOperand.emplace(); in parseCustomOptionalOperand()
615 Optional<OpAsmParser::UnresolvedOperand> &optOperand, in parseCustomDirectiveOperands() argument
620 optOperand.emplace(); in parseCustomDirectiveOperands()
621 if (parser.parseOperand(*optOperand)) in parseCustomDirectiveOperands()
668 Optional<OpAsmParser::UnresolvedOperand> &optOperand, in parseCustomDirectiveOperandsAndTypes() argument
733 Value optOperand) { in printCustomOptionalOperand() argument
734 if (optOperand) in printCustomOptionalOperand()
735 printer << "(" << optOperand << ") "; in printCustomOptionalOperand()
742 if (optOperand) in printCustomDirectiveOperands()
743 printer << ", " << optOperand; in printCustomDirectiveOperands()
[all …]
H A DTestOps.td775 Optional<I32>:$optOperand,
779 | `reduction` custom<CustomOptionalOperand>($optOperand)
2180 let arguments = (ins I64:$operand, Optional<I64>:$optOperand,
2184 $operand, $optOperand, $varOperands
2193 let arguments = (ins AnyType:$operand, Optional<AnyType>:$optOperand,
2197 $operand, $optOperand, $varOperands,
2198 type($operand), type($optOperand), type($varOperands)
2244 let arguments = (ins Optional<I64>:$optOperand);
2246 ($optOperand^)? `:`
2247 custom<CustomDirectiveOptionalOperandRef>(ref($optOperand))
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp1812 void printInferType(OpAsmPrinter &printer, Operation *op, Value optOperand, in printInferType() argument
1816 Optional<OpAsmParser::UnresolvedOperand> optOperand, in parseInferType() argument
1818 if (optOperand) in parseInferType()