38 references to FpStruct
ILCompiler.ReadyToRun (38)
parent\parent\Common\CallingConvention\ArgIterator.cs (10)
1274if (info.flags != FpStruct.UseIntCallConv) 1276cFPRegs = ((info.flags & FpStruct.BothFloat) != 0) ? 2 : 1; 1294if ((info.flags & (FpStruct.FloatInt | FpStruct.IntFloat)) != 0) 1297Debug.Assert((info.flags & (FpStruct.OnlyOne | FpStruct.BothFloat)) == 0); 1312int argOfsInner = ((info.flags & FpStruct.IntFloat) != 0) 1324if (info.flags != FpStruct.UseIntCallConv) 1326Debug.Assert((info.flags & (FpStruct.OnlyOne | FpStruct.BothFloat)) != 0);
parent\parent\Common\CallingConvention\TransitionBlock.cs (4)
285fpReturnSize = (uint)FpStruct.OnlyOne | (2 << (int)FpStruct.PosSizeShift1st); 296fpReturnSize = (uint)FpStruct.OnlyOne | (3 << (int)FpStruct.PosSizeShift1st);
parent\parent\Common\Internal\Runtime\RiscVLoongArch64FpStruct.cs (14)
8using static Internal.JitInterface.FpStruct; 41public FpStruct flags; 45public uint SizeShift1st() { return (uint)((int)flags >> (int)FpStruct.PosSizeShift1st) & 0b11; } 46public uint SizeShift2nd() { return (uint)((int)flags >> (int)FpStruct.PosSizeShift2nd) & 0b11; } 77info.flags |= (FpStruct)(floatFlag | sizeShiftMask); 105Debug.Assert((int)FpStruct.IntFloat == ((int)FpStruct.FloatInt << 1), 107Debug.Assert((int)FpStruct.SizeShift2ndMask == ((int)FpStruct.SizeShift1stMask << 2), 110int floatFlag = (int)(info.flags & FpStruct.FloatInt) << 1; 111int sizeShiftMask = (int)(info.flags & FpStruct.SizeShift1stMask) << 2; 112info.flags |= (FpStruct)(floatFlag | sizeShiftMask); // merge with 1st field 213info.flags = (FpStruct)( 238FpStruct floatFlags = info.flags & (OnlyOne | BothFloat | FloatInt | IntFloat);
parent\parent\Common\JitInterface\CorInfoImpl.cs (10)
4008if (info.flags != FpStruct.UseIntCallConv) 4013lowering.numLoweredElements = ((info.flags & FpStruct.OnlyOne) != 0) ? 1 : 2; 4015if ((info.flags & (FpStruct.BothFloat | FpStruct.FloatInt | FpStruct.OnlyOne)) != 0) 4018if ((info.flags & (FpStruct.BothFloat | FpStruct.IntFloat)) != 0) 4021if ((info.flags & (FpStruct.FloatInt | FpStruct.IntFloat)) != 0) 4023int index = ((info.flags & FpStruct.FloatInt) != 0) ? 1 : 0;