Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | def CopyOp : LinalgStructured_Op<"copy", [CopyOpInterface]> { | ||||
let verifier = [{ return ::verify(*this); }]; | let verifier = [{ return ::verify(*this); }]; | ||||
let assemblyFormat = [{ | let assemblyFormat = [{ | ||||
`(` $input `,` $output `)` attr-dict `:` | `(` $input `,` $output `)` attr-dict `:` | ||||
type($input) `,` type($output) | type($input) `,` type($output) | ||||
custom<CopyOpRegion>($region, ref(type($input)), ref(type($input))) | custom<CopyOpRegion>($region, ref(type($input)), ref(type($input))) | ||||
}]; | }]; | ||||
let hasCanonicalizer = 1; | |||||
let hasFolder = 1; | let hasFolder = 1; | ||||
let skipDefaultBuilders = 1; | let skipDefaultBuilders = 1; | ||||
} | } | ||||
def FillOp : LinalgStructured_Op<"fill", []> { | def FillOp : LinalgStructured_Op<"fill", []> { | ||||
let arguments = (ins | let arguments = (ins | ||||
AnyTypeOf<[AnyComplex, AnyFloat, AnySignlessInteger, AnyVector]>:$value, | AnyTypeOf<[AnyComplex, AnyFloat, AnySignlessInteger, AnyVector]>:$value, | ||||
AnyShaped:$output); | AnyShaped:$output); | ||||
▲ Show 20 Lines • Show All 494 Lines • Show Last 20 Lines |