51 references to GetOrAdd
ILCompiler.ReadyToRun (51)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (30)
136
return _localMethodCache.
GetOrAdd
(method);
143
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
150
return _inheritedVirtualMethods.
GetOrAdd
(type);
157
return _arrayInterfaceMethods.
GetOrAdd
((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific));
194
return _gvmDependenciesNode.
GetOrAdd
(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation));
205
return _virtualMethodUseNodes.
GetOrAdd
(canonMethod);
212
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
219
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
569
return _constructedHelpers.
GetOrAdd
(helperId);
613
return _importMethods.
GetOrAdd
(key);
702
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
737
return _typeSignatures.
GetOrAdd
(fixupKey);
781
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
806
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
848
return _importThunks.
GetOrAdd
(thunkKey);
896
return _wasmImportThunks.
GetOrAdd
(thunkKey);
929
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
935
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
941
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1271
return _dynamicHelperCellCache.
GetOrAdd
(key);
1278
return _copiedCorHeaders.
GetOrAdd
(module);
1285
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1292
return _copiedMetadataBlobs.
GetOrAdd
(module);
1299
return _copiedMethodIL.
GetOrAdd
(method);
1315
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1322
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1329
return _copiedManagedResources.
GetOrAdd
(module);
1362
return _wasmTypeNodes.
GetOrAdd
(funcType);
1367
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1375
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 _dispatchCells.
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);