50 references to GetOrAdd
ILCompiler.ReadyToRun (50)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (29)
134
return _localMethodCache.
GetOrAdd
(method);
141
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
148
return _inheritedVirtualMethods.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
158
return _gvmDependenciesNode.
GetOrAdd
(canonMethod);
169
return _virtualMethodUseNodes.
GetOrAdd
(canonMethod);
176
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
183
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
528
return _constructedHelpers.
GetOrAdd
(helperId);
572
return _importMethods.
GetOrAdd
(key);
661
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
696
return _typeSignatures.
GetOrAdd
(fixupKey);
740
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
765
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
807
return _importThunks.
GetOrAdd
(thunkKey);
855
return _wasmImportThunks.
GetOrAdd
(thunkKey);
888
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
894
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
900
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1230
return _dynamicHelperCellCache.
GetOrAdd
(key);
1237
return _copiedCorHeaders.
GetOrAdd
(module);
1244
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1251
return _copiedMetadataBlobs.
GetOrAdd
(module);
1258
return _copiedMethodIL.
GetOrAdd
(method);
1274
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1281
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1288
return _copiedManagedResources.
GetOrAdd
(module);
1321
return _wasmTypeNodes.
GetOrAdd
(funcType);
1326
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1334
return _wasmTypeNodes.
GetOrAdd
(funcType);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (21)
209
return _continuationTypeFixups.
GetOrAdd
(key);
216
return _importStrings.
GetOrAdd
(moduleToken);
301
return _r2rHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
310
return _instructionSetSupportFixups.
GetOrAdd
(key);
442
return _fieldAddressCache.
GetOrAdd
(fieldWithToken);
449
return _fieldOffsetCache.
GetOrAdd
(fieldWithToken);
456
return _checkFieldOffsetCache.
GetOrAdd
(fieldWithToken);
463
return _fieldBaseOffsetCache.
GetOrAdd
(typeDesc);
470
return _rvaFieldAddressCache.
GetOrAdd
(fieldWithToken);
478
return _interfaceDispatchCells.
GetOrAdd
(cellKey);
491
return _delegateCtors.
GetOrAdd
(ctorKey);
498
return _checkTypeLayoutCache.
GetOrAdd
(type);
508
return _virtualFunctionOverrideCache.
GetOrAdd
(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod));
515
return _ilBodyFixupsCache.
GetOrAdd
(_codegenNodeFactory.ILBodyFixupSignature(
523
return _ecmaModuleFixupCache.
GetOrAdd
(module);
676
return _genericLookupHelpers.
GetOrAdd
(key);
686
return _genericLookupHelpers.
GetOrAdd
(key);
696
return _genericLookupHelpers.
GetOrAdd
(key);
730
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
735
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
740
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);