[LLVMdev] Extract operations as functions

Manish Gupta mgupta.iitr at gmail.com
Wed May 11 21:12:17 PDT 2011


Hi,
I am planning to extract every operation as function.

eg. z=x+y; ==> z=func(x,y,op);

I wish to write a custom definition of op. Which I would like to define in
func.

It would be really helpful if someone could suggest passes
already available in llvm to for or point some reference how should one
proceed on it.

Is codeExtractor.cpp useful for this. I was also thinking of going like
loop-extract way. any other suggestion would be extremely helpful
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110511/ef4128e2/attachment.html>


More information about the llvm-dev mailing list