1 override of AsInt64
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2410
public override long
AsInt64
() => BitConverter.ToInt64(AsExactByteCount(8), 0);
60 references to AsInt64
ILCompiler.Compiler (60)
Compiler\TypePreinit.cs (60)
721
? entry.Value.AsInt32() : entry.Value.
AsInt64
(),
883
long val = popped.Value.
AsInt64
();
1198
? condition.Value.
AsInt64
() == 0 : condition.Value.
AsInt64
() != 0;
1235
ILOpcode.blt_s => value1.Value.
AsInt64
() < value2.Value.
AsInt64
(),
1236
ILOpcode.blt_un_s => (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
(),
1237
ILOpcode.bgt_s => value1.Value.
AsInt64
() > value2.Value.
AsInt64
(),
1238
ILOpcode.bgt_un_s => (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
(),
1239
ILOpcode.bge_s => value1.Value.
AsInt64
() >= value2.Value.
AsInt64
(),
1240
ILOpcode.bge_un_s => (ulong)value1.Value.
AsInt64
() >= (ulong)value2.Value.
AsInt64
(),
1241
ILOpcode.beq_s => value1.Value.
AsInt64
() == value2.Value.
AsInt64
(),
1242
ILOpcode.bne_un_s => value1.Value.
AsInt64
() != value2.Value.
AsInt64
(),
1243
ILOpcode.ble_s => value1.Value.
AsInt64
() <= value2.Value.
AsInt64
(),
1244
ILOpcode.ble_un_s => (ulong)value1.Value.
AsInt64
() <= (ulong)value2.Value.
AsInt64
(),
1356
condition = value1.Value.
AsInt64
() < value2.Value.
AsInt64
();
1358
condition = (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
();
1360
condition = value1.Value.
AsInt64
() > value2.Value.
AsInt64
();
1362
condition = (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
();
1426
stack.Push(value.ValueKind, ValueTypeValue.FromInt64(-value.Value.
AsInt64
()));
1481
if (isDivRem && value2.Value.
AsInt64
() == 0)
1485
&& value1.Value.
AsInt64
() == long.MinValue && value2.Value.
AsInt64
() == -1)
1490
ILOpcode.or => value1.Value.
AsInt64
() | value2.Value.
AsInt64
(),
1491
ILOpcode.shl => value1.Value.
AsInt64
() << (int)value2.Value.
AsInt64
(),
1492
ILOpcode.add => value1.Value.
AsInt64
() + value2.Value.
AsInt64
(),
1493
ILOpcode.sub => value1.Value.
AsInt64
() - value2.Value.
AsInt64
(),
1494
ILOpcode.and => value1.Value.
AsInt64
() & value2.Value.
AsInt64
(),
1495
ILOpcode.mul => value1.Value.
AsInt64
() * value2.Value.
AsInt64
(),
1496
ILOpcode.div => value1.Value.
AsInt64
() / value2.Value.
AsInt64
(),
1497
ILOpcode.div_un => (long)((ulong)value1.Value.
AsInt64
() / (ulong)value2.Value.
AsInt64
()),
1498
ILOpcode.rem => value1.Value.
AsInt64
() % value2.Value.
AsInt64
(),
1499
ILOpcode.rem_un => (long)((ulong)value1.Value.
AsInt64
() % (ulong)value2.Value.
AsInt64
()),
1528
long result = value1.Value.
AsInt64
() << value2.Value.AsInt32();
1546
_ => context.Target.PointerSize == 8 ? addend.Value.
AsInt64
() : addend.Value.AsInt32()
2031
long longValue = entry.Value.
AsInt64
();
2157
long value = _target.PointerSize == 8 ? popped.Value.
AsInt64
() : popped.Value.AsInt32();