[LLVMdev] How to insert basic block in a loop
Philip Reames
listmail at philipreames.com
Fri Jun 12 14:55:12 PDT 2015
Given lack of context in your question, it's hard to figure out what
you're asking, but as a guess, I'd suggest you look at
addBasicBlockToLoop on LoopBase in LoopInfo.h
Philip
On 06/12/2015 01:53 PM, marwayusuf at feng.bu.edu.eg wrote:
>
> Dear All
>
> I'm making a transformation pass that inserts a new basic block at the
> start of a loop. However when I try to change predecessor/successor
> relations, it does not consider the new block in the loop at all. So I
> got that just inserting a loop in a function before another loop is
> not enough. So how exactly to do this job?
>
>
> Regards,
> Marwa Yusuf
> Teaching Assistant - Computer Engineering Department
> Faculty of Engineering - Benha University
> E-JUST PhD Student
> Computer Science & Engineering Dept.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150612/dcde98b2/attachment.html>
More information about the llvm-dev
mailing list