1 write to NativeLayout
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NodeFactory.cs (1)
662
NativeLayout
= new NativeLayoutHelper(this);
99 references to NativeLayout
ILCompiler.Compiler (99)
Compiler\DependencyAnalysis\CodeBasedDependencyAlgorithm.cs (1)
60
dependencies.Add(factory.
NativeLayout
.TemplateTypeLayout(templateType), "Generic comparer");
Compiler\DependencyAnalysis\DictionaryLayoutNode.cs (2)
161
templateLayout = factory.
NativeLayout
.TemplateMethodLayout((MethodDesc)_owningMethodOrType);
165
templateLayout = factory.
NativeLayout
.TemplateTypeLayout((TypeDesc)_owningMethodOrType);
Compiler\DependencyAnalysis\EETypeNode.cs (1)
354
factory.
NativeLayout
.TemplateTypeLayout(canonOwningType),
Compiler\DependencyAnalysis\GCStaticsNode.cs (1)
76
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\GenericLookupResult.cs (16)
225
return factory.
NativeLayout
.TypeHandleDictionarySlot(_type);
283
return factory.
NativeLayout
.TypeHandleDictionarySlot(_type);
341
return factory.
NativeLayout
.TypeHandleDictionarySlot(_type);
404
return factory.
NativeLayout
.UnwrapNullableTypeDictionarySlot(_type);
469
return factory.
NativeLayout
.MethodLdTokenDictionarySlot(_method);
525
return factory.
NativeLayout
.FieldLdTokenDictionarySlot(_field);
589
return factory.
NativeLayout
.MethodDictionaryDictionarySlot(_method);
664
return factory.
NativeLayout
.MethodEntrypointDictionarySlot(
753
return _method.HasInstantiation ? factory.
NativeLayout
.GvmCellDictionarySlot(_method) : factory.
NativeLayout
.InterfaceCellDictionarySlot(_method);
810
return factory.
NativeLayout
.NonGcStaticDictionarySlot(_type);
866
return factory.
NativeLayout
.ThreadStaticBaseIndexDictionarySlotNode(_type);
923
return factory.
NativeLayout
.GcStaticDictionarySlot(_type);
978
return factory.
NativeLayout
.AllocateObjectDictionarySlot(_type);
1031
return factory.
NativeLayout
.DefaultConstructorDictionarySlot(_type);
1158
return factory.
NativeLayout
.ConstrainedMethodUse(_constrainedMethod, _constraintType, _directCall);
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (3)
57
var layoutNode = factory.
NativeLayout
.TemplateMethodLayout(methodEntryNode.Method);
81
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.TemplateMethodEntry(method), "Template Method Entry"));
82
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.TemplateMethodLayout(method), "Template Method Layout"));
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (2)
54
NativeLayoutTemplateTypeLayoutVertexNode templateNode = factory.
NativeLayout
.TemplateTypeLayout(type);
80
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.TemplateTypeLayout(templateType), "Template Type Layout"));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
55
sink.Add(factory.
NativeLayout
.TemplateMethodEntry(_method), "GVM Dependency - Template entry");
56
sink.Add(factory.
NativeLayout
.TemplateMethodLayout(_method), "GVM Dependency - Template");
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (4)
75
var currentInterfaceSignature = factory.
NativeLayout
.TypeSignatureVertex(currentInterface);
76
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.PlacedSignatureVertex(currentInterfaceSignature), "interface gvm table interface signature"));
210
var typeSig = factory.
NativeLayout
.PlacedSignatureVertex(factory.
NativeLayout
.TypeSignatureVertex(currentInterface));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (58)
118
_containingTypeSig = factory.
NativeLayout
.TypeSignatureVertex(method.OwningType);
123
_instantiationArgsSig[i] = factory.
NativeLayout
.TypeSignatureVertex(method.Instantiation[i]);
259
_returnTypeSig = factory.
NativeLayout
.TypeSignatureVertex(signature.ReturnType);
262
_parametersSig[i] = factory.
NativeLayout
.TypeSignatureVertex(signature[i]);
344
_parameterTypeSig = factory.
NativeLayout
.TypeSignatureVertex(((ParameterizedType)type).ParameterType);
388
_sig = factory.
NativeLayout
.MethodSignatureVertex(((FunctionPointerType)type).Signature);
437
_genericTypeDefSig = factory.
NativeLayout
.TypeSignatureVertex(type.GetTypeDefinition());
440
_instantiationArgs[i] = factory.
NativeLayout
.TypeSignatureVertex(type.Instantiation[i]);
664
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(arg))
671
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
726
new DependencyListEntry(context.
NativeLayout
.TypeSignatureVertex((TypeDesc)_owningMethodOrType), "DeclaringType signature"),
758
signature = nativeWriter.GetTuple(factory.
NativeLayout
.TypeSignatureVertex((TypeDesc)_owningMethodOrType).WriteVertex(factory), sequence);
789
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
796
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(type))
832
NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.
NativeLayout
.PlacedVertexSequence(dictionaryVertices);
901
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_type))
910
sink.Add(context.
NativeLayout
.TypeSignatureVertex(iface), "template interface list");
912
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(iface))
955
sink.Add(context.
NativeLayout
.PlacedSignatureVertex(context.
NativeLayout
.TypeSignatureVertex(_type.BaseType)), "template base type");
957
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_type.BaseType))
983
implementedInterfacesList.Add(factory.
NativeLayout
.TypeSignatureVertex(iface));
985
NativeLayoutPlacedVertexSequenceVertexNode implementedInterfaces = factory.
NativeLayout
.PlacedVertexSequence(implementedInterfacesList);
999
NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.
NativeLayout
.PlacedVertexSequence(dictionaryVertices);
1037
layoutInfo.Append(BagElementKind.BaseType, factory.
NativeLayout
.PlacedSignatureVertex(factory.
NativeLayout
.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory));
1068
_signature = factory.
NativeLayout
.TypeSignatureVertex(type);
1079
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_type))
1153
_signature = factory.
NativeLayout
.TypeSignatureVertex(type);
1167
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_type))
1204
_signature = factory.
NativeLayout
.TypeSignatureVertex(method.OwningType);
1221
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1255
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1262
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1269
sink.Add(factory.
NativeLayout
.MethodEntry(_method), "wrappednode");
1275
return factory.
NativeLayout
.MethodEntry(_method).WriteVertex(factory);
1293
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1300
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1306
sink.Add(factory.
NativeLayout
.MethodEntry(_method), "wrappednode");
1312
return factory.
NativeLayout
.MethodEntry(_method).WriteVertex(factory);
1332
sink.Add(factory.
NativeLayout
.TypeSignatureVertex(_field.OwningType), "Owning type of field");
1334
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_field.OwningType))
1346
Vertex owningType = factory.
NativeLayout
.TypeSignatureVertex(_field.OwningType).WriteVertex(factory);
1369
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1376
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1387
sink.Add(factory.
NativeLayout
.MethodEntry(_method), "wrappednode");
1393
return factory.
NativeLayout
.MethodEntry(_method).WriteVertex(factory);
1437
constrainedMethodDescriptorNode = factory.
NativeLayout
.MethodEntry(_constrainedMethod);
1441
constrainedMethodDescriptorNode = factory.
NativeLayout
.TypeSignatureVertex(_constrainedMethod.OwningType);
1444
sink.Add(factory.
NativeLayout
.TypeSignatureVertex(_constraintType), "ConstraintType");
1448
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_constrainedMethod.OwningType))
1455
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1459
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_constraintType))
1471
Vertex constraintType = factory.
NativeLayout
.TypeSignatureVertex(_constraintType).WriteVertex(factory);
1475
Vertex constrainedMethodVertex = factory.
NativeLayout
.MethodEntry(_constrainedMethod).WriteVertex(factory);
1481
Vertex methodType = factory.
NativeLayout
.TypeSignatureVertex(_constrainedMethod.OwningType).WriteVertex(factory);
1528
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1535
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (2)
166
yield return _factory.
NativeLayout
.TemplateTypeLayout(arrayCanonicalType);
198
yield return _factory.
NativeLayout
.TemplateTypeLayout(canonicalType);
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
165
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\ProxyTypeMapNode.cs (1)
57
context.
NativeLayout
.TemplateTypeLayout(canonKey),
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (2)
262
templateLayout = factory.
NativeLayout
.TemplateMethodLayout((MethodDesc)_dictionaryOwner);
269
templateLayout = factory.
NativeLayout
.TemplateTypeLayout((TypeDesc)_dictionaryOwner);
Compiler\DependencyAnalysis\ThreadStaticsNode.cs (1)
113
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\MetadataManager.cs (1)
471
factory.
NativeLayout
.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\RuntimeConstructableTypeDependencies.cs (1)
70
factory.
NativeLayout
.TemplateTypeLayout(canonType),