46 references to EmitShort
ILCompiler.Compiler (46)
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 (23)
41
Builder.
EmitShort
((short)(0x2000 + ((byte)reg << 8) + immediate));
51
Builder.
EmitShort
((short)(0xF240 | (((imm16 >> 11) & 1) << 10) | ((imm16 >> 12) & 0xF)));
52
Builder.
EmitShort
((short)((((imm16 >> 8) & 7) << 12) | ((byte)reg << 8) | (imm16 & 0xFF)));
61
Builder.
EmitShort
((short)(0x2800 + ((byte)reg << 8) + immediate));
70
Builder.
EmitShort
((short)(0x3000 + ((byte)reg << 8) + immediate));
79
Builder.
EmitShort
((short)(0x3800 + ((byte)reg << 8) + immediate));
103
Builder.
EmitShort
((short)(0x0d04 + ((byte)reg << 12)));
113
Builder.
EmitShort
((short)(0x0b04 + ((byte)reg << 12)));
121
Builder.
EmitShort
((short)(0x4600 + (((byte)destination & 0x8) << 4) + (((byte)source & 0x8) << 3) + (((byte)source & 0x7) << 3) + ((byte)destination & 0x7)));
131
Builder.
EmitShort
((short)(0x6800 + (((byte)source & 0x7) << 3) + ((byte)destination & 0x7)));
172
Builder.
EmitShort
((short)(0xF100 + (byte)source + (((byte)encode & 0x10) << 6)));
173
Builder.
EmitShort
((short)((((byte)encode & 0xE) << 11) + ((byte)destination << 8) + (((byte)encode & 1) << 7) + (imm8 & 0x7f)));
182
Builder.
EmitShort
((short)(0xf8d0 + ((byte)(source))));
183
Builder.
EmitShort
((short)(offset + (((byte)destination) << 12)));
187
Builder.
EmitShort
((short)(0xf850 + ((byte)(source))));
188
Builder.
EmitShort
((short)(-offset + (((byte)destination) << 12) + (((byte)12) << 8)));
200
Builder.
EmitShort
(unchecked((short)0xf240));
201
Builder.
EmitShort
((short)((byte)destination << 8));
202
Builder.
EmitShort
(unchecked((short)0xf2c0));
203
Builder.
EmitShort
((short)((byte)destination << 8));
206
Builder.
EmitShort
(unchecked((short)(0x4478u + (byte)destination)));
210
Builder.
EmitShort
(unchecked((short)(0x44f0u + (byte)destination)));
230
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);