44 references to EmitShort
ILCompiler.Compiler (44)
Compiler\DependencyAnalysis\FrozenStringNode.cs (2)
35
dataBuilder.
EmitShort
((short)c);
39
dataBuilder.
EmitShort
(0);
Compiler\DependencyAnalysis\GenericDefinitionEETypeNode.cs (2)
50
dataBuilder.
EmitShort
(0); // No VTable
51
dataBuilder.
EmitShort
(0); // No interface map
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (14)
217
builder.
EmitShort
((short)checked((ushort)entryIndex));
218
builder.
EmitShort
((short)checked((ushort)emittedInterfaceSlot));
219
builder.
EmitShort
((short)checked((ushort)emittedImplSlot));
303
builder.
EmitShort
((short)checked((ushort)defaultImplementation.InterfaceIndex));
304
builder.
EmitShort
((short)checked((ushort)defaultImplementation.InterfaceMethodSlot));
305
builder.
EmitShort
((short)checked((ushort)defaultImplementation.ImplMethodSlot));
311
builder.
EmitShort
((short)checked((ushort)staticImplementation.InterfaceIndex));
312
builder.
EmitShort
((short)checked((ushort)staticImplementation.InterfaceMethodSlot));
313
builder.
EmitShort
((short)checked((ushort)staticImplementation.ImplMethodSlot));
314
builder.
EmitShort
((short)checked((ushort)staticImplementation.Context));
320
builder.
EmitShort
((short)checked((ushort)staticImplementation.InterfaceIndex));
321
builder.
EmitShort
((short)checked((ushort)staticImplementation.InterfaceMethodSlot));
322
builder.
EmitShort
((short)checked((ushort)staticImplementation.ImplMethodSlot));
323
builder.
EmitShort
((short)checked((ushort)staticImplementation.Context));
Compiler\DependencyAnalysis\ReadyToRunHeaderNode.cs (2)
68
builder.
EmitShort
((short)(ReadyToRunHeaderConstants.CurrentMajorVersion));
69
builder.
EmitShort
((short)(ReadyToRunHeaderConstants.CurrentMinorVersion));
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\ObjectDataBuilder.cs (1)
134
EmitShort
(emit);
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\Target_ARM\ARMEmitter.cs (21)
41
Builder.
EmitShort
((short)(0x2000 + ((byte)reg << 8) + immediate));
50
Builder.
EmitShort
((short)(0x2800 + ((byte)reg << 8) + immediate));
59
Builder.
EmitShort
((short)(0x3000 + ((byte)reg << 8) + immediate));
68
Builder.
EmitShort
((short)(0x3800 + ((byte)reg << 8) + immediate));
92
Builder.
EmitShort
((short)(0x0d04 + ((byte)reg << 12)));
102
Builder.
EmitShort
((short)(0x0b04 + ((byte)reg << 12)));
110
Builder.
EmitShort
((short)(0x4600 + (((byte)destination & 0x8) << 4) + (((byte)source & 0x8) << 3) + (((byte)source & 0x7) << 3) + ((byte)destination & 0x7)));
118
Builder.
EmitShort
((short)(0x6800 + (((byte)source & 0x7) << 3) + ((byte)destination & 0x7)));
152
Builder.
EmitShort
((short)(0xF100 + (byte)source + (((byte)encode & 0x10) << 6)));
153
Builder.
EmitShort
((short)((((byte)encode & 0xE) << 11) + ((byte)destination << 8) + (((byte)encode & 1) << 7) + (imm8 & 0x7f)));
162
Builder.
EmitShort
((short)(0xf8d0 + ((byte)(source))));
163
Builder.
EmitShort
((short)(offset + (((byte)destination) << 12)));
167
Builder.
EmitShort
((short)(0xf850 + ((byte)(source))));
168
Builder.
EmitShort
((short)(-offset + (((byte)destination) << 12) + (((byte)12) << 8)));
180
Builder.
EmitShort
(unchecked((short)0xf240));
181
Builder.
EmitShort
((short)((byte)destination << 8));
182
Builder.
EmitShort
(unchecked((short)0xf2c0));
183
Builder.
EmitShort
((short)((byte)destination << 8));
186
Builder.
EmitShort
(unchecked((short)(0x4478u + (byte)destination)));
190
Builder.
EmitShort
(unchecked((short)(0x44f0u + (byte)destination)));
210
Builder.
EmitShort
((short)(0x4700 + ((byte)destination << 3)));
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\Target_X64\X64Emitter.cs (1)
221
Builder.
EmitShort
((short)immediate);
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\Target_X86\X86Emitter.cs (1)
209
Builder.
EmitShort
((short)immediate);