Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
abi_properties_gen.cxx File Reference
#include <cstring>
#include <cstddef>
#include <cstdlib>
#include <cstdarg>
#include <cstdio>
#include <cassert>
#include <list>
#include "gen_util.h"
#include "targ_isa_registers.h"
#include "abi_properties_gen.h"
Include dependency graph for abi_properties_gen.cxx:

Go to the source code of this file.

Classes

struct  abi_property
struct  abi

Typedefs

typedef struct abiABI

Functions

void ABI_Properties_Begin (const char *)
ABI_PROPERTY Create_Reg_Property (const char *name)
void Begin_ABI (const char *name)
void Reg_Property (ABI_PROPERTY prop, ISA_REGISTER_CLASS rc,...)
void Reg_Names (ISA_REGISTER_CLASS rc, INT minreg, INT maxreg, const char **names)
static const char * Type_Name (int bits)
static const char * Type_Suffix (int bits)
static int Type_Size (int bits)
void ABI_Properties_End (void)

Variables

static list< ABI_PROPERTYprops
static list< ABIabis
static ABI current_abi
static int prop_count [2][2] = {0}
static const char *const interface []

Typedef Documentation

typedef struct abi * ABI

Function Documentation

void ABI_Properties_Begin ( const char *  )

Definition at line 143 of file abi_properties_gen.cxx.

Referenced by main().

void Begin_ABI ( const char *  name)

Definition at line 171 of file abi_properties_gen.cxx.

References abis, bzero(), current_abi, abi::name, name, abi::reg_names, and result.

Referenced by main().

Here is the call graph for this function:

void Reg_Names ( ISA_REGISTER_CLASS  rc,
INT  minreg,
INT  maxreg,
const char **  names 
)

Definition at line 212 of file abi_properties_gen.cxx.

References current_abi, and abi::reg_names.

Referenced by ia64_abi().

void Reg_Property ( ABI_PROPERTY  prop,
ISA_REGISTER_CLASS  rc,
  ... 
)

Definition at line 188 of file abi_properties_gen.cxx.

References current_abi, prop_count, abi::reg_flags, and abi_property::v.

Referenced by ia64_abi().

static const char* Type_Name ( int  bits) [static]

Definition at line 225 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End().

static int Type_Size ( int  bits) [static]

Definition at line 266 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End().

static const char* Type_Suffix ( int  bits) [static]

Definition at line 245 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End().


Variable Documentation

list<ABI> abis [static]

Definition at line 88 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End(), and Begin_ABI().

ABI current_abi [static]

Definition at line 89 of file abi_properties_gen.cxx.

Referenced by Begin_ABI(), Reg_Names(), and Reg_Property().

const char* const interface[] [static]

Definition at line 93 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End().

int prop_count[2][2] = {0} [static]

Definition at line 90 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End(), and Reg_Property().

list<ABI_PROPERTY> props [static]

Definition at line 87 of file abi_properties_gen.cxx.

Referenced by ABI_Properties_End(), and Create_Reg_Property().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines