Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#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"
Go to the source code of this file.
Classes | |
struct | abi_property |
struct | abi |
Typedefs | |
typedef struct abi * | ABI |
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_PROPERTY > | props |
static list< ABI > | abis |
static ABI | current_abi |
static int | prop_count [2][2] = {0} |
static const char *const | interface [] |
void ABI_Properties_Begin | ( | const char * | ) |
Definition at line 143 of file abi_properties_gen.cxx.
Referenced by main().
void ABI_Properties_End | ( | void | ) |
Definition at line 286 of file abi_properties_gen.cxx.
References abis, cfile, efile, Emit_Footer(), Emit_Header(), abi::flags, fprintf(), hfile, interface, abi_property::is_flag, abi_property::is_reg, abi_property::name, abi::name, name, NULL, prop_count, props, abi::reg_flags, abi::reg_names, Type_Name(), Type_Size(), Type_Suffix(), and abi_property::v.
Referenced by main().
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().
ABI_PROPERTY Create_Reg_Property | ( | const char * | name | ) |
Definition at line 152 of file abi_properties_gen.cxx.
References abi_property::is_flag, abi_property::is_reg, abi_property::name, name, props, result, and abi_property::v.
Referenced by main().
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().
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().
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().
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().