This is the mail archive of the gcc@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] | |
On 8/25/05, Paolo Bonzini <paolo.bonzini@lu.unisi.ch> wrote:Do you mean the source code? A hint: grep ^func_name *.c will get to it for every function in gcc.
I consider this to be less readable than the peep2 way to do it, especially if your peephole2 had three or four instructions. And peep2_regno_dead_p uses an array (a circular buffer) so it's more efficient. Indeed dead_or_set_p even has a loop inside it.
Paolo
Thanks a lot for ur help. can u give me a pointer to the origin of
peep2_reg_dead_p?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |