<div dir="ltr"><div>Dear LLVM developers,</div><div><br></div><div>My goal is to write LLVM Machine IR (MIR) passes to analyze the assembly source code. But it seems I need to find a way to translate the handwritten assembly code into MIR format first.</div><div><br></div><div>Is there any materials, or any modules in LLVM source code, that can help to translate assembly code into LLVM MIR for analysis? <br></div><div><br></div><div>Or is there any easier ways to analyze assembly code in MIR passes without translating it?<br></div><div><br></div><div>Best Regards,</div><div>Lele Ma</div><div><br></div><br></div>