122 references to GetOrAdd
ILCompiler.Compiler (122)
Compiler\DependencyAnalysis\NodeFactory.cs (83)
755
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
808
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
839
return _importedTypeSymbols.
GetOrAdd
(type);
847
return _nonGCStatics.
GetOrAdd
(type);
855
return _GCStatics.
GetOrAdd
(type);
862
return _GCStaticIndirectionNodes.
GetOrAdd
(type);
874
return _threadStatics.
GetOrAdd
(type);
883
return _typeThreadStaticIndices.
GetOrAdd
(type);
895
return _dispatchCells.
GetOrAdd
(new DispatchCellKey(method, callSite));
902
return _runtimeMethodHandles.
GetOrAdd
(method);
909
return _runtimeFieldHandles.
GetOrAdd
(field);
916
return _dataflowAnalyzedMethods.
GetOrAdd
(new MethodILKey(methodIL));
923
return _dataflowAnalyzedTypeDefinitions.
GetOrAdd
(type);
930
return _dynamicDependencyAttributesOnEntities.
GetOrAdd
(entity);
937
return _embeddedTrimmingDescriptors.
GetOrAdd
(module);
945
return _GCStaticEETypes.
GetOrAdd
((gcMap, requiredAlign8));
952
return _readOnlyDataBlobs.
GetOrAdd
(new ReadOnlyDataBlobKey(name, blobData, alignment));
959
return _fieldRvaDataBlobs.
GetOrAdd
(field);
966
return _sealedVtableNodes.
GetOrAdd
(type);
973
return _interfaceDispatchMaps.
GetOrAdd
(type);
980
return _genericCompositions.
GetOrAdd
(details);
987
return _metadataEnabledGenericCompositions.
GetOrAdd
(details);
994
return _genericVariances.
GetOrAdd
(details);
1001
return _externFunctionSymbols.
GetOrAdd
(name);
1008
return _externIndirectFunctionSymbols.
GetOrAdd
(name);
1015
return _externDataSymbols.
GetOrAdd
(name);
1021
return _externDataSymbols.
GetOrAdd
(mangledName);
1028
return _pInvokeModuleFixups.
GetOrAdd
(moduleData);
1035
return _pInvokeMethodFixups.
GetOrAdd
(methodData);
1065
return _methodGenericDictionaries.
GetOrAdd
(method);
1071
return _typeGenericDictionaries.
GetOrAdd
(type);
1077
return _genericDictionaryLayouts.
GetOrAdd
(methodOrType);
1083
return _stringAllocators.
GetOrAdd
(stringConstructor);
1116
return _unboxingStubs.
GetOrAdd
(method);
1128
return _tentativeMethodEntrypoints.
GetOrAdd
(method);
1138
return _tentativeMethods.
GetOrAdd
((IMethodBodyNode)MethodEntrypoint(method, unboxingStub));
1146
return _methodAssociatedData.
GetOrAdd
(methodNode);
1153
return _fatFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1163
return _fatAddressTakenFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1196
return _gvmDependenciesNode.
GetOrAdd
(method);
1202
return _gvmImpls.
GetOrAdd
(method);
1208
return _genericMethodEntries.
GetOrAdd
(method);
1214
return _exactMethodEntries.
GetOrAdd
(method);
1220
return _gvmTableEntries.
GetOrAdd
(type);
1229
return _addressTakenMethods.
GetOrAdd
(method);
1235
return _reflectedDelegateTargetMethods.
GetOrAdd
(method);
1241
return _delegateTargetMethods.
GetOrAdd
(method);
1247
return _reflectableVirtualMethodImpls.
GetOrAdd
((declaration, implementation));
1257
return _reflectedDelegates.
GetOrAdd
(type);
1263
return _reflectedMethods.
GetOrAdd
(method);
1269
return _reflectedFields.
GetOrAdd
(field);
1275
return _reflectedTypes.
GetOrAdd
(type);
1281
return _notReadOnlyFields.
GetOrAdd
(field);
1287
return _genericStaticBaseInfos.
GetOrAdd
(type);
1293
return _objectGetTypeCalled.
GetOrAdd
(type);
1299
return _objectGetTypeFlowDependencies.
GetOrAdd
(type);
1417
return _variantMethods.
GetOrAdd
(decl);
1424
return _interfaceUses.
GetOrAdd
(type);
1431
return _readyToRunHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
1438
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1445
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1455
return _typesWithMetadata.
GetOrAdd
(type);
1465
return _methodsWithMetadata.
GetOrAdd
(method);
1475
return _methodsWithLimitedMetadata.
GetOrAdd
(method);
1485
return _fieldsWithMetadata.
GetOrAdd
(field);
1495
return _propertiesWithMetadata.
GetOrAdd
(property);
1505
return _eventsWithMetadata.
GetOrAdd
(@event);
1515
return _modulesWithMetadata.
GetOrAdd
(module);
1521
return _inlineableStringResources.
GetOrAdd
(module);
1531
return _customAttributesWithMetadata.
GetOrAdd
(ca);
1541
return _parametersWithMetadata.
GetOrAdd
(ca);
1548
return _frozenStringNodes.
GetOrAdd
(data);
1555
return _frozenObjectNodes.
GetOrAdd
(new SerializedFrozenObjectKey(owningType, allocationSiteId, data));
1562
return _frozenMetadataRuntimeTypeNodes.
GetOrAdd
(type);
1569
return _frozenNecessaryRuntimeTypeNodes.
GetOrAdd
(type);
1576
return _eagerCctorIndirectionNodes.
GetOrAdd
(cctorMethod);
1594
return _delegateMarshalingDataNodes.
GetOrAdd
(type);
1601
return _structMarshalingDataNodes.
GetOrAdd
(type);
1608
return _externalTypeMapRequests.
GetOrAdd
(type);
1615
return _proxyTypeMapRequests.
GetOrAdd
(type);
1621
return _analysisCharacteristics.
GetOrAdd
(ch);
1630
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(desc).FuncType);
1635
return _wasmTypeNodes.
GetOrAdd
(WasmFuncType.FromCorInfoSignature(types));
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (15)
105
return _typeSymbols.
GetOrAdd
(type);
112
return _necessaryTypeSymbols.
GetOrAdd
(type);
119
return _metadataTypeSymbols.
GetOrAdd
(type);
129
return _unwrapNullableSymbols.
GetOrAdd
(type);
144
return _methodHandles.
GetOrAdd
(method);
151
return _fieldHandles.
GetOrAdd
(field);
158
return _typeThreadStaticBaseIndexSymbols.
GetOrAdd
(type);
165
return _typeGCStaticBaseSymbols.
GetOrAdd
(type);
172
return _typeNonGCStaticBaseSymbols.
GetOrAdd
(type);
179
return _methodDictionaries.
GetOrAdd
(method);
186
return _dispatchCells.
GetOrAdd
(method);
193
return _methodEntrypoints.
GetOrAdd
(new MethodKey(method, isUnboxingThunk));
200
return _objectAllocators.
GetOrAdd
(type);
207
return _defaultCtors.
GetOrAdd
(type);
213
return _constrainedMethodUses.
GetOrAdd
(new ConstrainedMethodUseKey(constrainedMethod, constraintType, directCall));
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (24)
217
return _typeSignatures.
GetOrAdd
(type);
223
return _methodSignatures.
GetOrAdd
(signature);
229
return _placedSignatures.
GetOrAdd
(vertexNode);
279
return _placedVertexSequence.
GetOrAdd
(new VertexSequenceKey(vertices));
312
return _placedUIntVertexSequence.
GetOrAdd
(uints);
318
return _methodEntries.
GetOrAdd
(method);
324
return _templateMethodEntries.
GetOrAdd
(method);
330
return _templateMethodLayouts.
GetOrAdd
(method);
336
return _templateTypeLayouts.
GetOrAdd
(GenericTypesTemplateMap.ConvertArrayOfTToRegularArray(_factory, type));
342
return _typeHandle_GenericDictionarySlots.
GetOrAdd
(type);
348
return _gcStatic_GenericDictionarySlots.
GetOrAdd
(type);
354
return _nonGcStatic_GenericDictionarySlots.
GetOrAdd
(type);
360
return _unwrapNullable_GenericDictionarySlots.
GetOrAdd
(type);
366
return _allocateObject_GenericDictionarySlots.
GetOrAdd
(type);
372
return _threadStaticIndex_GenericDictionarySlots.
GetOrAdd
(type);
378
return _defaultConstructor_GenericDictionarySlots.
GetOrAdd
(type);
384
return _interfaceCell_GenericDictionarySlots.
GetOrAdd
(method);
390
return _gvmCell_GenericDictionarySlots.
GetOrAdd
(method);
396
return _methodDictionary_GenericDictionarySlots.
GetOrAdd
(method);
449
return _methodEntrypoint_GenericDictionarySlots.
GetOrAdd
(new MethodEntrypointSlotKey(method, unboxing, functionPointerTarget));
455
return _fieldLdToken_GenericDictionarySlots.
GetOrAdd
(field);
461
return _methodLdToken_GenericDictionarySlots.
GetOrAdd
(method);
467
return _dictionarySignatures.
GetOrAdd
(owningMethodOrType);
473
return _constrainedMethodUseSlots.
GetOrAdd
(new ConstrainedMethodUseKey(constrainedMethod, constraintType, directCall));