[LLVMdev] CFG of a function

Alexandru Ionut Diaconescu alexandruionutdiaconescu at gmail.com
Thu Jun 6 00:54:39 PDT 2013


Map every basic block from the CFG to a set of integers. The successors
from the CFG can be used to make the edges in your simplified graph. The
pair (Callee,Caller) can link the CFG-s between them in a larger CFG-like.


On Wed, Jun 5, 2013 at 11:03 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:

> What do you mean by mapping to integers?
>
>
> On 5 June 2013 22:32, Alexandru Ionut Diaconescu <
> alexandruionutdiaconescu at gmail.com> wrote:
>
>> Why you don't map the basic blocks to integers and apply algorithms on
>> the integer graph? And construct your new CFG.
>>
>>
>> On Wed, Jun 5, 2013 at 10:27 PM, Rasha Omar <rasha.sala7 at gmail.com>wrote:
>>
>>> How could I keep the function CFG in another memory space.
>>> I want to be able to change one of the old CFG , but keeping the
>>> original one in another space.
>>> Thanks
>>>
>>> --
>>> *Rasha Salah Omar
>>> Msc Student at E-JUST
>>> Demonestrator  at Faculty of Computers and Informatics
>>> Benha University
>>> *
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>>
>>
>>
>> --
>> Best regards,
>> Alexandru Ionut Diaconescu
>>
>
>
>
> --
> *Rasha Salah Omar
> Msc Student at E-JUST
> Demonestrator  at Faculty of Computers and Informatics
> Benha University
> *
>



-- 
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130606/51168db2/attachment.html>


More information about the llvm-dev mailing list