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]

Re: usage of properties fields in opt_pass


Aravinda <aravindakidambi@gmail.com> writes:

> I am interested in writing a new gimple pass using gcc plugins. Since
> Im new to gcc development, can someone please tell me the usage of the
> three property bitmaps present in the opt_pass struct ?
> (properties_required, properties_provided, properties_destroyed). i.e
> How will I know what should be these properties if I want to write a
> new Gimple optimization pass ?

Those bitmaps are combinations of the TODO_xxx bits defined in
tree-pass.h.  Read the comments there, and see the many examples of use
in the gcc source code.

Ian


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