1 write to NativeLayout
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NodeFactory.cs (1)
647NativeLayout = new NativeLayoutHelper(this);
99 references to NativeLayout
ILCompiler.Compiler (99)
Compiler\DependencyAnalysis\CodeBasedDependencyAlgorithm.cs (1)
59dependencies.Add(factory.NativeLayout.TemplateTypeLayout(templateType), "Generic comparer");
Compiler\DependencyAnalysis\DictionaryLayoutNode.cs (2)
161templateLayout = factory.NativeLayout.TemplateMethodLayout((MethodDesc)_owningMethodOrType); 165templateLayout = factory.NativeLayout.TemplateTypeLayout((TypeDesc)_owningMethodOrType);
Compiler\DependencyAnalysis\EETypeNode.cs (1)
355factory.NativeLayout.TemplateTypeLayout(canonOwningType),
Compiler\DependencyAnalysis\GCStaticsNode.cs (1)
81factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\GenericLookupResult.cs (16)
225return factory.NativeLayout.TypeHandleDictionarySlot(_type); 283return factory.NativeLayout.TypeHandleDictionarySlot(_type); 341return factory.NativeLayout.TypeHandleDictionarySlot(_type); 404return factory.NativeLayout.UnwrapNullableTypeDictionarySlot(_type); 469return factory.NativeLayout.MethodLdTokenDictionarySlot(_method); 525return factory.NativeLayout.FieldLdTokenDictionarySlot(_field); 589return factory.NativeLayout.MethodDictionaryDictionarySlot(_method); 664return factory.NativeLayout.MethodEntrypointDictionarySlot( 753return _method.HasInstantiation ? factory.NativeLayout.GvmCellDictionarySlot(_method) : factory.NativeLayout.InterfaceCellDictionarySlot(_method); 810return factory.NativeLayout.NonGcStaticDictionarySlot(_type); 866return factory.NativeLayout.ThreadStaticBaseIndexDictionarySlotNode(_type); 923return factory.NativeLayout.GcStaticDictionarySlot(_type); 978return factory.NativeLayout.AllocateObjectDictionarySlot(_type); 1031return factory.NativeLayout.DefaultConstructorDictionarySlot(_type); 1158return factory.NativeLayout.ConstrainedMethodUse(_constrainedMethod, _constraintType, _directCall);
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (3)
56var layoutNode = factory.NativeLayout.TemplateMethodLayout(methodEntryNode.Method); 81dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateMethodEntry(method), "Template Method Entry")); 82dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateMethodLayout(method), "Template Method Layout"));
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (2)
53NativeLayoutTemplateTypeLayoutVertexNode templateNode = factory.NativeLayout.TemplateTypeLayout(type); 80dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateTypeLayout(templateType), "Template Type Layout"));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
57dependencies.Add(factory.NativeLayout.TemplateMethodEntry(_method), "GVM Dependency - Template entry"); 58dependencies.Add(factory.NativeLayout.TemplateMethodLayout(_method), "GVM Dependency - Template");
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (4)
74var currentInterfaceSignature = factory.NativeLayout.TypeSignatureVertex(currentInterface); 75dependencies.Add(new DependencyListEntry(factory.NativeLayout.PlacedSignatureVertex(currentInterfaceSignature), "interface gvm table interface signature")); 209var typeSig = factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(currentInterface));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (58)
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]); 686foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(arg)) 693foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 750new DependencyListEntry(context.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType), "DeclaringType signature"), 786signature = nativeWriter.GetTuple(factory.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType).WriteVertex(factory), sequence); 817foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 824foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(type)) 860NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 929foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type)) 938yield return new DependencyListEntry(context.NativeLayout.TypeSignatureVertex(iface), "template interface list"); 940foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(iface)) 983yield return new DependencyListEntry(context.NativeLayout.PlacedSignatureVertex(context.NativeLayout.TypeSignatureVertex(_type.BaseType)), "template base type"); 985foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type.BaseType)) 1011implementedInterfacesList.Add(factory.NativeLayout.TypeSignatureVertex(iface)); 1013NativeLayoutPlacedVertexSequenceVertexNode implementedInterfaces = factory.NativeLayout.PlacedVertexSequence(implementedInterfacesList); 1027NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 1065layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory)); 1096_signature = factory.NativeLayout.TypeSignatureVertex(type); 1107foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1181_signature = factory.NativeLayout.TypeSignatureVertex(type); 1195foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1232_signature = factory.NativeLayout.TypeSignatureVertex(method.OwningType); 1249foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1285foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1292foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1299result.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1306return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1326foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1333foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1339dependencies.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1346return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1368{ factory.NativeLayout.TypeSignatureVertex(_field.OwningType), "Owning type of field" } 1371foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_field.OwningType)) 1385Vertex owningType = factory.NativeLayout.TypeSignatureVertex(_field.OwningType).WriteVertex(factory); 1410foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1417foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1428result.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1435return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1479constrainedMethodDescriptorNode = factory.NativeLayout.MethodEntry(_constrainedMethod); 1483constrainedMethodDescriptorNode = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType); 1486yield return new DependencyListEntry(factory.NativeLayout.TypeSignatureVertex(_constraintType), "ConstraintType"); 1490foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constrainedMethod.OwningType)) 1497foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1501foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constraintType)) 1513Vertex constraintType = factory.NativeLayout.TypeSignatureVertex(_constraintType).WriteVertex(factory); 1517Vertex constrainedMethodVertex = factory.NativeLayout.MethodEntry(_constrainedMethod).WriteVertex(factory); 1523Vertex methodType = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType).WriteVertex(factory); 1572foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1579foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type))
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (2)
166yield return _factory.NativeLayout.TemplateTypeLayout(arrayCanonicalType); 198yield return _factory.NativeLayout.TemplateTypeLayout(canonicalType);
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
165factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\ProxyTypeMapNode.cs (1)
57context.NativeLayout.TemplateTypeLayout(canonKey),
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (2)
245templateLayout = factory.NativeLayout.TemplateMethodLayout((MethodDesc)_dictionaryOwner); 252templateLayout = factory.NativeLayout.TemplateTypeLayout((TypeDesc)_dictionaryOwner);
Compiler\DependencyAnalysis\ThreadStaticsNode.cs (1)
117factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\MetadataManager.cs (1)
485factory.NativeLayout.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\RuntimeConstructableTypeDependencies.cs (1)
69factory.NativeLayout.TemplateTypeLayout(canonType),