ILGPU
0.9.0
|
The base interface of all values. More...
Public Member Functions | |
Value | Resolve () |
Resolves the actual value with respect to replacement information. More... | |
T | ResolveAs< T > () |
Resolves the actual value with respect to replacement information. More... | |
void | Accept< T > (T visitor) |
Accepts a value visitor. More... | |
void | Replace (Value other) |
Replaces this value with the given value. More... | |
![]() | |
string | FormatErrorMessage (string message) |
Formats an error message to include specific location information. More... | |
![]() | |
void | Dump (TextWriter textWriter) |
Dumps this object to the given text writer. More... | |
Properties | |
ValueKind | ValueKind [get] |
Returns the current value kind. More... | |
TypeNode | Type [get] |
Returns the associated type information. More... | |
BasicBlock | BasicBlock [get] |
Returns the parent basic block. More... | |
BasicValueType | BasicValueType [get] |
Returns the associated basic value type. More... | |
ReadOnlySpan< ValueReference > | Nodes [get] |
Returns all associated nodes. More... | |
UseCollection | Uses [get] |
Returns all associated uses. More... | |
![]() | |
NodeId | Id [get] |
Returns the unique node id. More... | |
Location | Location [get] |
Returns the associated location. More... | |
The base interface of all values.
void ILGPU.IR.IValue.Accept< T > | ( | T | visitor | ) |
Accepts a value visitor.
T | The type of the visitor. |
visitor | The visitor. |
Implemented in ILGPU.IR.Values.SetField, ILGPU.IR.Values.GetField, ILGPU.IR.Values.StructureValue, ILGPU.IR.Values.BuilderTerminator, ILGPU.IR.Values.SwitchBranch, ILGPU.IR.Values.IntAsFloatCast, ILGPU.IR.Value, ILGPU.IR.Values.SubWarpShuffle, ILGPU.IR.Values.FloatAsIntCast, ILGPU.IR.Values.IfBranch, ILGPU.IR.Values.WarpShuffle, ILGPU.IR.Values.LaneIdxValue, ILGPU.IR.Values.TernaryArithmeticValue, ILGPU.IR.Values.ViewCast, ILGPU.IR.Values.WarpSizeValue, ILGPU.IR.Values.PhiValue, ILGPU.IR.Values.Store, ILGPU.IR.Values.GroupDimensionValue, ILGPU.IR.Values.Broadcast, ILGPU.IR.Values.SetArrayElement, ILGPU.IR.Values.StringValue, ILGPU.IR.Values.UnconditionalBranch, ILGPU.IR.Values.AddressSpaceCast, ILGPU.IR.Values.LoadFieldAddress, ILGPU.IR.Values.SwitchPredicate, ILGPU.IR.Values.BinaryArithmeticValue, ILGPU.IR.Values.GridDimensionValue, ILGPU.IR.Values.Load, ILGPU.IR.Values.AtomicCAS, ILGPU.IR.Values.GetArrayElement, ILGPU.IR.Values.GroupIndexValue, ILGPU.IR.Values.PrimitiveValue, ILGPU.IR.Values.PointerCast, ILGPU.IR.Values.CompareValue, ILGPU.IR.Values.MemoryBarrier, ILGPU.IR.Values.ReturnTerminator, ILGPU.IR.Values.GetViewLength, ILGPU.IR.Values.Barrier, ILGPU.IR.Values.LoadElementAddress, ILGPU.IR.Values.GetArrayExtent, ILGPU.IR.Values.GenericAtomic, ILGPU.IR.Values.UnaryArithmeticValue, ILGPU.IR.Values.GridIndexValue, ILGPU.IR.Values.ConvertValue, ILGPU.IR.Values.MethodCall, ILGPU.IR.Values.ValueReference, ILGPU.IR.Values.Alloca, ILGPU.IR.Values.PredicateBarrier, ILGPU.IR.Values.IfPredicate, ILGPU.IR.Values.SubViewValue, ILGPU.IR.Values.IntAsPointerCast, ILGPU.IR.Values.Parameter, ILGPU.IR.Values.DebugOperation, ILGPU.IR.Values.NewView, ILGPU.IR.Values.ArrayValue, ILGPU.IR.Values.NullValue, ILGPU.IR.Values.AcceleratorTypeValue, ILGPU.IR.Values.HandleValue, and ILGPU.IR.Values.UndefinedValue.
T | : | IValueVisitor |
void ILGPU.IR.IValue.Replace | ( | Value | other | ) |
Replaces this value with the given value.
other | The other value. |
Implemented in ILGPU.IR.Value, and ILGPU.IR.Values.ValueReference.
Value ILGPU.IR.IValue.Resolve | ( | ) |
Resolves the actual value with respect to replacement information.
Implemented in ILGPU.IR.Value, and ILGPU.IR.Values.ValueReference.
T ILGPU.IR.IValue.ResolveAs< T > | ( | ) |
Resolves the actual value with respect to replacement information.
T | The target type. |
Implemented in ILGPU.IR.Value, and ILGPU.IR.Values.ValueReference.
T | : | Value |
|
get |
Returns the parent basic block.
|
get |
Returns the associated basic value type.
|
get |
Returns all associated nodes.
|
get |
Returns the associated type information.
|
get |
Returns all associated uses.
|
get |
Returns the current value kind.