/* don't use the following vars directly, they're only here for the inlines */
extern FILE *emit_file;
extern struct obstack emit_obst;
/* don't use the following vars directly, they're only here for the inlines */
extern FILE *emit_file;
extern struct obstack emit_obst;
*/
static inline void be_emit_char(char c)
{
obstack_1grow(&emit_obst, c);
*/
static inline void be_emit_char(char c)
{
obstack_1grow(&emit_obst, c);
* @param str the string
* @param l the length of the given string
*/
static inline void be_emit_string_len(const char *str, size_t l)
{
obstack_grow(&emit_obst, str, l);
* @param str the string
* @param l the length of the given string
*/
static inline void be_emit_string_len(const char *str, size_t l)
{
obstack_grow(&emit_obst, str, l);
* @param F a file handle where the emitted file is written to.
*/
void be_emit_init(FILE *F);
/**
* Destroys the given emitter environment.
* @param F a file handle where the emitted file is written to.
*/
void be_emit_init(FILE *F);
/**
* Destroys the given emitter environment.
* @param fmt the ir_printf format
*/
void be_emit_irprintf(const char *fmt, ...);
* @param fmt the ir_printf format
*/
void be_emit_irprintf(const char *fmt, ...);
* @param fmt the ir_printf format
*/
void be_emit_irvprintf(const char *fmt, va_list args);
/**
* Flush the line in the current line buffer to the emitter file.
* @param fmt the ir_printf format
*/
void be_emit_irvprintf(const char *fmt, va_list args);
/**
* Flush the line in the current line buffer to the emitter file.
* Flush the line in the current line buffer to the emitter file and
* appends a gas-style comment with the node number and writes the line
*
* Flush the line in the current line buffer to the emitter file and
* appends a gas-style comment with the node number and writes the line
*
* @param node the node to get the debug info from
*/
void be_emit_finish_line_gas(const ir_node *node);
/**
* Emit spaces until the comment position is reached.
* @param node the node to get the debug info from
*/
void be_emit_finish_line_gas(const ir_node *node);
/**
* Emit spaces until the comment position is reached.