libFirm
Loading...
Searching...
No Matches
irprintf.h
1/*
2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
4 */
5
11#ifndef FIRM_IR_IRPRINTF_H
12#define FIRM_IR_IRPRINTF_H
13
14#include <stdarg.h>
15#include <stdio.h>
16#include "firm_types.h"
17struct obstack;
18
19#include "begin.h"
20
51FIRM_API int ir_printf(const char *fmt, ...);
52
56FIRM_API int ir_fprintf(FILE *f, const char *fmt, ...);
57
61FIRM_API int ir_snprintf(char *buf, size_t n, const char *fmt, ...);
62
66FIRM_API int ir_vprintf(const char *fmt, va_list args);
67
71FIRM_API int ir_vfprintf(FILE *f, const char *fmt, va_list args);
72
76FIRM_API int ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args);
77
81FIRM_API int ir_obst_vprintf(struct obstack *obst, const char *fmt,
82 va_list args);
83
99FIRM_API int tarval_snprintf(char *buf, size_t buflen, ir_tarval const *tv);
100
102#include "end.h"
103
104#endif
int ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args)
int ir_vprintf(const char *fmt, va_list args)
int ir_vfprintf(FILE *f, const char *fmt, va_list args)
int ir_snprintf(char *buf, size_t n, const char *fmt,...)
int ir_fprintf(FILE *f, const char *fmt,...)
int ir_obst_vprintf(struct obstack *obst, const char *fmt, va_list args)
int tarval_snprintf(char *buf, size_t buflen, ir_tarval const *tv)
Output a tarval in human readable format to a string buffer.
int ir_printf(const char *fmt,...)
A string formatting routine for ir objects.
struct ir_tarval ir_tarval
Target Machine Value.
Definition firm_types.h:68