Help regarding basic blocks in LLVM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help regarding basic blocks in LLVM

Anuj Bahuguna
Is there a way to combine basic blocks in LLVM?
I want to form Extended Basic Blocks in LLVM.
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Help regarding basic blocks in LLVM

Michael Ilseman-2
Have you looked at how the RegionInfo[1] analysis pass[2] is
implemented? You might be able to use it or a similar mechanism
yourself.

[1] http://www.llvm.org/docs/doxygen/html/da/d2d/classllvm_1_1RegionInfo.html
[2] http://llvm.org/docs/Passes.html#regions



On Fri, Oct 28, 2011 at 9:44 PM, Anuj Bahuguna
<[hidden email]> wrote:
> Is there a way to combine basic blocks in LLVM?
> I want to form Extended Basic Blocks in LLVM.
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Help regarding basic blocks in LLVM

Devang Patel
In reply to this post by Anuj Bahuguna
Anuj,

On Oct 28, 2011, at 8:44 PM, Anuj Bahuguna wrote:

> Is there a way to combine basic blocks in LLVM?

See include/llvm/Transforms/Utils/BasicBlockUtils.h

-
Devang

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Help regarding basic blocks in LLVM

Anuj Bahuguna
In reply to this post by Anuj Bahuguna
thanks for the help
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev