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)
723
? entry.Value.AsInt32() : entry.Value.
AsInt64
(),
885
long val = popped.Value.
AsInt64
();
1200
? condition.Value.
AsInt64
() == 0 : condition.Value.
AsInt64
() != 0;
1237
ILOpcode.blt_s => value1.Value.
AsInt64
() < value2.Value.
AsInt64
(),
1238
ILOpcode.blt_un_s => (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
(),
1239
ILOpcode.bgt_s => value1.Value.
AsInt64
() > value2.Value.
AsInt64
(),
1240
ILOpcode.bgt_un_s => (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
(),
1241
ILOpcode.bge_s => value1.Value.
AsInt64
() >= value2.Value.
AsInt64
(),
1242
ILOpcode.bge_un_s => (ulong)value1.Value.
AsInt64
() >= (ulong)value2.Value.
AsInt64
(),
1243
ILOpcode.beq_s => value1.Value.
AsInt64
() == value2.Value.
AsInt64
(),
1244
ILOpcode.bne_un_s => value1.Value.
AsInt64
() != value2.Value.
AsInt64
(),
1245
ILOpcode.ble_s => value1.Value.
AsInt64
() <= value2.Value.
AsInt64
(),
1246
ILOpcode.ble_un_s => (ulong)value1.Value.
AsInt64
() <= (ulong)value2.Value.
AsInt64
(),
1358
condition = value1.Value.
AsInt64
() < value2.Value.
AsInt64
();
1360
condition = (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
();
1362
condition = value1.Value.
AsInt64
() > value2.Value.
AsInt64
();
1364
condition = (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
();
1428
stack.Push(value.ValueKind, ValueTypeValue.FromInt64(-value.Value.
AsInt64
()));
1483
if (isDivRem && value2.Value.
AsInt64
() == 0)
1487
&& value1.Value.
AsInt64
() == long.MinValue && value2.Value.
AsInt64
() == -1)
1492
ILOpcode.or => value1.Value.
AsInt64
() | value2.Value.
AsInt64
(),
1493
ILOpcode.shl => value1.Value.
AsInt64
() << (int)value2.Value.
AsInt64
(),
1494
ILOpcode.add => value1.Value.
AsInt64
() + value2.Value.
AsInt64
(),
1495
ILOpcode.sub => value1.Value.
AsInt64
() - value2.Value.
AsInt64
(),
1496
ILOpcode.and => value1.Value.
AsInt64
() & value2.Value.
AsInt64
(),
1497
ILOpcode.mul => value1.Value.
AsInt64
() * value2.Value.
AsInt64
(),
1498
ILOpcode.div => value1.Value.
AsInt64
() / value2.Value.
AsInt64
(),
1499
ILOpcode.div_un => (long)((ulong)value1.Value.
AsInt64
() / (ulong)value2.Value.
AsInt64
()),
1500
ILOpcode.rem => value1.Value.
AsInt64
() % value2.Value.
AsInt64
(),
1501
ILOpcode.rem_un => (long)((ulong)value1.Value.
AsInt64
() % (ulong)value2.Value.
AsInt64
()),
1530
long result = value1.Value.
AsInt64
() << value2.Value.AsInt32();
1548
_ => 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();