52 references to WasmLowering
ILCompiler.ReadyToRun (52)
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunk.cs (9)
90MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_wasmSignature, _context); 157MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context); 171isIndirectStructArg[argIndex] = WasmLowering.CurrentArgLowersValueTypeToPassAsByref(argit); 252if (WasmLowering.IsEmptyStruct(paramType)) 260if (WasmLowering.TryGetMultiSegmentLayout(paramType, out WasmValueType slotType, out int slotCount)) 263int slotSize = WasmLowering.GetMultiSegmentSlotSize(slotType); 396if (WasmLowering.IsEmptyStruct(paramType)) 402if (WasmLowering.TryGetMultiSegmentLayout(paramType, out WasmValueType slotType, out int slotCount)) 405int slotSize = WasmLowering.GetMultiSegmentSlotSize(slotType);
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunkPortableEntrypoint.cs (5)
91signature = WasmLowering.GetStringCtorActualSignature(signature); 96WasmLowering.LoweringFlags flags = WasmLowering.GetLoweringFlags(method) & ~WasmLowering.LoweringFlags.IsUnmanagedCallersOnly; 97wasmSignature = WasmLowering.GetSignature(signature, flags);
Compiler\DependencyAnalysis\ReadyToRun\WasmInterpreterToR2RThunkNode.cs (6)
39MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(sigForInterpToR2RThunks, _context); 118MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context); 138isIndirectStructArg[argIndex] = WasmLowering.CurrentArgLowersValueTypeToPassAsByref(argit); 220if (WasmLowering.IsEmptyStruct(paramType)) 225if (WasmLowering.TryGetMultiSegmentLayout(paramType, out WasmValueType slotType, out int slotCount)) 228int slotSize = WasmLowering.GetMultiSegmentSlotSize(slotType);
Compiler\DependencyAnalysis\ReadyToRun\WasmR2RToInterpreterThunkNode.cs (6)
48MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_wasmSignature, _context); 126MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context); 143isIndirectStructArg[argIndex] = WasmLowering.CurrentArgLowersValueTypeToPassAsByref(argit); 228if (WasmLowering.IsEmptyStruct(paramType)) 234else if (WasmLowering.TryGetMultiSegmentLayout(paramType, out WasmValueType slotType, out int slotCount)) 237int slotSize = WasmLowering.GetMultiSegmentSlotSize(slotType);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
1374WasmFuncType funcType = WasmLowering.GetSignature(method).FuncType;
JitInterface\CorInfoImpl.ReadyToRun.cs (14)
869WasmSignature wasmSig = WasmLowering.GetSignature(MethodBeingCompiled); 3760WasmLowering.LoweringFlags flags = 0; 3763flags |= WasmLowering.LoweringFlags.HasGenericContextArg; 3767flags |= WasmLowering.LoweringFlags.IsAsyncCall; 3771flags |= WasmLowering.LoweringFlags.IsUnmanagedCallersOnly; 3774WasmSignature wasmSig = WasmLowering.GetSignature(sig, flags); 3778if (!flags.HasFlag(WasmLowering.LoweringFlags.IsUnmanagedCallersOnly)) 3799sig = WasmLowering.GetStringCtorActualSignature(sig); 3803WasmLowering.LoweringFlags flags = 0; 3806flags |= WasmLowering.LoweringFlags.HasGenericContextArg; 3810flags |= WasmLowering.LoweringFlags.IsAsyncCall; 3814flags |= WasmLowering.LoweringFlags.IsUnmanagedCallersOnly; 3817WasmSignature wasmSig = WasmLowering.GetSignature(sig, flags); 3821if (!flags.HasFlag(WasmLowering.LoweringFlags.IsUnmanagedCallersOnly))
JitInterface\WasmLowering.ReadyToRun.cs (1)
32if (WasmLowering.LowerToAbiType(type) == null)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (7)
146WasmLowering.LoweringFlags flags = WasmLowering.LoweringFlags.None; 149flags |= WasmLowering.LoweringFlags.HasGenericContextArg; 153flags |= WasmLowering.LoweringFlags.IsAsyncCall; 157flags |= WasmLowering.LoweringFlags.IsUnmanagedCallersOnly; 206WasmLowering.LoweringFlags flags, 209WasmFuncType signature = WasmLowering.GetSignature(managedSignature, flags).FuncType;
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (3)
4048if (WasmLowering.TryGetMultiSegmentLayout(type, out WasmValueType multiSlotType, out _)) 4055TypeDesc abiType = WasmLowering.LowerToAbiType(type); 4063WasmValueType wasmAbiType = WasmLowering.LowerType(abiType);