92 references to EmitOpCode
Microsoft.CodeAnalysis (92)
CodeGen\ILBuilder.cs (1)
1109EmitOpCode(ILOpCode.Nop);
CodeGen\ILBuilderConversions.cs (48)
27this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_i1_un : ILOpCode.Conv_ovf_i1); 29this.EmitOpCode(ILOpCode.Conv_i1); 41this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_u1_un : ILOpCode.Conv_ovf_u1); 43this.EmitOpCode(ILOpCode.Conv_u1); 57this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_i2_un : ILOpCode.Conv_ovf_i2); 59this.EmitOpCode(ILOpCode.Conv_i2); 74this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_u2_un : ILOpCode.Conv_ovf_u2); 76this.EmitOpCode(ILOpCode.Conv_u2); 93this.EmitOpCode(ILOpCode.Conv_ovf_i4_un); 97this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_i4_un : ILOpCode.Conv_ovf_i4); 99this.EmitOpCode(ILOpCode.Conv_i4); 116this.EmitOpCode(ILOpCode.Conv_ovf_u4); 120this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_u4_un : ILOpCode.Conv_ovf_u4); 122this.EmitOpCode(ILOpCode.Conv_u4); 136this.EmitOpCode(ILOpCode.Conv_i); // potentially widening, so not NOP 143this.EmitOpCode(ILOpCode.Conv_u); // potentially widening, so not NOP 147this.EmitOpCode(ILOpCode.Conv_ovf_i_un); 150this.EmitOpCode(ILOpCode.Conv_u); // potentially widening, so not NOP 159this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_i_un : ILOpCode.Conv_ovf_i); 161this.EmitOpCode(ILOpCode.Conv_i); 178this.EmitOpCode(ILOpCode.Conv_u); // potentially widening, so not NOP 184this.EmitOpCode(ILOpCode.Conv_ovf_u); 186this.EmitOpCode(ILOpCode.Conv_i); // potentially widening, so not NOP 190this.EmitOpCode(fromUnsigned ? ILOpCode.Conv_ovf_u_un : ILOpCode.Conv_ovf_u); 192this.EmitOpCode(ILOpCode.Conv_u); 206this.EmitOpCode(ILOpCode.Conv_i8); // sign extend 212this.EmitOpCode(ILOpCode.Conv_u8); // 0 extend 218this.EmitOpCode(ILOpCode.Conv_ovf_i8_un); 220this.EmitOpCode(ILOpCode.Conv_u8); // 0 extend if unchecked 224this.EmitOpCode(ILOpCode.Conv_ovf_i8_un); 229this.EmitOpCode(ILOpCode.Conv_ovf_i8); 231this.EmitOpCode(ILOpCode.Conv_i8); 248this.EmitOpCode(ILOpCode.Conv_u8); // 0 extend 255this.EmitOpCode(ILOpCode.Conv_ovf_u8); 257this.EmitOpCode(ILOpCode.Conv_i8); // sign extend if unchecked 261this.EmitOpCode(ILOpCode.Conv_ovf_u8); 266this.EmitOpCode(ILOpCode.Conv_ovf_u8); 268this.EmitOpCode(ILOpCode.Conv_u8); 279this.EmitOpCode(ILOpCode.Conv_r_un); 282this.EmitOpCode(ILOpCode.Conv_r4); 291this.EmitOpCode(ILOpCode.Conv_r_un); 294this.EmitOpCode(ILOpCode.Conv_r8); 306this.EmitOpCode(ILOpCode.Conv_u); 309this.EmitOpCode(ILOpCode.Conv_ovf_u_un); 315this.EmitOpCode(ILOpCode.Conv_ovf_u); 318this.EmitOpCode(ILOpCode.Conv_ovf_u); 335this.EmitOpCode(ILOpCode.Conv_u); 342this.EmitOpCode(ILOpCode.Conv_i);
CodeGen\ILBuilderEmit.cs (39)
106EmitOpCode(ILOpCode.Dup); //array 107EmitOpCode(ILOpCode.Ldtoken); 446case 0: EmitOpCode(ILOpCode.Ldloc_0); break; 447case 1: EmitOpCode(ILOpCode.Ldloc_1); break; 448case 2: EmitOpCode(ILOpCode.Ldloc_2); break; 449case 3: EmitOpCode(ILOpCode.Ldloc_3); break; 453EmitOpCode(ILOpCode.Ldloc_s); 458EmitOpCode(ILOpCode.Ldloc); 471case 0: EmitOpCode(ILOpCode.Stloc_0); break; 472case 1: EmitOpCode(ILOpCode.Stloc_1); break; 473case 2: EmitOpCode(ILOpCode.Stloc_2); break; 474case 3: EmitOpCode(ILOpCode.Stloc_3); break; 478EmitOpCode(ILOpCode.Stloc_s); 483EmitOpCode(ILOpCode.Stloc); 502EmitOpCode(ILOpCode.Ldloca_s); 507EmitOpCode(ILOpCode.Ldloca); 518case 0: EmitOpCode(ILOpCode.Ldarg_0); break; 519case 1: EmitOpCode(ILOpCode.Ldarg_1); break; 520case 2: EmitOpCode(ILOpCode.Ldarg_2); break; 521case 3: EmitOpCode(ILOpCode.Ldarg_3); break; 525EmitOpCode(ILOpCode.Ldarg_s); 530EmitOpCode(ILOpCode.Ldarg); 541EmitOpCode(ILOpCode.Ldarga_s); 546EmitOpCode(ILOpCode.Ldarga); 556EmitOpCode(ILOpCode.Starg_s); 561EmitOpCode(ILOpCode.Starg); 641EmitOpCode(code); 647EmitOpCode(ILOpCode.Ldc_i4_s); 652EmitOpCode(ILOpCode.Ldc_i4); 688EmitOpCode(ILOpCode.Conv_i8); 693EmitOpCode(ILOpCode.Conv_u8); 697EmitOpCode(ILOpCode.Ldc_i8); 707EmitOpCode(ILOpCode.Conv_i); 712EmitOpCode(ILOpCode.Conv_u); 722EmitOpCode(ILOpCode.Ldc_r4); 728EmitOpCode(ILOpCode.Ldc_r8); 734EmitOpCode(ILOpCode.Ldnull); 745EmitOpCode(ILOpCode.Ldstr); 753EmitOpCode(ILOpCode.Unaligned);
CodeGen\SwitchIntegralJumpTableEmitter.cs (4)
462_builder.EmitOpCode(ILOpCode.Sub); 525_builder.EmitOpCode(ILOpCode.Sub); 552_builder.EmitOpCode(ILOpCode.Dup); 555_builder.EmitOpCode(ILOpCode.Pop);