writing to a dump after a pass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
    Vectorization is a pass called from
tree_vectorize() function and enabled by
-ftree-vectorize flag. 
During that pass it prints information(related to
vectorization) to a "*.c.*vect" file.

After that pass it prints entire program to
"*.c.*vect" file. I want to see how it prints the
entire program. In which file gcc prints entire
program to "*.c.*vect"???

Actually my problem is this:
1)I can print all statements by
FOR_EACH_BB (bb)
print_generic_stmt(vect_dump,bb->stmt_list,0);

2)I can print all statements which defines PHI  nodes
by 
FOR_EACH_BB (bb)
for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
print_generic_expr (vect_dump, phi, TDF_SLIM);

3) But PHI node statements may exist between ordinary
statements. ie) PHI nose statements and ordinary
statements are intermixed inside a basic block.So how
to print all statements in a basic block with correct
order???
Thanks in advance.


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux