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