2 * This file is part of cparser.
3 * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
8 #include <libfirm/firm.h>
12 void translation_unit_to_firm(translation_unit_t *unit);
14 void init_ast2firm(void);
15 void exit_ast2firm(void);
17 ir_type *get_ir_type(type_t *type);
19 typedef ident* (*create_ld_ident_func)(entity_t *entity);
21 void set_create_ld_ident(create_ld_ident_func func);
23 ir_tarval *fold_constant_to_tarval(const expression_t *expression);
24 void determine_enum_values(enum_type_t *type);
26 extern fp_model_t firm_fp_model;
27 extern ir_mode *atomic_modes[ATOMIC_TYPE_LAST+1];