ILGPU  0.9.0
ILGPU.IR.Analyses.PointerAlignments.AlignmentInfo Struct Reference

Stores alignment information of a specific method. More...

Public Attributes

readonly int this[Value value]
 Returns pointer alignment information for the given value. More...
 

Properties

Method Method [get]
 Returns the associated method. More...
 

Detailed Description

Stores alignment information of a specific method.

Member Data Documentation

readonly int ILGPU.IR.Analyses.PointerAlignments.AlignmentInfo.this[Value value]
Initial value:
=>
Alignments.TryGetValue(value, out int alignment)
? alignment
: 1

Returns pointer alignment information for the given value.

Parameters
valueThe value to get alignment information for.
Returns
Pointer alignment in bytes (can be 1 byte).

Property Documentation

Method ILGPU.IR.Analyses.PointerAlignments.AlignmentInfo.Method
get

Returns the associated method.


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