|
| | Subject: | index of basic blocks | | Group: | Gcc-help | | From: | Eduardo Martinez Pardeiro | | Date: | 25 Apr 2008 |
Hello, I'm trying to do a new optimization. For this optimization i
need to create new basic blocks. For example creating new bb T=0 :
...
<bb 2>:
t1.18 = clock ();
t1 = t1.18;
aux.23 = 0;
goto <bb 17>;
<bb 15>:
T = 0;
goto <bb 13>;
<bb 3>:
i = 0;
goto <bb 11>;
<bb 4>:
j = 0;
...
The new block have index 15...can i change this index to reorder all
basic blocks? There is some function to do it? i.e.
<bb 2>:
t1.18 = clock ();
t1 = t1.18;
aux.23 = 0;
goto <bb 17>;
<bb 3>:
T = 0;
goto <bb 14>;
<bb 4>:
i = 0;
goto <bb 12>;
<bb 5>:
j = 0;
|