ILGPU  0.9.0
ILGPU.Backends.IL.DebugILEmitter Struct Reference

Represents an IL emitter for debugging purposes. More...

Inheritance diagram for ILGPU.Backends.IL.DebugILEmitter:

Public Member Functions

 DebugILEmitter (TextWriter writer)
 Constructs a new IL emitter for debugging purposes. More...
ILLocal DeclareLocal (Type type)
ILLabel DeclareLabel ()
void MarkLabel (ILLabel label)
void Emit (LocalOperation operation, ILLocal local)
void Emit (ArgumentOperation operation, int argumentIndex)
void EmitCall (MethodInfo target)
void EmitNewObject (ConstructorInfo info)
void Emit (OpCode opCode)
void Emit (OpCode opCode, ILLabel label)
void Emit (OpCode opCode, Type type)
void Emit (OpCode opCode, FieldInfo field)
void EmitAlloca (int size)
void EmitConstant (string constant)
void EmitConstant (int constant)
void EmitConstant (long constant)
void EmitConstant (float constant)
void EmitConstant (double constant)
void EmitSwitch (params ILLabel[] labels)
void Finish ()
- Public Member Functions inherited from ILGPU.Backends.IL.IILEmitter
void EmitSwitch (ILLabel[] labels)
 Emits a switch instruction. More...


TextWriter Writer [get]
 Returns the associated stream writer. More...

Detailed Description

Represents an IL emitter for debugging purposes.

Constructor & Destructor Documentation

ILGPU.Backends.IL.DebugILEmitter.DebugILEmitter ( TextWriter  writer)

Constructs a new IL emitter for debugging purposes.

writerThe associated text writer.

Member Function Documentation

ILLabel ILGPU.Backends.IL.DebugILEmitter.DeclareLabel ( )
ILLocal ILGPU.Backends.IL.DebugILEmitter.DeclareLocal ( Type  type)
void ILGPU.Backends.IL.DebugILEmitter.Emit ( LocalOperation  operation,
ILLocal  local 
void ILGPU.Backends.IL.DebugILEmitter.Emit ( ArgumentOperation  operation,
int  argumentIndex 
void ILGPU.Backends.IL.DebugILEmitter.Emit ( OpCode  opCode)
void ILGPU.Backends.IL.DebugILEmitter.Emit ( OpCode  opCode,
ILLabel  label 
void ILGPU.Backends.IL.DebugILEmitter.Emit ( OpCode  opCode,
Type  type 
void ILGPU.Backends.IL.DebugILEmitter.Emit ( OpCode  opCode,
FieldInfo  field 
void ILGPU.Backends.IL.DebugILEmitter.EmitAlloca ( int  size)
void ILGPU.Backends.IL.DebugILEmitter.EmitCall ( MethodInfo  target)
void ILGPU.Backends.IL.DebugILEmitter.EmitConstant ( string  constant)
void ILGPU.Backends.IL.DebugILEmitter.EmitConstant ( int  constant)
void ILGPU.Backends.IL.DebugILEmitter.EmitConstant ( long  constant)
void ILGPU.Backends.IL.DebugILEmitter.EmitConstant ( float  constant)
void ILGPU.Backends.IL.DebugILEmitter.EmitConstant ( double  constant)
void ILGPU.Backends.IL.DebugILEmitter.EmitNewObject ( ConstructorInfo  info)
void ILGPU.Backends.IL.DebugILEmitter.EmitSwitch ( params ILLabel[]  labels)

void ILGPU.Backends.IL.DebugILEmitter.Finish ( )
void ILGPU.Backends.IL.DebugILEmitter.MarkLabel ( ILLabel  label)

Property Documentation

TextWriter ILGPU.Backends.IL.DebugILEmitter.Writer

Returns the associated stream writer.

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