Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
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.

Classes

struct  proc_property

Enumerations

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

Functions

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 list< PROC_PROPERTYproperties
static const char *const interface []

Enumeration Type Documentation

anonymous enum
Enumerator:
BIT_ALWAYS_TRUE 
BIT_ALWAYS_FALSE 

Definition at line 70 of file proc_properties_gen.cxx.


Function Documentation

void PROC_Properties_Begin ( const char *  )

Definition at line 100 of file proc_properties_gen.cxx.

Referenced by main().

void PROC_Properties_End ( void  )

Definition at line 143 of file proc_properties_gen.cxx.

References BIT_ALWAYS_FALSE, BIT_ALWAYS_TRUE, cfile, code, efile, Emit_Footer(), Emit_Header(), fprintf(), hfile, interface, proc_property::members, and properties.

Referenced by main().

Here is the call graph for this function:

void Processor_Group ( PROC_PROPERTY  property,
  ... 
)

Definition at line 126 of file proc_properties_gen.cxx.

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 79 of file proc_properties_gen.cxx.

Referenced by PROC_Properties_End().

int proc_property_count = 0 [static]

Definition at line 76 of file proc_properties_gen.cxx.

Referenced by PROC_Property_Create().

list<PROC_PROPERTY> properties [static]

Definition at line 77 of file proc_properties_gen.cxx.

Referenced by PROC_Properties_End(), and PROC_Property_Create().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines