[LLVMdev] Extract operations as function

Manish Gupta manishg at cs.ucsd.edu
Wed May 11 21:14:45 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 look for or point some references 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/ad96143c/attachment.html>


More information about the llvm-dev mailing list