124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
768
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
821
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
852
return _importedTypeSymbols.
GetOrAdd
(type);
860
return _nonGCStatics.
GetOrAdd
(type);
868
return _GCStatics.
GetOrAdd
(type);
875
return _GCStaticIndirectionNodes.
GetOrAdd
(type);
887
return _threadStatics.
GetOrAdd
(type);
896
return _typeThreadStaticIndices.
GetOrAdd
(type);
908
return _dispatchCells.
GetOrAdd
(new DispatchCellKey(method, callSite));
915
return _runtimeMethodHandles.
GetOrAdd
(method);
922
return _runtimeFieldHandles.
GetOrAdd
(field);
929
return _dataflowAnalyzedMethods.
GetOrAdd
(new MethodILKey(methodIL));
936
return _dataflowAnalyzedTypeDefinitions.
GetOrAdd
(type);
943
return _dynamicDependencyAttributesOnEntities.
GetOrAdd
(entity);
950
return _embeddedTrimmingDescriptors.
GetOrAdd
(module);
958
return _GCStaticEETypes.
GetOrAdd
((gcMap, requiredAlign8));
965
return _readOnlyDataBlobs.
GetOrAdd
(new ReadOnlyDataBlobKey(name, blobData, alignment));
972
return _fieldRvaDataBlobs.
GetOrAdd
(field);
979
return _sealedVtableNodes.
GetOrAdd
(type);
986
return _interfaceDispatchMaps.
GetOrAdd
(type);
993
return _genericCompositions.
GetOrAdd
(details);
1000
return _metadataEnabledGenericCompositions.
GetOrAdd
(details);
1007
return _genericVariances.
GetOrAdd
(details);
1014
return _externIndirectFunctionSymbols.
GetOrAdd
(name);
1020
return _directPInvokes.
GetOrAdd
(method);
1027
return _externDataSymbols.
GetOrAdd
(name);
1033
return _externDataSymbols.
GetOrAdd
(mangledName);
1040
return _pInvokeModuleFixups.
GetOrAdd
(moduleData);
1047
return _pInvokeMethodFixups.
GetOrAdd
(methodData);
1077
return _methodGenericDictionaries.
GetOrAdd
(method);
1083
return _typeGenericDictionaries.
GetOrAdd
(type);
1089
return _genericDictionaryLayouts.
GetOrAdd
(methodOrType);
1095
return _stringAllocators.
GetOrAdd
(stringConstructor);
1128
return _unboxingStubs.
GetOrAdd
(method);
1140
return _tentativeMethodEntrypoints.
GetOrAdd
(method);
1150
return _tentativeMethods.
GetOrAdd
((IMethodBodyNode)MethodEntrypoint(method, unboxingStub));
1158
return _methodAssociatedData.
GetOrAdd
(methodNode);
1165
return _fatFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1175
return _fatAddressTakenFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1208
return _gvmDependenciesNode.
GetOrAdd
(method);
1214
return _gvmImpls.
GetOrAdd
(method);
1220
return _genericMethodEntries.
GetOrAdd
(method);
1226
return _exactMethodEntries.
GetOrAdd
(method);
1232
return _gvmTableEntries.
GetOrAdd
(type);
1241
return _addressTakenMethods.
GetOrAdd
(method);
1247
return _reflectedDelegateTargetMethods.
GetOrAdd
(method);
1253
return _delegateTargetMethods.
GetOrAdd
(method);
1259
return _reflectableVirtualMethodImpls.
GetOrAdd
((declaration, implementation));
1269
return _reflectedDelegates.
GetOrAdd
(type);
1275
return _reflectedMethods.
GetOrAdd
(method);
1281
return _reflectedFields.
GetOrAdd
(field);
1287
return _reflectedTypes.
GetOrAdd
(type);
1293
return _notReadOnlyFields.
GetOrAdd
(field);
1299
return _genericStaticBaseInfos.
GetOrAdd
(type);
1305
return _objectGetTypeCalled.
GetOrAdd
(type);
1311
return _objectGetTypeFlowDependencies.
GetOrAdd
(type);
1429
return _variantMethods.
GetOrAdd
(decl);
1436
return _interfaceUses.
GetOrAdd
(type);
1443
return _r2rHelpers.
GetOrAdd
(id);
1450
return _readyToRunHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
1457
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1464
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1474
return _typesWithMetadata.
GetOrAdd
(type);
1484
return _methodsWithMetadata.
GetOrAdd
(method);
1494
return _methodsWithLimitedMetadata.
GetOrAdd
(method);
1504
return _fieldsWithMetadata.
GetOrAdd
(field);
1514
return _propertiesWithMetadata.
GetOrAdd
(property);
1524
return _eventsWithMetadata.
GetOrAdd
(@event);
1534
return _modulesWithMetadata.
GetOrAdd
(module);
1540
return _inlineableStringResources.
GetOrAdd
(module);
1550
return _customAttributesWithMetadata.
GetOrAdd
(ca);
1560
return _parametersWithMetadata.
GetOrAdd
(ca);
1567
return _frozenStringNodes.
GetOrAdd
(data);
1574
return _frozenObjectNodes.
GetOrAdd
(new SerializedFrozenObjectKey(owningType, allocationSiteId, data));
1581
return _frozenMetadataRuntimeTypeNodes.
GetOrAdd
(type);
1588
return _frozenNecessaryRuntimeTypeNodes.
GetOrAdd
(type);
1595
return _eagerCctorIndirectionNodes.
GetOrAdd
(cctorMethod);
1613
return _delegateMarshalingDataNodes.
GetOrAdd
(type);
1620
return _structMarshalingDataNodes.
GetOrAdd
(type);
1627
return _externalTypeMapRequests.
GetOrAdd
(type);
1634
return _proxyTypeMapRequests.
GetOrAdd
(type);
1640
return _analysisCharacteristics.
GetOrAdd
(ch);
1649
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(desc).FuncType);
1654
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(node).FuncType);
1659
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));