Hi, I am new to MLIR currently learning, most of the work with MLIR going towards compiler infrastructure. I wanted to use the same MLIR concept for binary code analysis.
In this regard, I have a few questions and expecting your suggestion.
Sorry if I am wrong, but what I understood from the tutorials is the Toy language converted into AST, and from the AST, the MLIR is emitting. When you say multi-level IR, is there any level within the MLIR like level-1, level-2, etc…?
Once MLIR is emitted what is the further use from the MLIR..? is that current status of MLIR work is converting from MLIR to LLVM-IR…?. if so, can we use that LLVM-IR for recompilation …? (if I use this MLIR for binary code analysis).
I have a disassembled assembly instruction for the ELF binary (obtained from RE tool like IDA pro). In place of toy language if I insert this disassembly assembly instruction. Can I continue to use the remaining steps like Toy language/Assembly instructions --> AST–> MLIR–> LLVM-IR…?
Thanks in advance.
Hi, I am new to MLIR currently learning, most of the work with MLIR going towards compiler infrastructure. I wanted to use the same MLIR concept for binary code analysis.
In this regard, I have a few questions and expecting your suggestion.
Sorry if I am wrong, but what I understood from the tutorials is the Toy language converted into AST, and from the AST, the MLIR is emitting. When you say multi-level IR, is there any level within the MLIR like level-1, level-2, etc…?
Once MLIR is emitted what is the further use from the MLIR..? is that current status of MLIR work is converting from MLIR to LLVM-IR…?. if so, can we use that LLVM-IR for recompilation …? (if I use this MLIR for binary code analysis).
I have a disassembled assembly instruction for the ELF binary (obtained from RE tool like IDA pro). In place of toy language if I insert this disassembly assembly instruction. Can I continue to use the remaining steps like Toy language/Assembly instructions --> AST–> MLIR–> LLVM-IR…?