[LLVMdev] MachineFunction Cloning

David Greene dag at cray.com
Wed Mar 12 13:56:06 PDT 2008

Is there a utility somewhere to clone a MachineFunction?  I'd like to do a
bunch of complicated transformations and then throw away the results and
restore the initial state if I decide it's not good.

Are there methods to save and restore dataflow information in the same way?
I'm particularly interested in live interval information.


More information about the llvm-dev mailing list