124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
783
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
836
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
867
return _importedTypeSymbols.
GetOrAdd
(type);
875
return _nonGCStatics.
GetOrAdd
(type);
883
return _GCStatics.
GetOrAdd
(type);
890
return _GCStaticIndirectionNodes.
GetOrAdd
(type);
902
return _threadStatics.
GetOrAdd
(type);
911
return _typeThreadStaticIndices.
GetOrAdd
(type);
923
return _dispatchCells.
GetOrAdd
(new DispatchCellKey(method, callSite));
930
return _runtimeMethodHandles.
GetOrAdd
(method);
937
return _runtimeFieldHandles.
GetOrAdd
(field);
944
return _dataflowAnalyzedMethods.
GetOrAdd
(new MethodILKey(methodIL));
951
return _dataflowAnalyzedTypeDefinitions.
GetOrAdd
(type);
958
return _dynamicDependencyAttributesOnEntities.
GetOrAdd
(entity);
965
return _embeddedTrimmingDescriptors.
GetOrAdd
(module);
973
return _GCStaticEETypes.
GetOrAdd
((gcMap, requiredAlign8));
980
return _readOnlyDataBlobs.
GetOrAdd
(new ReadOnlyDataBlobKey(name, blobData, alignment));
987
return _fieldRvaDataBlobs.
GetOrAdd
(field);
994
return _sealedVtableNodes.
GetOrAdd
(type);
1001
return _interfaceDispatchMaps.
GetOrAdd
(type);
1008
return _genericCompositions.
GetOrAdd
(details);
1015
return _metadataEnabledGenericCompositions.
GetOrAdd
(details);
1022
return _genericVariances.
GetOrAdd
(details);
1029
return _externIndirectFunctionSymbols.
GetOrAdd
(name);
1035
return _directPInvokes.
GetOrAdd
(method);
1042
return _externDataSymbols.
GetOrAdd
(name);
1048
return _externDataSymbols.
GetOrAdd
(mangledName);
1055
return _pInvokeModuleFixups.
GetOrAdd
(moduleData);
1062
return _pInvokeMethodFixups.
GetOrAdd
(methodData);
1092
return _methodGenericDictionaries.
GetOrAdd
(method);
1098
return _typeGenericDictionaries.
GetOrAdd
(type);
1104
return _genericDictionaryLayouts.
GetOrAdd
(methodOrType);
1110
return _stringAllocators.
GetOrAdd
(stringConstructor);
1143
return _unboxingStubs.
GetOrAdd
(method);
1155
return _tentativeMethodEntrypoints.
GetOrAdd
(method);
1165
return _tentativeMethods.
GetOrAdd
((IMethodBodyNode)MethodEntrypoint(method, unboxingStub));
1173
return _methodAssociatedData.
GetOrAdd
(methodNode);
1180
return _fatFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1190
return _fatAddressTakenFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1223
return _gvmDependenciesNode.
GetOrAdd
(method);
1229
return _gvmImpls.
GetOrAdd
(method);
1235
return _genericMethodEntries.
GetOrAdd
(method);
1241
return _exactMethodEntries.
GetOrAdd
(method);
1247
return _gvmTableEntries.
GetOrAdd
(type);
1256
return _addressTakenMethods.
GetOrAdd
(method);
1262
return _reflectedDelegateTargetMethods.
GetOrAdd
(method);
1268
return _delegateTargetMethods.
GetOrAdd
(method);
1274
return _reflectableVirtualMethodImpls.
GetOrAdd
((declaration, implementation));
1284
return _reflectedDelegates.
GetOrAdd
(type);
1290
return _reflectedMethods.
GetOrAdd
(method);
1296
return _reflectedFields.
GetOrAdd
(field);
1302
return _reflectedTypes.
GetOrAdd
(type);
1308
return _notReadOnlyFields.
GetOrAdd
(field);
1314
return _genericStaticBaseInfos.
GetOrAdd
(type);
1320
return _objectGetTypeCalled.
GetOrAdd
(type);
1326
return _objectGetTypeFlowDependencies.
GetOrAdd
(type);
1444
return _variantMethods.
GetOrAdd
(decl);
1451
return _interfaceUses.
GetOrAdd
(type);
1458
return _r2rHelpers.
GetOrAdd
(id);
1465
return _readyToRunHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
1472
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1479
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1489
return _typesWithMetadata.
GetOrAdd
(type);
1499
return _methodsWithMetadata.
GetOrAdd
(method);
1509
return _methodsWithLimitedMetadata.
GetOrAdd
(method);
1519
return _fieldsWithMetadata.
GetOrAdd
(field);
1529
return _propertiesWithMetadata.
GetOrAdd
(property);
1539
return _eventsWithMetadata.
GetOrAdd
(@event);
1549
return _modulesWithMetadata.
GetOrAdd
(module);
1555
return _inlineableStringResources.
GetOrAdd
(module);
1565
return _customAttributesWithMetadata.
GetOrAdd
(ca);
1575
return _parametersWithMetadata.
GetOrAdd
(ca);
1582
return _frozenStringNodes.
GetOrAdd
(data);
1589
return _frozenObjectNodes.
GetOrAdd
(new SerializedFrozenObjectKey(owningType, allocationSiteId, data));
1596
return _frozenMetadataRuntimeTypeNodes.
GetOrAdd
(type);
1603
return _frozenNecessaryRuntimeTypeNodes.
GetOrAdd
(type);
1610
return _eagerCctorIndirectionNodes.
GetOrAdd
(cctorMethod);
1628
return _delegateMarshalingDataNodes.
GetOrAdd
(type);
1635
return _structMarshalingDataNodes.
GetOrAdd
(type);
1642
return _externalTypeMapRequests.
GetOrAdd
(type);
1649
return _proxyTypeMapRequests.
GetOrAdd
(type);
1655
return _analysisCharacteristics.
GetOrAdd
(ch);
1664
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(desc).FuncType);
1669
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(node).FuncType);
1674
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));