1 write to NativeLayout
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NodeFactory.cs (1)
635
NativeLayout
= new NativeLayoutHelper(this);
95 references to NativeLayout
ILCompiler.Compiler (95)
Compiler\DependencyAnalysis\CodeBasedDependencyAlgorithm.cs (1)
59
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)
355
factory.
NativeLayout
.TemplateTypeLayout(canonOwningType),
Compiler\DependencyAnalysis\ExternalTypeMapNode.cs (2)
55
context.
NativeLayout
.TemplateTypeLayout(canonTrimmingType),
68
context.
NativeLayout
.TemplateTypeLayout(canonElementType),
Compiler\DependencyAnalysis\GCStaticsNode.cs (1)
81
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\GenericLookupResult.cs (15)
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);
662
return factory.
NativeLayout
.MethodEntrypointDictionarySlot(
751
return factory.
NativeLayout
.InterfaceCellDictionarySlot(_method);
808
return factory.
NativeLayout
.NonGcStaticDictionarySlot(_type);
864
return factory.
NativeLayout
.ThreadStaticBaseIndexDictionarySlotNode(_type);
921
return factory.
NativeLayout
.GcStaticDictionarySlot(_type);
976
return factory.
NativeLayout
.AllocateObjectDictionarySlot(_type);
1029
return factory.
NativeLayout
.DefaultConstructorDictionarySlot(_type);
1156
return factory.
NativeLayout
.ConstrainedMethodUse(_constrainedMethod, _constraintType, _directCall);
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (3)
56
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)
53
NativeLayoutTemplateTypeLayoutVertexNode templateNode = factory.
NativeLayout
.TemplateTypeLayout(type);
80
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.TemplateTypeLayout(templateType), "Template Type Layout"));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
57
dependencies.Add(factory.
NativeLayout
.TemplateMethodEntry(_method), "GVM Dependency - Template entry");
58
dependencies.Add(factory.
NativeLayout
.TemplateMethodLayout(_method), "GVM Dependency - Template");
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (4)
74
var currentInterfaceSignature = factory.
NativeLayout
.TypeSignatureVertex(currentInterface);
75
dependencies.Add(new DependencyListEntry(factory.
NativeLayout
.PlacedSignatureVertex(currentInterfaceSignature), "interface gvm table interface signature"));
209
var typeSig = factory.
NativeLayout
.PlacedSignatureVertex(factory.
NativeLayout
.TypeSignatureVertex(currentInterface));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (54)
120
_containingTypeSig = factory.
NativeLayout
.TypeSignatureVertex(method.OwningType);
125
_instantiationArgsSig[i] = factory.
NativeLayout
.TypeSignatureVertex(method.Instantiation[i]);
265
_returnTypeSig = factory.
NativeLayout
.TypeSignatureVertex(signature.ReturnType);
268
_parametersSig[i] = factory.
NativeLayout
.TypeSignatureVertex(signature[i]);
353
_parameterTypeSig = factory.
NativeLayout
.TypeSignatureVertex(((ParameterizedType)type).ParameterType);
397
_sig = factory.
NativeLayout
.MethodSignatureVertex(((FunctionPointerType)type).Signature);
447
_genericTypeDefSig = factory.
NativeLayout
.TypeSignatureVertex(type.GetTypeDefinition());
450
_instantiationArgs[i] = factory.
NativeLayout
.TypeSignatureVertex(type.Instantiation[i]);
686
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(arg))
693
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
750
new DependencyListEntry(context.
NativeLayout
.TypeSignatureVertex((TypeDesc)_owningMethodOrType), "DeclaringType signature"),
786
signature = nativeWriter.GetTuple(factory.
NativeLayout
.TypeSignatureVertex((TypeDesc)_owningMethodOrType).WriteVertex(factory), sequence);
817
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
824
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(type))
865
NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.
NativeLayout
.PlacedVertexSequence(dictionaryVertices);
934
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_type))
943
yield return new DependencyListEntry(context.
NativeLayout
.TypeSignatureVertex(iface), "template interface list");
945
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(iface))
988
yield return new DependencyListEntry(context.
NativeLayout
.PlacedSignatureVertex(context.
NativeLayout
.TypeSignatureVertex(_type.BaseType)), "template base type");
990
foreach (var dependency in context.
NativeLayout
.TemplateConstructableTypes(_type.BaseType))
1021
implementedInterfacesList.Add(factory.
NativeLayout
.TypeSignatureVertex(iface));
1023
NativeLayoutPlacedVertexSequenceVertexNode implementedInterfaces = factory.
NativeLayout
.PlacedVertexSequence(implementedInterfacesList);
1037
NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.
NativeLayout
.PlacedVertexSequence(dictionaryVertices);
1077
layoutInfo.Append(BagElementKind.BaseType, factory.
NativeLayout
.PlacedSignatureVertex(factory.
NativeLayout
.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory));
1108
_signature = factory.
NativeLayout
.TypeSignatureVertex(type);
1119
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_type))
1193
_signature = factory.
NativeLayout
.TypeSignatureVertex(type);
1207
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_type))
1244
_signature = factory.
NativeLayout
.TypeSignatureVertex(method.OwningType);
1264
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(method.OwningType))
1298
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1305
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1311
dependencies.Add(factory.
NativeLayout
.MethodEntry(_method), "wrappednode");
1318
return factory.
NativeLayout
.MethodEntry(_method).WriteVertex(factory);
1340
{ factory.
NativeLayout
.TypeSignatureVertex(_field.OwningType), "Owning type of field" }
1343
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_field.OwningType))
1357
Vertex owningType = factory.
NativeLayout
.TypeSignatureVertex(_field.OwningType).WriteVertex(factory);
1382
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1389
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1400
result.Add(factory.
NativeLayout
.MethodEntry(_method), "wrappednode");
1407
return factory.
NativeLayout
.MethodEntry(_method).WriteVertex(factory);
1451
constrainedMethodDescriptorNode = factory.
NativeLayout
.MethodEntry(_constrainedMethod);
1455
constrainedMethodDescriptorNode = factory.
NativeLayout
.TypeSignatureVertex(_constrainedMethod.OwningType);
1458
yield return new DependencyListEntry(factory.
NativeLayout
.TypeSignatureVertex(_constraintType), "ConstraintType");
1462
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_constrainedMethod.OwningType))
1469
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
1473
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_constraintType))
1485
Vertex constraintType = factory.
NativeLayout
.TypeSignatureVertex(_constraintType).WriteVertex(factory);
1489
Vertex constrainedMethodVertex = factory.
NativeLayout
.MethodEntry(_constrainedMethod).WriteVertex(factory);
1495
Vertex methodType = factory.
NativeLayout
.TypeSignatureVertex(_constrainedMethod.OwningType).WriteVertex(factory);
1544
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(_method.OwningType))
1551
foreach (var dependency in factory.
NativeLayout
.TemplateConstructableTypes(type))
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (2)
161
yield return _factory.
NativeLayout
.TemplateTypeLayout(arrayCanonicalType);
193
yield return _factory.
NativeLayout
.TemplateTypeLayout(canonicalType);
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
155
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\ProxyTypeMapNode.cs (1)
57
context.
NativeLayout
.TemplateTypeLayout(canonKey),
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (2)
245
templateLayout = factory.
NativeLayout
.TemplateMethodLayout((MethodDesc)_dictionaryOwner);
252
templateLayout = factory.
NativeLayout
.TemplateTypeLayout((TypeDesc)_dictionaryOwner);
Compiler\DependencyAnalysis\ThreadStaticsNode.cs (1)
117
factory.
NativeLayout
.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\MetadataManager.cs (1)
473
factory.
NativeLayout
.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),