11 #ifndef FIRM_COMMON_FIRM_COMMON_H 12 #define FIRM_COMMON_FIRM_COMMON_H 14 #include "firm_types.h" void ir_init(void)
Initializes the firm library.
firm_kind
A list of firm kinds.
void ir_finish(void)
Frees all memory occupied by the firm library.
const char * ir_get_version_build(void)
returns string describing libFirm build
const char * ir_get_version_revision(void)
returns string describing libFirm revision
unsigned ir_get_version_minor(void)
returns libFirm minor version number
unsigned ir_get_version_major(void)
returns the libFirm major version number
unsigned ir_get_version_micro(void)
returns libFirm micro version number
maximum value – illegal for firm nodes.
firm_kind get_kind(const void *firm_thing)
Returns the kind of a thing.