This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

index of basic blocks


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]