cornell-zhang / hcl-dialect

HeteroCL-MLIR dialect for accelerator design
https://cornell-zhang.github.io/heterocl/index.html
Other
37 stars 15 forks source link

Add TransformOps to HCL Dialect #187

Closed chhzh123 closed 1 year ago

chhzh123 commented 1 year ago

Port from #124 to rebase the changes.

For now, two prototyping TransformOps, HCLGetParentLoopOp and HCLLoopUnrollOp, are extended to the Transform dialect. More operations, for example, SplitOp, will be added in the subsequent PRs. Meanwhile, a TransformInterpreter pass is added for testing purpose.