124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
785
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
838
return _asyncContinuationEETypes.
GetOrAdd
(continuation);
869
return _importedTypeSymbols.
GetOrAdd
(type);
877
return _nonGCStatics.
GetOrAdd
(type);
885
return _GCStatics.
GetOrAdd
(type);
892
return _GCStaticIndirectionNodes.
GetOrAdd
(type);
904
return _threadStatics.
GetOrAdd
(type);
913
return _typeThreadStaticIndices.
GetOrAdd
(type);
925
return _dispatchCells.
GetOrAdd
(new DispatchCellKey(method, callSite));
932
return _runtimeMethodHandles.
GetOrAdd
(method);
939
return _runtimeFieldHandles.
GetOrAdd
(field);
946
return _dataflowAnalyzedMethods.
GetOrAdd
(new MethodILKey(methodIL));
953
return _dataflowAnalyzedTypeDefinitions.
GetOrAdd
(type);
960
return _dynamicDependencyAttributesOnEntities.
GetOrAdd
(entity);
967
return _embeddedTrimmingDescriptors.
GetOrAdd
(module);
975
return _GCStaticEETypes.
GetOrAdd
((gcMap, requiredAlign8));
982
return _readOnlyDataBlobs.
GetOrAdd
(new ReadOnlyDataBlobKey(name, blobData, alignment));
989
return _fieldRvaDataBlobs.
GetOrAdd
(field);
996
return _sealedVtableNodes.
GetOrAdd
(type);
1003
return _interfaceDispatchMaps.
GetOrAdd
(type);
1010
return _genericCompositions.
GetOrAdd
(details);
1017
return _metadataEnabledGenericCompositions.
GetOrAdd
(details);
1024
return _genericVariances.
GetOrAdd
(details);
1031
return _externIndirectFunctionSymbols.
GetOrAdd
(name);
1037
return _directPInvokes.
GetOrAdd
(method);
1044
return _externDataSymbols.
GetOrAdd
(name);
1050
return _externDataSymbols.
GetOrAdd
(mangledName);
1057
return _pInvokeModuleFixups.
GetOrAdd
(moduleData);
1064
return _pInvokeMethodFixups.
GetOrAdd
(methodData);
1094
return _methodGenericDictionaries.
GetOrAdd
(method);
1100
return _typeGenericDictionaries.
GetOrAdd
(type);
1106
return _genericDictionaryLayouts.
GetOrAdd
(methodOrType);
1112
return _stringAllocators.
GetOrAdd
(stringConstructor);
1145
return _unboxingStubs.
GetOrAdd
(method);
1157
return _tentativeMethodEntrypoints.
GetOrAdd
(method);
1167
return _tentativeMethods.
GetOrAdd
((IMethodBodyNode)MethodEntrypoint(method, unboxingStub));
1175
return _methodAssociatedData.
GetOrAdd
(methodNode);
1182
return _fatFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1192
return _fatAddressTakenFunctionPointers.
GetOrAdd
(new MethodKey(method, isUnboxingStub));
1225
return _gvmDependenciesNode.
GetOrAdd
(method);
1231
return _gvmImpls.
GetOrAdd
(method);
1237
return _genericMethodEntries.
GetOrAdd
(method);
1243
return _exactMethodEntries.
GetOrAdd
(method);
1249
return _gvmTableEntries.
GetOrAdd
(type);
1258
return _addressTakenMethods.
GetOrAdd
(method);
1264
return _reflectedDelegateTargetMethods.
GetOrAdd
(method);
1270
return _delegateTargetMethods.
GetOrAdd
(method);
1276
return _reflectableVirtualMethodImpls.
GetOrAdd
((declaration, implementation));
1286
return _reflectedDelegates.
GetOrAdd
(type);
1292
return _reflectedMethods.
GetOrAdd
(method);
1298
return _reflectedFields.
GetOrAdd
(field);
1304
return _reflectedTypes.
GetOrAdd
(type);
1310
return _notReadOnlyFields.
GetOrAdd
(field);
1316
return _genericStaticBaseInfos.
GetOrAdd
(type);
1322
return _objectGetTypeCalled.
GetOrAdd
(type);
1328
return _objectGetTypeFlowDependencies.
GetOrAdd
(type);
1446
return _variantMethods.
GetOrAdd
(decl);
1453
return _interfaceUses.
GetOrAdd
(type);
1460
return _r2rHelpers.
GetOrAdd
(id);
1467
return _readyToRunHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
1474
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1481
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
1491
return _typesWithMetadata.
GetOrAdd
(type);
1501
return _methodsWithMetadata.
GetOrAdd
(method);
1511
return _methodsWithLimitedMetadata.
GetOrAdd
(method);
1521
return _fieldsWithMetadata.
GetOrAdd
(field);
1531
return _propertiesWithMetadata.
GetOrAdd
(property);
1541
return _eventsWithMetadata.
GetOrAdd
(@event);
1551
return _modulesWithMetadata.
GetOrAdd
(module);
1557
return _inlineableStringResources.
GetOrAdd
(module);
1567
return _customAttributesWithMetadata.
GetOrAdd
(ca);
1577
return _parametersWithMetadata.
GetOrAdd
(ca);
1584
return _frozenStringNodes.
GetOrAdd
(data);
1591
return _frozenObjectNodes.
GetOrAdd
(new SerializedFrozenObjectKey(owningType, allocationSiteId, data));
1598
return _frozenMetadataRuntimeTypeNodes.
GetOrAdd
(type);
1605
return _frozenNecessaryRuntimeTypeNodes.
GetOrAdd
(type);
1612
return _eagerCctorIndirectionNodes.
GetOrAdd
(cctorMethod);
1630
return _delegateMarshalingDataNodes.
GetOrAdd
(type);
1637
return _structMarshalingDataNodes.
GetOrAdd
(type);
1644
return _externalTypeMapRequests.
GetOrAdd
(type);
1651
return _proxyTypeMapRequests.
GetOrAdd
(type);
1657
return _analysisCharacteristics.
GetOrAdd
(ch);
1666
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(desc).FuncType);
1671
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(node).FuncType);
1676
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));