You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA. */
+Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA. */
#ifndef IPA_PROP_H
#define IPA_PROP_H
/* A jump function for a callsite represents the values passed as actual
arguments of the callsite. There are three main types of values :
Formal - the caller's formal parameter is passed as an actual argument.
- Constant - a constant is passed as a an actual argument.
+ Constant - a constant is passed as an actual argument.
Unknown - neither of the above.
Integer and real constants are represented as CONST_IPATYPE and Fortran
constants are represented as CONST_IPATYPE_REF. */
};
/* Represents the value of either jump function or cval.
- value represnts a constant.
+ value represents a constant.
formal_id is used only in jump function context and represents
pass-through parameter (the formal of caller is passed
as argument). */
to ipa_node/ipa_edge struct. */
#define IPA_NODE_REF(MT) ((struct ipa_node *)(MT)->aux)
#define IPA_EDGE_REF(EDGE) ((struct ipa_edge *)(EDGE)->aux)
+/* This macro checks validity of index returned by
+ ipa_method_tree_map function. */
+#define IS_VALID_TREE_MAP_INDEX(I) ((I) != -1)
/* ipa_node stores information related to a method and
its formal parameters. It is pointed to by a field in the
struct ipa_methodlist *next_method;
};
-/* A pointer to a methodlist elemement. */
+/* A pointer to a methodlist element. */
typedef struct ipa_methodlist *ipa_methodlist_p;
/* ipa_methodlist interface. */
void ipa_method_tree_print (FILE *);
void ipa_method_modify_print (FILE *);
-void ipcp_driver (void);
-
#endif /* IPA_PROP_H */