HLVM API Documentation

Program Class Reference

AST Program Node. More...

#include <Linkables.h>

Inheritance diagram for Program:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

Accessors

Protected Member Functions

Constructors

Friends


Detailed Description

AST Program Node.

This class provides an Abstract Syntax Tree node that represents a Program in HLVM. A Program is an entry point for running HLVM programs. It is simply a Function with a specific signature. It represents the first function to be executed by the runtime after option processing. To be executable, a Bundle must have at least one Program node in it. The Program node exists to simply ensure that the signature of the function is correct and to serve as a way to identify Program's quickly.

See also:
Function

Bundle

SignatureType

Definition at line 274 of file Linkables.h.


Constructor & Destructor Documentation

Program  )  [inline, protected]
 

Definition at line 279 of file Linkables.h.

~Program  )  [protected, virtual]
 

Definition at line 113 of file Linkables.cpp.


Member Function Documentation

static bool classof const Node N  )  [inline, static]
 

Provide support for isa<X> and friends.

Reimplemented from Function.

Definition at line 287 of file Linkables.h.

References Node::is(), and hlvm::ProgramID.

static bool classof const Program  )  [inline, static]
 

Definition at line 286 of file Linkables.h.


Friends And Related Function Documentation

friend class AST [friend]
 

Reimplemented from Function.

Definition at line 295 of file Linkables.h.


The documentation for this class was generated from the following files: