osprey/common/targ_info/generate/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.

Data Types

type  definition

Typedefs

typedef struct definition DEFINITION

Enumerations

enum  DEFINITION_KIND { DK_MACRO }

Functions/Subroutines

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


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, 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(), fputc(), definition::name, definition::next, NULL, pos(), s, and definition::s.

Referenced by ISA_Print_End().

void Emit_Footer ( FILE hfile  ) 

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

Definition at line 39 of file gen_util.cxx.

References fprintf(), i, and NULL.


Variable Documentation

DEFINITION* defs [static]

DEFINITION* lastdef [static]

Definition at line 111 of file gen_util.cxx.


Generated on Wed Apr 8 14:41:57 2009 for Open64 by  doxygen 1.5.6