Added new ifg interface
[libfirm] / ir / be / bearch_firm.h
index cfb7dc6..5ff4e93 100644 (file)
@@ -21,12 +21,15 @@ extern const arch_irn_handler_t firm_irn_handler;
 /* TODO UGLY*/
 int is_Imm(const ir_node *irn);
 
+tarval  *get_Imm_tv(ir_node *irn);
+ir_node *get_Imm_sc(ir_node *irn);
+
 typedef struct {
-       enum { imm_Const, imm_SymConst } tp;
-       union {
-               tarval *tv;
-               entity *ent;
-       } data;
+  enum  { imm_Const, imm_SymConst } tp;
+  union {
+    tarval  *tv;
+    ir_node *symconst;
+  } data;
 } imm_attr_t;
 
 #endif /* _BEARCH_FIRM_H */