47 references to GetOrAdd
ILCompiler.ReadyToRun (47)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (26)
134
return _localMethodCache.
GetOrAdd
(method);
141
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
148
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
155
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
485
return _constructedHelpers.
GetOrAdd
(helperId);
529
return _importMethods.
GetOrAdd
(key);
618
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
653
return _typeSignatures.
GetOrAdd
(fixupKey);
697
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
722
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
764
return _importThunks.
GetOrAdd
(thunkKey);
812
return _wasmImportThunks.
GetOrAdd
(thunkKey);
845
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
851
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
857
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1184
return _dynamicHelperCellCache.
GetOrAdd
(key);
1191
return _copiedCorHeaders.
GetOrAdd
(module);
1198
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1205
return _copiedMetadataBlobs.
GetOrAdd
(module);
1212
return _copiedMethodIL.
GetOrAdd
(method);
1228
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1235
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1242
return _copiedManagedResources.
GetOrAdd
(module);
1266
return _wasmTypeNodes.
GetOrAdd
(funcType);
1271
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1279
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);
690
return _genericLookupHelpers.
GetOrAdd
(key);
700
return _genericLookupHelpers.
GetOrAdd
(key);
710
return _genericLookupHelpers.
GetOrAdd
(key);
744
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
749
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
754
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);