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]

Re: Tree-SSA question


sandeep soni <saintiwara@gmail.com> writes:

> Well..now I want to know what is the structure which this pass
> maintains to emit these statements.Where can i find it (In which
> source files)and can it be modified?

It's GIMPLE, defined mainly in gimple.def, gimple.h, and gimple.c.
Yes, it can be modified.

> I chiefly want to separate the predicate of the if condition, the if
> block and the else block..can it be done?

I don't understand how you can separate this things.  Given a
GIMPLE_COND statement, you can certainly look at the condition and the
two goto statements.  You may want to look at tree-ssa-ifcombine.c.

Ian


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