osprey/common/targ_info/generate/proc_properties_gen.cxx File Reference

#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include <list>
#include <vector>
#include "gen_util.h"
#include "targ_proc.h"
#include "proc_properties_gen.h"

Include dependency graph for proc_properties_gen.cxx:

Go to the source code of this file.

Data Types

type  proc_property

Enumerations

enum  { BIT_ALWAYS_TRUE = -1, BIT_ALWAYS_FALSE = -2 }

Functions/Subroutines

void PROC_Properties_Begin (const char *)
PROC_PROPERTY PROC_Property_Create (const char *name)
void Processor_Group (PROC_PROPERTY property,...)
void PROC_Properties_End (void)

Variables

static int proc_property_count = 0
static std::list< PROC_PROPERTYproperties
static const char *const interface []


Enumeration Type Documentation

anonymous enum

Enumerator:
BIT_ALWAYS_TRUE 
BIT_ALWAYS_FALSE 

Definition at line 74 of file proc_properties_gen.cxx.


Function Documentation

void PROC_Properties_Begin ( const char *   ) 

Definition at line 104 of file proc_properties_gen.cxx.

Referenced by main().

void PROC_Properties_End ( void   ) 

PROC_PROPERTY PROC_Property_Create ( const char *  name  ) 

Definition at line 112 of file proc_properties_gen.cxx.

References proc_property::members, proc_property::name, proc_property_count, properties, and result.

Referenced by main().

void Processor_Group ( PROC_PROPERTY  property,
  ... 
)

Definition at line 130 of file proc_properties_gen.cxx.

References int, opcode, va_arg, va_end, and va_start.

Referenced by main().


Variable Documentation

const char* const interface[] [static]

Initial value:

 {
  "/* ====================================================================",
  " * ====================================================================",
  " *",
  " * Description:",
  " *",
  " *   A description of the properties (attributes) for the processors",
  " *   in the PROC. The description exports the following:",
  " *",
  " *   BOOL PROC_xxx(void)",
  " *       Return true/false if PROCESSOR_Value has/does-not-have the",
  " *       property 'xxx'.",
  " *",
  " * ====================================================================",
  " * ====================================================================",
  " */",
  NULL
}

Definition at line 83 of file proc_properties_gen.cxx.

int proc_property_count = 0 [static]

Definition at line 80 of file proc_properties_gen.cxx.

Referenced by PROC_Property_Create().

std::list<PROC_PROPERTY> properties [static]

Definition at line 81 of file proc_properties_gen.cxx.


Generated on Wed Apr 8 14:42:08 2009 for Open64 by  doxygen 1.5.6