34 references to ldarg_0
ILCompiler.Compiler (21)
Compiler\Dataflow\MethodBodyScanner.cs (2)
486
case ILOpcode.
ldarg_0
:
499
_ => opcode - ILOpcode.
ldarg_0
Compiler\TypePreinit.cs (2)
972
case ILOpcode.
ldarg_0
:
983
_ => opcode - ILOpcode.
ldarg_0
,
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
91
codeStream.Emit(ILOpcode.
ldarg_0
); // argc
IL\TypeEqualityPatternAnalyzer.cs (1)
166
=> opcode is (>= ILOpcode.ldloc_0 and <= ILOpcode.ldloc_3) or (>= ILOpcode.
ldarg_0
and <= ILOpcode.ldarg_3)
parent\parent\Common\TypeSystem\IL\ILImporter.cs (2)
370
case ILOpcode.
ldarg_0
:
374
ImportLoadVar(opCode - ILOpcode.
ldarg_0
, true);
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (2)
205
(byte)ILOpcode.
ldarg_0
,
243
(byte)ILOpcode.
ldarg_0
,
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (11)
24
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.conv_u, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
27
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
31
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.add, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
53
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
59
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
65
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
71
(byte)ILOpcode.ldarg_1, (byte)ILOpcode.
ldarg_0
,
82
(byte)ILOpcode.
ldarg_0
,
91
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.sub, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
111
codeStream.Emit(ILOpcode.
ldarg_0
);
126
codeStream.Emit(ILOpcode.
ldarg_0
);
ILCompiler.ReadyToRun (11)
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (11)
24
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.conv_u, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
27
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
31
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.add, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
53
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
59
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
65
(byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1,
71
(byte)ILOpcode.ldarg_1, (byte)ILOpcode.
ldarg_0
,
82
(byte)ILOpcode.
ldarg_0
,
91
return new ILStubMethodIL(method, new byte[] { (byte)ILOpcode.
ldarg_0
, (byte)ILOpcode.ldarg_1, (byte)ILOpcode.sub, (byte)ILOpcode.ret }, Array.Empty<LocalVariableDefinition>(), null);
111
codeStream.Emit(ILOpcode.
ldarg_0
);
126
codeStream.Emit(ILOpcode.
ldarg_0
);
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (1)
102
case ILOpcode.
ldarg_0
:
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (1)
118
Emit((ILOpcode)(ILOpcode.
ldarg_0
+ index));