5 writes to flags
ILCompiler.ReadyToRun (5)
parent\parent\Common\Internal\Runtime\RiscVLoongArch64FpStruct.cs (5)
77
info.
flags
|= (FpStruct)(floatFlag | sizeShiftMask);
112
info.
flags
|= (FpStruct)(floatFlag | sizeShiftMask); // merge with 1st field
213
info.
flags
= (FpStruct)(
228
info.
flags
^= (FloatInt | IntFloat | BothFloat); // replace (FloatInt | IntFloat) with BothFloat
235
info.
flags
^= (FloatInt | OnlyOne); // replace FloatInt with OnlyOne
31 references to flags
ILCompiler.ReadyToRun (31)
parent\parent\Common\CallingConvention\ArgIterator.cs (7)
1274
if (info.
flags
!= FpStruct.UseIntCallConv)
1276
cFPRegs = ((info.
flags
& FpStruct.BothFloat) != 0) ? 2 : 1;
1294
if ((info.
flags
& (FpStruct.FloatInt | FpStruct.IntFloat)) != 0)
1297
Debug.Assert((info.
flags
& (FpStruct.OnlyOne | FpStruct.BothFloat)) == 0);
1312
int argOfsInner = ((info.
flags
& FpStruct.IntFloat) != 0)
1324
if (info.
flags
!= FpStruct.UseIntCallConv)
1326
Debug.Assert((info.
flags
& (FpStruct.OnlyOne | FpStruct.BothFloat)) != 0);
parent\parent\Common\CallingConvention\TransitionBlock.cs (1)
374
fpReturnSize = (uint)info.
flags
;
parent\parent\Common\Internal\Runtime\RiscVLoongArch64FpStruct.cs (17)
45
public uint SizeShift1st() { return (uint)((int)
flags
>> (int)FpStruct.PosSizeShift1st) & 0b11; }
46
public uint SizeShift2nd() { return (uint)((int)
flags
>> (int)FpStruct.PosSizeShift2nd) & 0b11; }
110
int floatFlag = (int)(info.
flags
& FpStruct.FloatInt) << 1;
111
int sizeShiftMask = (int)(info.
flags
& FpStruct.SizeShift1stMask) << 2;
206
if ((info.
flags
& (FloatInt | IntFloat)) == 0)
214
((uint)(info.
flags
& FloatInt) << (PosIntFloat - PosFloatInt)) |
215
((uint)(info.
flags
& IntFloat) >> (PosIntFloat - PosFloatInt)) |
216
((uint)(info.
flags
& SizeShift1stMask) << (PosSizeShift2nd - PosSizeShift1st)) |
217
((uint)(info.
flags
& SizeShift2ndMask) >> (PosSizeShift2nd - PosSizeShift1st))
221
Debug.Assert((info.
flags
& (OnlyOne | BothFloat)) == 0);
222
Debug.Assert((info.
flags
& FloatInt) == 0 || info.Size1st() == sizeof(float) || info.Size1st() == sizeof(double));
223
Debug.Assert((info.
flags
& IntFloat) == 0 || info.Size2nd() == sizeof(float) || info.Size2nd() == sizeof(double));
225
if ((info.
flags
& (FloatInt | IntFloat)) == (FloatInt | IntFloat))
232
Debug.Assert((info.
flags
& FloatInt) != 0);
233
Debug.Assert((info.
flags
& (IntFloat | SizeShift2ndMask)) == 0);
237
Debug.Assert(nFields == ((info.
flags
& OnlyOne) != 0 ? 1 : 2));
238
FpStruct floatFlags = info.
flags
& (OnlyOne | BothFloat | FloatInt | IntFloat);
parent\parent\Common\JitInterface\CorInfoImpl.cs (6)
4008
if (info.
flags
!= FpStruct.UseIntCallConv)
4013
lowering.numLoweredElements = ((info.
flags
& FpStruct.OnlyOne) != 0) ? 1 : 2;
4015
if ((info.
flags
& (FpStruct.BothFloat | FpStruct.FloatInt | FpStruct.OnlyOne)) != 0)
4018
if ((info.
flags
& (FpStruct.BothFloat | FpStruct.IntFloat)) != 0)
4021
if ((info.
flags
& (FpStruct.FloatInt | FpStruct.IntFloat)) != 0)
4023
int index = ((info.
flags
& FpStruct.FloatInt) != 0) ? 1 : 0;