Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
gen_util.cxx File Reference
#include <stdio.h>
#include "gen_util.h"
Include dependency graph for gen_util.cxx:

Go to the source code of this file.

Classes

struct  definition

Typedefs

typedef struct definition DEFINITION

Enumerations

enum  DEFINITION_KIND { DK_MACRO }

Functions

void Emit_Header (FILE *hfile, const char *name, const char *const *interface_desc)
void Emit_Footer (FILE *hfile)
void Define_Macro (const char *name, const char *def)
void Emit_Definitions (FILE *hfile, const char *prefix)

Variables

static DEFINITIONdefs
static DEFINITIONlastdef

Typedef Documentation

typedef struct definition DEFINITION

Enumeration Type Documentation

Enumerator:
DK_MACRO 

Definition at line 99 of file gen_util.cxx.


Function Documentation

void Define_Macro ( const char *  name,
const char *  def 
)

Definition at line 113 of file gen_util.cxx.

References DK_MACRO, definition::kind, definition::name, name, definition::next, NULL, and definition::s.

Referenced by main().

void Emit_Definitions ( FILE *  hfile,
const char *  prefix 
)

Definition at line 128 of file gen_util.cxx.

References c, fprintf(), definition::name, definition::next, NULL, s, and definition::s.

Referenced by ISA_Print_End().

Here is the call graph for this function:

void Emit_Header ( FILE *  hfile,
const char *  name,
const char *const interface_desc 
)

Variable Documentation

DEFINITION* defs [static]

Definition at line 110 of file gen_util.cxx.

Referenced by _Cif_binread(), Cif_Free(), Cif_Putrecord(), and CFG_NODE_INFO::Print().

DEFINITION* lastdef [static]

Definition at line 111 of file gen_util.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines