Hello! I am trying to get accustomed to MLIR in order to be able to use it to generate code for a custom accelerator.
Currently I am running over Chapter 2: Emitting Basic MLIR - MLIR and figuring out the code.
While the tutorial covers well the toy dialect construction, ops definitions and tablegen, I am trying to learn the MLIR API , i.e. the way the methods build(), parse() and verify() are defined in Dialect.cpp and the generation of IR code from MLIRGen.cpp.
Basically I am looking for a method to learn the MLIR API, what each class does and where to use it.
My scope would be to define a dialect from MLIR then to lower it into binary representation. How one can ‘learn’ the MLIR, is there are systematic approach method?
I would like to know what would be the right approach to accomplish my goal, given that I am completely new to MLIR development.
TIA!