56 references to GetOrAdd
ILCompiler.ReadyToRun (56)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (35)
137
return _localMethodCache.
GetOrAdd
(method);
177
return _wasmUnboxingStubTargets.
GetOrAdd
(targetMethod);
185
return _localMethodCache.
GetOrAdd
(thunk);
201
WasmUnboxingStubNode stub = _wasmUnboxingStubs.
GetOrAdd
(
210
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
217
return _inheritedVirtualMethods.
GetOrAdd
(type);
224
return _arrayInterfaceMethods.
GetOrAdd
((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific));
261
return _gvmDependenciesNode.
GetOrAdd
(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation));
272
return _virtualMethodUseNodes.
GetOrAdd
(canonMethod);
279
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
286
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
655
return _constructedHelpers.
GetOrAdd
(helperId);
699
return _importMethods.
GetOrAdd
(key);
788
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
823
return _typeSignatures.
GetOrAdd
(fixupKey);
867
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
892
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
934
return _importThunks.
GetOrAdd
(thunkKey);
974
return _wasmImportThunks.
GetOrAdd
(thunkKey);
1007
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
1013
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
1019
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1050
return _wasmVirtualDispatchThunks.
GetOrAdd
(new WasmVirtualDispatchThunkKey(wasmSignature));
1386
return _dynamicHelperCellCache.
GetOrAdd
(key);
1393
return _copiedCorHeaders.
GetOrAdd
(module);
1400
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1407
return _copiedMetadataBlobs.
GetOrAdd
(module);
1414
return _copiedMethodIL.
GetOrAdd
(method);
1430
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1437
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1444
return _copiedManagedResources.
GetOrAdd
(module);
1505
return _wasmTypeNodes.
GetOrAdd
(funcType);
1510
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1518
return _wasmTypeNodes.
GetOrAdd
(funcType);
1523
return _wasmMethodRelativeVirtualIPs.
GetOrAdd
(method);
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);