[LLVMdev] basic block reordeing in memory

Zahra Marj zahrafatehimarj at gmail.com
Thu Nov 20 09:22:15 PST 2014


Hi.

I would like to change order of code basic blocks “in memory” without
changing behavior of code. For finding basic block memory address, I use
blockaddress(@function, %block) in .ll file (intermediate representation),
but it doesn’t work well. I would like to see basic blocks in memory
explicitly.

Is changing place of basic blocks in CFG using successors and predecessors
helpful?

What parts of LLVM help me and how? I am a newbie on LLVM.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141120/60e080d9/attachment.html>


More information about the llvm-dev mailing list