Mapping between variables and GIMPLE statements

Abdul Wahid Memon engrwahidmemon@gmail.com
Wed Jun 24 09:35:00 GMT 2015


Hello all

Considering the following GIMPLE statement:

a = 0; // stmt

TREE_CODE(gimple_assign_lhs(stmt)) is VAR_DECL.

Is it possible to retrieve the above statement from
gimple_assign_lhs(stmt) tree like SSA_NAME_DEF_STMT ( ) works for
SSA_NAME?

Regards

Abdul



More information about the Gcc-help mailing list