ILGPU  0.9.0
ILGPU.IR.Types.HandleType Class Reference

Represents a .Net runtime-specific handle type. More...

Inheritance diagram for ILGPU.IR.Types.HandleType:
ILGPU.IR.Types.TypeNode ILGPU.IR.Node ILGPU.IR.Types.ITypeNode ILGPU.IR.INode ILGPU.IR.INode ILGPU.IR.ILocation ILGPU.IR.IDumpable ILGPU.IR.ILocation ILGPU.IR.IDumpable

Public Member Functions

override int GetHashCode ()
 
override bool Equals (object obj)
 
- Public Member Functions inherited from ILGPU.IR.Types.TypeNode
bool HasFlags (TypeFlags typeFlags)
 Returns true if the given flags are set. More...
 
As< T > (ILocation location)
 Converts the current type to the given type T . More...
 
override string FormatErrorMessage (string message)
 Formats an error message to include the current debug information. More...
 
override int GetHashCode ()
 Returns the hash code of this type node. More...
 
override bool Equals (object obj)
 Returns true if the given object is equal to the current type. More...
 
override string ToString ()
 Returns the string representation of this node. More...
 
- Public Member Functions inherited from ILGPU.IR.Node
virtual void Dump (TextWriter textWriter)
 Dumps this method to the given text writer. More...
 
string ToReferenceString ()
 Returns the string representation of this node as reference. More...
 
override string ToString ()
 Returns the string representation of this node. More...
 

Protected Member Functions

override Type GetManagedType ()
 Creates an object type. More...
 
override string ToPrefixString ()
 
- Protected Member Functions inherited from ILGPU.IR.Types.TypeNode
 TypeNode (IRTypeContext typeContext)
 Constructs a new type. More...
 
void AddFlags (TypeFlags typeFlags)
 Adds the given flags to the current type. More...
 
- Protected Member Functions inherited from ILGPU.IR.Node
 Node (Location location)
 Constructs a new node that is marked as replaceable. More...
 
void InferLocation< T > (ReadOnlySpan< T > elements)
 Infers the location (if required) of the current node. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ILGPU.IR.Types.TypeNode
static long Align (long offset, int fieldAlignment)
 Computes a properly aligned offset in bytes for the given field size. More...
 
static int Align (int offset, int fieldAlignment)
 Computes a properly aligned offset in bytes for the given field size. More...
 
- Public Attributes inherited from ILGPU.IR.Types.TypeNode
Context Context => TypeContext.Context
 Returns the parent ILGPU context. More...
 
bool IsVoidType => this is VoidType
 Returns true if the current type is a VoidType. More...
 
bool IsStringType => this is StringType
 Returns true if the current type is a StringType. More...
 
bool IsPrimitiveType => this is PrimitiveType
 Returns true if the current type is a PrimitiveType. More...
 
bool IsViewOrPointerType => this is AddressSpaceType
 Returns true if the current type is a PointerType or a ViewType. More...
 
bool IsPointerType => this is PointerType
 Returns true if the current type is a PointerType. More...
 
bool IsViewType => this is ViewType
 Returns true if the current type is a ViewType. More...
 
bool IsObjectType => this is ObjectType
 Returns true if the current type is an ObjectType. More...
 
bool IsStructureType => this is StructureType
 Returns true if the current type is a StructureType. More...
 
bool IsArrayType => this is ArrayType
 Returns true if the current type is a ArrayType. More...
 
bool IsRootType
 Returns true if this type is a root object type. More...
 
BasicValueType BasicValueType
 Returns the basic value type. More...
 
bool IsLowered
 Returns true if this type corresponds to its lowered representation. More...
 
Type ManagedType => managedType # GetManagedType()
 The type representation in the managed world. More...
 
- Properties inherited from ILGPU.IR.Types.TypeNode
IRTypeContext TypeContext [get]
 Returns the parent type context. More...
 
int Size [get, protected set]
 The size of the type in bytes (if the type is in its lowered representation). More...
 
int Alignment [get, protected set]
 The type alignment in bytes (if the type is in its lowered representation). More...
 
TypeFlags Flags [get]
 Returns all type flags. More...
 
- Properties inherited from ILGPU.IR.Node
Location Location [get]
 Returns the associated location. More...
 
NodeId Id [get]
 Returns the unique node id. More...
 
- Properties inherited from ILGPU.IR.INode
NodeId Id [get]
 Returns the unique node id. More...
 
Location Location [get]
 Returns the associated location. More...
 
- Properties inherited from ILGPU.IR.Types.ITypeNode
Type ManagedType [get]
 The type representation in the managed world. More...
 

Detailed Description

Represents a .Net runtime-specific handle type.

Member Function Documentation

override bool ILGPU.IR.Types.HandleType.Equals ( object  obj)

override int ILGPU.IR.Types.HandleType.GetHashCode ( )

override Type ILGPU.IR.Types.HandleType.GetManagedType ( )
protectedvirtual

Creates an object type.

Implements ILGPU.IR.Types.TypeNode.

override string ILGPU.IR.Types.HandleType.ToPrefixString ( )
protectedvirtual

Implements ILGPU.IR.Node.


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