[llvm-dev] Split llvm ir

Nema, Ashutosh via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 29 02:15:02 PST 2016


You can probably use CodeExtractor for this purpose.
It does function outlining.

Regards,
Ashutosh

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Sandeep Kumar Singh via llvm-dev
Sent: Friday, January 29, 2016 3:24 PM
To: LLVM Developers Mailing List
Subject: [llvm-dev] Split llvm ir

Hello,

I have a situation to break/split function at llvm ir level of single function (if ir of single is more).

Can someone clarify, is it possible to get the size at llvm ir level of function and how to split it without affecting functionality of splitted function.

Thank you in advance.

Kind regards
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160129/604f3a75/attachment.html>


More information about the llvm-dev mailing list