projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup and fix some bugs in ir reader/writer
[libfirm]
/
include
/
libfirm
/
irmode.h
diff --git
a/include/libfirm/irmode.h
b/include/libfirm/irmode.h
index
16d6087
..
a6e7b69
100644
(file)
--- a/
include/libfirm/irmode.h
+++ b/
include/libfirm/irmode.h
@@
-478,4
+478,9
@@
void set_reference_mode_unsigned_eq(ir_mode *ref_mode, ir_mode *int_mode);
*/
int is_reinterpret_cast(const ir_mode *src, const ir_mode *dst);
*/
int is_reinterpret_cast(const ir_mode *src, const ir_mode *dst);
+/**
+ * Returns the primitive type matching the given mode
+ */
+ir_type *get_type_for_mode(const ir_mode *mode);
+
#endif
#endif