GPUOcelot
Public Member Functions | Public Attributes

ir::Global Class Reference

A class for referencing preinitialized global variables. More...

#include <Global.h>

Collaboration diagram for ir::Global:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Global ()
 Statement declaring the variable.
 Global (char *)
 Initializing constructor.
 Global (const ir::PTXStatement &)
 Construct from Statement.
 Global (const Global &)
 Copy constructor.
 ~Global ()
 Destructor for preinitialized globals.
Globaloperator= (const Global &)
 Assignment.
PTXInstruction::AddressSpace space () const
 Get the address space of the global.
const std::string & name () const
 Get the identifier of the global.

Public Attributes

bool local
void * pointer
 Is variable set via an initializer.
void * reference
 Pointer to memory base.
ir::PTXStatement statement
 dummy pointer used for lookups

Detailed Description

A class for referencing preinitialized global variables.


Constructor & Destructor Documentation

ir::Global::Global ( )

Statement declaring the variable.

Constructor

ir::Global::Global ( char *  p)

Initializing constructor.

ir::Global::Global ( const ir::PTXStatement s)

Construct from Statement.

ir::Global::Global ( const Global g)

Copy constructor.

ir::Global::~Global ( )

Destructor for preinitialized globals.


Member Function Documentation

const std::string & ir::Global::name ( ) const

Get the identifier of the global.

Global & ir::Global::operator= ( const Global g)

Assignment.

PTXInstruction::AddressSpace ir::Global::space ( ) const

Get the address space of the global.


Member Data Documentation

Is variable set via an initializer.

Pointer to memory base.

dummy pointer used for lookups


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines