1 write to NativeLayout
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NodeFactory.cs (1)
662NativeLayout = new NativeLayoutHelper(this);
99 references to NativeLayout
ILCompiler.Compiler (99)
Compiler\DependencyAnalysis\CodeBasedDependencyAlgorithm.cs (1)
60dependencies.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)
354factory.NativeLayout.TemplateTypeLayout(canonOwningType),
Compiler\DependencyAnalysis\GCStaticsNode.cs (1)
76factory.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)
57var 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)
54NativeLayoutTemplateTypeLayoutVertexNode templateNode = factory.NativeLayout.TemplateTypeLayout(type); 80dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateTypeLayout(templateType), "Template Type Layout"));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
55sink.Add(factory.NativeLayout.TemplateMethodEntry(_method), "GVM Dependency - Template entry"); 56sink.Add(factory.NativeLayout.TemplateMethodLayout(_method), "GVM Dependency - Template");
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (4)
75var currentInterfaceSignature = factory.NativeLayout.TypeSignatureVertex(currentInterface); 76dependencies.Add(new DependencyListEntry(factory.NativeLayout.PlacedSignatureVertex(currentInterfaceSignature), "interface gvm table interface signature")); 210var 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]); 664foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(arg)) 671foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 726new DependencyListEntry(context.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType), "DeclaringType signature"), 758signature = nativeWriter.GetTuple(factory.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType).WriteVertex(factory), sequence); 789foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 796foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(type)) 832NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 901foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type)) 910sink.Add(context.NativeLayout.TypeSignatureVertex(iface), "template interface list"); 912foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(iface)) 955sink.Add(context.NativeLayout.PlacedSignatureVertex(context.NativeLayout.TypeSignatureVertex(_type.BaseType)), "template base type"); 957foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type.BaseType)) 983implementedInterfacesList.Add(factory.NativeLayout.TypeSignatureVertex(iface)); 985NativeLayoutPlacedVertexSequenceVertexNode implementedInterfaces = factory.NativeLayout.PlacedVertexSequence(implementedInterfacesList); 999NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 1037layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory)); 1068_signature = factory.NativeLayout.TypeSignatureVertex(type); 1079foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1153_signature = factory.NativeLayout.TypeSignatureVertex(type); 1167foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1204_signature = factory.NativeLayout.TypeSignatureVertex(method.OwningType); 1221foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1255foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1262foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1269sink.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1275return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1293foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1300foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1306sink.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1312return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1332sink.Add(factory.NativeLayout.TypeSignatureVertex(_field.OwningType), "Owning type of field"); 1334foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_field.OwningType)) 1346Vertex owningType = factory.NativeLayout.TypeSignatureVertex(_field.OwningType).WriteVertex(factory); 1369foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1376foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1387sink.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1393return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1437constrainedMethodDescriptorNode = factory.NativeLayout.MethodEntry(_constrainedMethod); 1441constrainedMethodDescriptorNode = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType); 1444sink.Add(factory.NativeLayout.TypeSignatureVertex(_constraintType), "ConstraintType"); 1448foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constrainedMethod.OwningType)) 1455foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1459foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constraintType)) 1471Vertex constraintType = factory.NativeLayout.TypeSignatureVertex(_constraintType).WriteVertex(factory); 1475Vertex constrainedMethodVertex = factory.NativeLayout.MethodEntry(_constrainedMethod).WriteVertex(factory); 1481Vertex methodType = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType).WriteVertex(factory); 1528foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1535foreach (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)
262templateLayout = factory.NativeLayout.TemplateMethodLayout((MethodDesc)_dictionaryOwner); 269templateLayout = factory.NativeLayout.TemplateTypeLayout((TypeDesc)_dictionaryOwner);
Compiler\DependencyAnalysis\ThreadStaticsNode.cs (1)
113factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\MetadataManager.cs (1)
471factory.NativeLayout.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\RuntimeConstructableTypeDependencies.cs (1)
70factory.NativeLayout.TemplateTypeLayout(canonType),