<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>I am working at a project about inline asm of LLVM, but I meet one problem about asm operands. For example, I have code like this:</div><div><br></div><div>int a;</div><div>int b;</div><div>asm("nop": "=r"(a), "r"(b), "g"(30));</div><div><br></div><div>I can get asm string "nop" using llvm::InlineAssembly::getAsmString () function, and I also can get constraints "r r imr" information using llvm::InlineAsm::ParseConstraints function and iterate the return value. But my question is I can not get asm operands information, especially asm operarands type(a is integer type, b is interger type, 30 is constant int).</div><div><br></div><div>So does anybody know is there any way to get asm operands information?</div><div><br></div><div>Best Regards</div><div><br></div><div>Wu Zhao</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>