libFirm
Loading...
Searching...
No Matches
irio.h
1/*
2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
4 */
5
11#ifndef FIRM_IR_IRIO_H
12#define FIRM_IR_IRIO_H
13
14#include <stdio.h>
15#include "firm_types.h"
16
17#include "begin.h"
18
33FIRM_API int ir_export(const char *filename);
34
39FIRM_API void ir_export_file(FILE *output);
40
48FIRM_API int ir_import(const char *filename);
49
53FIRM_API int ir_import_file(FILE *input, const char *inputname);
54
57#include "end.h"
58
59#endif
int ir_import_file(FILE *input, const char *inputname)
same as ir_import but imports from a FILE*
void ir_export_file(FILE *output)
same as ir_export but writes to a FILE*
int ir_export(const char *filename)
Exports the whole irp to the given file in a textual form.
int ir_import(const char *filename)
Imports the data stored in the given file.