<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 2:33 PM, Robin Morisset <span dir="ltr"><<a href="mailto:morisset@google.com" target="_blank">morisset@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>From my understanding of the LLVM IR, it is impossible to jump to the middle of a Basic Block, only to its beginning. But there is a splitBasicBlock function that seems like it might be useful to you, to make sure a basic block is starting at the exact place you want to jump.<div><br></div><div>Best regards,</div><div>Robin</div></blockquote><div> </div><div>Thanks you all! I'm looking at splitBasicBlock and trying to use that.  BTW, is there a way at lower level of LLVM that can implement this functionality? E.g. MCBasicBlock or MCInst?<br><br></div><div>Sincerely,<br></div><div>Xiaoguang<br></div></div></div></div>