<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 8, 2013 at 9:53 AM, Rekha R <span dir="ltr"><<a href="mailto:rekharamapai@nitc.ac.in" target="_blank">rekharamapai@nitc.ac.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div> I was studying the LLVM IR instruction set by analyzing how constructs in C language is getting converted to IR form. <br>
<br></div>I found difficulty in finding C constructs which could generate Invoke, Resume, Unreachable, ExtractValue, InsertValue instructions. Can someone help me find some simple C code that generates these instructions in LLVM IR?</div>
</blockquote><div><br></div><div>A great way to find such information is search in the tests directory of clang. So if you have clang checked out into the LLVM tree, run a recursive grep over all C files in 'tools/clang/tests'</div>
<div><br></div><div>Eli</div><div><br></div><div><br></div><div> </div></div><br></div></div>