1 override of AsInt64
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2401
public override long
AsInt64
() => BitConverter.ToInt64(AsExactByteCount(8), 0);
60 references to AsInt64
ILCompiler.Compiler (60)
Compiler\TypePreinit.cs (60)
703
? entry.Value.AsInt32() : entry.Value.
AsInt64
(),
865
long val = popped.Value.
AsInt64
();
1180
? condition.Value.
AsInt64
() == 0 : condition.Value.
AsInt64
() != 0;
1217
ILOpcode.blt_s => value1.Value.
AsInt64
() < value2.Value.
AsInt64
(),
1218
ILOpcode.blt_un_s => (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
(),
1219
ILOpcode.bgt_s => value1.Value.
AsInt64
() > value2.Value.
AsInt64
(),
1220
ILOpcode.bgt_un_s => (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
(),
1221
ILOpcode.bge_s => value1.Value.
AsInt64
() >= value2.Value.
AsInt64
(),
1222
ILOpcode.bge_un_s => (ulong)value1.Value.
AsInt64
() >= (ulong)value2.Value.
AsInt64
(),
1223
ILOpcode.beq_s => value1.Value.
AsInt64
() == value2.Value.
AsInt64
(),
1224
ILOpcode.bne_un_s => value1.Value.
AsInt64
() != value2.Value.
AsInt64
(),
1225
ILOpcode.ble_s => value1.Value.
AsInt64
() <= value2.Value.
AsInt64
(),
1226
ILOpcode.ble_un_s => (ulong)value1.Value.
AsInt64
() <= (ulong)value2.Value.
AsInt64
(),
1338
condition = value1.Value.
AsInt64
() < value2.Value.
AsInt64
();
1340
condition = (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
();
1342
condition = value1.Value.
AsInt64
() > value2.Value.
AsInt64
();
1344
condition = (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
();
1408
stack.Push(value.ValueKind, ValueTypeValue.FromInt64(-value.Value.
AsInt64
()));
1463
if (isDivRem && value2.Value.
AsInt64
() == 0)
1467
&& value1.Value.
AsInt64
() == long.MinValue && value2.Value.
AsInt64
() == -1)
1472
ILOpcode.or => value1.Value.
AsInt64
() | value2.Value.
AsInt64
(),
1473
ILOpcode.shl => value1.Value.
AsInt64
() << (int)value2.Value.
AsInt64
(),
1474
ILOpcode.add => value1.Value.
AsInt64
() + value2.Value.
AsInt64
(),
1475
ILOpcode.sub => value1.Value.
AsInt64
() - value2.Value.
AsInt64
(),
1476
ILOpcode.and => value1.Value.
AsInt64
() & value2.Value.
AsInt64
(),
1477
ILOpcode.mul => value1.Value.
AsInt64
() * value2.Value.
AsInt64
(),
1478
ILOpcode.div => value1.Value.
AsInt64
() / value2.Value.
AsInt64
(),
1479
ILOpcode.div_un => (long)((ulong)value1.Value.
AsInt64
() / (ulong)value2.Value.
AsInt64
()),
1480
ILOpcode.rem => value1.Value.
AsInt64
() % value2.Value.
AsInt64
(),
1481
ILOpcode.rem_un => (long)((ulong)value1.Value.
AsInt64
() % (ulong)value2.Value.
AsInt64
()),
1510
long result = value1.Value.
AsInt64
() << value2.Value.AsInt32();
1528
_ => context.Target.PointerSize == 8 ? addend.Value.
AsInt64
() : addend.Value.AsInt32()
2022
long longValue = entry.Value.
AsInt64
();
2148
long value = _target.PointerSize == 8 ? popped.Value.
AsInt64
() : popped.Value.AsInt32();