Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/Conversion/Passes.td
Show First 20 Lines • Show All 498 Lines • ▼ Show 20 Lines | let description = [{ | ||||
Pass that converts TOSA operations to the equivalent operations using the | Pass that converts TOSA operations to the equivalent operations using the | ||||
operations in the Standard dialect. | operations in the Standard dialect. | ||||
}]; | }]; | ||||
let constructor = "tosa::createTosaToStandard()"; | let constructor = "tosa::createTosaToStandard()"; | ||||
} | } | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// VectorToGPU | |||||
//===----------------------------------------------------------------------===// | |||||
def ConvertVectorToGPU : FunctionPass<"convert-vector-to-gpu"> { | |||||
let summary = "Lower the operations from the vector dialect into the GPU " | |||||
"dialect"; | |||||
let constructor = "mlir::createConvertVectorToGPUPass()"; | |||||
let dependentDialects = [ | |||||
"memref::MemRefDialect", | |||||
"gpu::GPUDialect" | |||||
]; | |||||
} | |||||
//===----------------------------------------------------------------------===// | |||||
// VectorToSCF | // VectorToSCF | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
def ConvertVectorToSCF : FunctionPass<"convert-vector-to-scf"> { | def ConvertVectorToSCF : FunctionPass<"convert-vector-to-scf"> { | ||||
let summary = "Lower the operations from the vector dialect into the SCF " | let summary = "Lower the operations from the vector dialect into the SCF " | ||||
"dialect"; | "dialect"; | ||||
let constructor = "mlir::createConvertVectorToSCFPass()"; | let constructor = "mlir::createConvertVectorToSCFPass()"; | ||||
let dependentDialects = [ | let dependentDialects = [ | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |