1 override of AsInt64
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2412
public override long
AsInt64
() => BitConverter.ToInt64(AsExactByteCount(8), 0);
60 references to AsInt64
ILCompiler.Compiler (60)
Compiler\TypePreinit.cs (60)
714
? entry.Value.AsInt32() : entry.Value.
AsInt64
(),
876
long val = popped.Value.
AsInt64
();
1191
? condition.Value.
AsInt64
() == 0 : condition.Value.
AsInt64
() != 0;
1228
ILOpcode.blt_s => value1.Value.
AsInt64
() < value2.Value.
AsInt64
(),
1229
ILOpcode.blt_un_s => (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
(),
1230
ILOpcode.bgt_s => value1.Value.
AsInt64
() > value2.Value.
AsInt64
(),
1231
ILOpcode.bgt_un_s => (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
(),
1232
ILOpcode.bge_s => value1.Value.
AsInt64
() >= value2.Value.
AsInt64
(),
1233
ILOpcode.bge_un_s => (ulong)value1.Value.
AsInt64
() >= (ulong)value2.Value.
AsInt64
(),
1234
ILOpcode.beq_s => value1.Value.
AsInt64
() == value2.Value.
AsInt64
(),
1235
ILOpcode.bne_un_s => value1.Value.
AsInt64
() != value2.Value.
AsInt64
(),
1236
ILOpcode.ble_s => value1.Value.
AsInt64
() <= value2.Value.
AsInt64
(),
1237
ILOpcode.ble_un_s => (ulong)value1.Value.
AsInt64
() <= (ulong)value2.Value.
AsInt64
(),
1349
condition = value1.Value.
AsInt64
() < value2.Value.
AsInt64
();
1351
condition = (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
();
1353
condition = value1.Value.
AsInt64
() > value2.Value.
AsInt64
();
1355
condition = (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
();
1419
stack.Push(value.ValueKind, ValueTypeValue.FromInt64(-value.Value.
AsInt64
()));
1474
if (isDivRem && value2.Value.
AsInt64
() == 0)
1478
&& value1.Value.
AsInt64
() == long.MinValue && value2.Value.
AsInt64
() == -1)
1483
ILOpcode.or => value1.Value.
AsInt64
() | value2.Value.
AsInt64
(),
1484
ILOpcode.shl => value1.Value.
AsInt64
() << (int)value2.Value.
AsInt64
(),
1485
ILOpcode.add => value1.Value.
AsInt64
() + value2.Value.
AsInt64
(),
1486
ILOpcode.sub => value1.Value.
AsInt64
() - value2.Value.
AsInt64
(),
1487
ILOpcode.and => value1.Value.
AsInt64
() & value2.Value.
AsInt64
(),
1488
ILOpcode.mul => value1.Value.
AsInt64
() * value2.Value.
AsInt64
(),
1489
ILOpcode.div => value1.Value.
AsInt64
() / value2.Value.
AsInt64
(),
1490
ILOpcode.div_un => (long)((ulong)value1.Value.
AsInt64
() / (ulong)value2.Value.
AsInt64
()),
1491
ILOpcode.rem => value1.Value.
AsInt64
() % value2.Value.
AsInt64
(),
1492
ILOpcode.rem_un => (long)((ulong)value1.Value.
AsInt64
() % (ulong)value2.Value.
AsInt64
()),
1521
long result = value1.Value.
AsInt64
() << value2.Value.AsInt32();
1539
_ => context.Target.PointerSize == 8 ? addend.Value.
AsInt64
() : addend.Value.AsInt32()
2033
long longValue = entry.Value.
AsInt64
();
2159
long value = _target.PointerSize == 8 ? popped.Value.
AsInt64
() : popped.Value.AsInt32();