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