<div dir="ltr">Hi all,<div><br></div><div>I want to split a function into multiple functions in the IR file. Specifically, If there is a function that has many switch cases, I want add a new function for each switch case. I wonder if there is any transformation pass in llvm will do that? Do I have to write a new customized llvm transformation pass for this case? Appreciate your help. Thank. <br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:small"><span style="font-size:12.8px"><br></span></div><div style="font-size:small"><span style="font-size:12.8px">Best,</span></div><div style="font-size:small" dir="ltr"><span style="font-size:12.8px">Ying</span></div></div></div></div>
</div></div>