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