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);
304
return _r2rHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
313
return _instructionSetSupportFixups.
GetOrAdd
(key);
455
return _fieldAddressCache.
GetOrAdd
(fieldWithToken);
462
return _fieldOffsetCache.
GetOrAdd
(fieldWithToken);
469
return _checkFieldOffsetCache.
GetOrAdd
(fieldWithToken);
476
return _fieldBaseOffsetCache.
GetOrAdd
(typeDesc);
483
return _rvaFieldAddressCache.
GetOrAdd
(fieldWithToken);
491
return _dispatchCells.
GetOrAdd
(cellKey);
504
return _delegateCtors.
GetOrAdd
(ctorKey);
511
return _checkTypeLayoutCache.
GetOrAdd
(type);
521
return _virtualFunctionOverrideCache.
GetOrAdd
(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod));
528
return _ilBodyFixupsCache.
GetOrAdd
(_codegenNodeFactory.ILBodyFixupSignature(
536
return _ecmaModuleFixupCache.
GetOrAdd
(module);
696
return _genericLookupHelpers.
GetOrAdd
(key);
706
return _genericLookupHelpers.
GetOrAdd
(key);
716
return _genericLookupHelpers.
GetOrAdd
(key);
750
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
755
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
760
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);