ILGPU  0.9.0
ILGPU.IR.Analyses.AllocaKindInformation Struct Reference

Represents information about a whole category of alloca nodes. More...

Public Member Functions

bool Contains (Alloca alloca)
 Returns true if the given alloca is contained in this collection. More...
 
ImmutableArray< AllocaInformation >.Enumerator GetEnumerator ()
 Returns an enumerator to enumerate all allocas. More...
 

Public Attributes

AllocaInformation this[int index] => Allocas[index]
 Returns the i-th allocations. More...
 
int Length => Allocas.Length
 Returns the number of allocations. More...
 

Properties

ImmutableArray< AllocaInformationAllocas [get]
 Returns the alloca nodes. More...
 
int TotalSize [get]
 Returns the element size in bytes of a single element. More...
 

Detailed Description

Represents information about a whole category of alloca nodes.

Member Function Documentation

bool ILGPU.IR.Analyses.AllocaKindInformation.Contains ( Alloca  alloca)

Returns true if the given alloca is contained in this collection.

Parameters
allocaThe alloca.
Returns
True, if the given alloca is contained in this collection.
ImmutableArray<AllocaInformation>.Enumerator ILGPU.IR.Analyses.AllocaKindInformation.GetEnumerator ( )

Returns an enumerator to enumerate all allocas.

Returns
An enumerator to enumerate all allocas.

Member Data Documentation

int ILGPU.IR.Analyses.AllocaKindInformation.Length => Allocas.Length

Returns the number of allocations.

AllocaInformation ILGPU.IR.Analyses.AllocaKindInformation.this[int index] => Allocas[index]

Returns the i-th allocations.

Parameters
indexThe index.
Returns
The resolved alloca information.

Property Documentation

ImmutableArray<AllocaInformation> ILGPU.IR.Analyses.AllocaKindInformation.Allocas
get

Returns the alloca nodes.

int ILGPU.IR.Analyses.AllocaKindInformation.TotalSize
get

Returns the element size in bytes of a single element.


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