1 override of AsInt64
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2428
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
();
1207
? condition.Value.
AsInt64
() == 0 : condition.Value.
AsInt64
() != 0;
1244
ILOpcode.blt_s => value1.Value.
AsInt64
() < value2.Value.
AsInt64
(),
1245
ILOpcode.blt_un_s => (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
(),
1246
ILOpcode.bgt_s => value1.Value.
AsInt64
() > value2.Value.
AsInt64
(),
1247
ILOpcode.bgt_un_s => (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
(),
1248
ILOpcode.bge_s => value1.Value.
AsInt64
() >= value2.Value.
AsInt64
(),
1249
ILOpcode.bge_un_s => (ulong)value1.Value.
AsInt64
() >= (ulong)value2.Value.
AsInt64
(),
1250
ILOpcode.beq_s => value1.Value.
AsInt64
() == value2.Value.
AsInt64
(),
1251
ILOpcode.bne_un_s => value1.Value.
AsInt64
() != value2.Value.
AsInt64
(),
1252
ILOpcode.ble_s => value1.Value.
AsInt64
() <= value2.Value.
AsInt64
(),
1253
ILOpcode.ble_un_s => (ulong)value1.Value.
AsInt64
() <= (ulong)value2.Value.
AsInt64
(),
1365
condition = value1.Value.
AsInt64
() < value2.Value.
AsInt64
();
1367
condition = (ulong)value1.Value.
AsInt64
() < (ulong)value2.Value.
AsInt64
();
1369
condition = value1.Value.
AsInt64
() > value2.Value.
AsInt64
();
1371
condition = (ulong)value1.Value.
AsInt64
() > (ulong)value2.Value.
AsInt64
();
1435
stack.Push(value.ValueKind, ValueTypeValue.FromInt64(-value.Value.
AsInt64
()));
1490
if (isDivRem && value2.Value.
AsInt64
() == 0)
1494
&& value1.Value.
AsInt64
() == long.MinValue && value2.Value.
AsInt64
() == -1)
1499
ILOpcode.or => value1.Value.
AsInt64
() | value2.Value.
AsInt64
(),
1500
ILOpcode.shl => value1.Value.
AsInt64
() << (int)value2.Value.
AsInt64
(),
1501
ILOpcode.add => value1.Value.
AsInt64
() + value2.Value.
AsInt64
(),
1502
ILOpcode.sub => value1.Value.
AsInt64
() - value2.Value.
AsInt64
(),
1503
ILOpcode.and => value1.Value.
AsInt64
() & value2.Value.
AsInt64
(),
1504
ILOpcode.mul => value1.Value.
AsInt64
() * value2.Value.
AsInt64
(),
1505
ILOpcode.div => value1.Value.
AsInt64
() / value2.Value.
AsInt64
(),
1506
ILOpcode.div_un => (long)((ulong)value1.Value.
AsInt64
() / (ulong)value2.Value.
AsInt64
()),
1507
ILOpcode.rem => value1.Value.
AsInt64
() % value2.Value.
AsInt64
(),
1508
ILOpcode.rem_un => (long)((ulong)value1.Value.
AsInt64
() % (ulong)value2.Value.
AsInt64
()),
1537
long result = value1.Value.
AsInt64
() << value2.Value.AsInt32();
1555
_ => context.Target.PointerSize == 8 ? addend.Value.
AsInt64
() : addend.Value.AsInt32()
2049
long longValue = entry.Value.
AsInt64
();
2175
long value = _target.PointerSize == 8 ? popped.Value.
AsInt64
() : popped.Value.AsInt32();