GPUOcelot
Public Types | Public Member Functions | Public Attributes

ir::LLVMInstruction::Type Class Reference

A class for an LLVM basic or derived type. More...

#include <LLVMInstruction.h>

List of all members.

Public Types

enum  Category {
  Element, Array, Function, Structure,
  PackedStructure, Pointer, Vector, Opaque,
  InvalidCategory
}
 

All possible operand types.

More...
typedef std::vector< TypeTypeVector
 An ordered set of types.

Public Member Functions

 Type (DataType t=InvalidDataType, Category c=InvalidCategory, LLVMI32 v=1)
 The constructor sets the type and pointer flag.
std::string toString () const
 A parsable string representation of the Type.

Public Attributes

TypeVector members
 The other types contained.
DataType type
 The datatype of the Type.
Category category
 The category of the Type.
std::string label
 The label of the Type.
LLVMI32 vector
 The vector width of the Type.

Detailed Description

A class for an LLVM basic or derived type.


Member Typedef Documentation

An ordered set of types.


Member Enumeration Documentation

All possible operand types.

Enumerator:
Element 
Array 

A single element of a base type.

Function 

An array of elements.

Structure 

A function pointer.

PackedStructure 

An unconstrained ordered set of types.

Pointer 

Structure with no padding.

Vector 

A pointer to a type.

Opaque 

A vector for use in SIMD instructions.

InvalidCategory 

An unknown type that has not been resolved.


Constructor & Destructor Documentation

ir::LLVMInstruction::Type::Type ( DataType  t = InvalidDataType,
Category  c = InvalidCategory,
LLVMI32  v = 1 
)

The constructor sets the type and pointer flag.


Member Function Documentation

std::string ir::LLVMInstruction::Type::toString ( ) const

A parsable string representation of the Type.


Member Data Documentation

The category of the Type.

The label of the Type.

The other types contained.

The datatype of the Type.

The vector width of the Type.


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