60 references to GetOrAdd
ILCompiler.ReadyToRun (60)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (38)
138
return _localMethodCache.
GetOrAdd
(method);
178
return _wasmUnboxingStubTargets.
GetOrAdd
(targetMethod);
186
return _localMethodCache.
GetOrAdd
(thunk);
202
WasmUnboxingStubNode stub = _wasmUnboxingStubs.
GetOrAdd
(
211
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
218
return _inheritedVirtualMethods.
GetOrAdd
(type);
225
return _arrayInterfaceMethods.
GetOrAdd
((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific));
260
return _gvmDependenciesNode.
GetOrAdd
(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation));
271
return _virtualMethodUseNodes.
GetOrAdd
(canonMethod);
278
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
285
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
663
return _constructedHelpers.
GetOrAdd
(helperId);
707
return _importMethods.
GetOrAdd
(key);
796
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
831
return _typeSignatures.
GetOrAdd
(fixupKey);
875
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
900
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
942
return _importThunks.
GetOrAdd
(thunkKey);
982
return _wasmImportThunks.
GetOrAdd
(thunkKey);
1015
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
1021
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
1027
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1051
return _wasmClosedStaticRetBufThunks.
GetOrAdd
(new WasmClosedStaticRetBufThunkKey(wasmSignature));
1082
return _wasmVirtualDispatchThunks.
GetOrAdd
(new WasmVirtualDispatchThunkKey(wasmSignature));
1418
return _dynamicHelperCellCache.
GetOrAdd
(key);
1425
return _copiedCorHeaders.
GetOrAdd
(module);
1432
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1439
return _copiedMetadataBlobs.
GetOrAdd
(module);
1446
return _copiedMethodIL.
GetOrAdd
(method);
1462
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1469
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1476
return _copiedManagedResources.
GetOrAdd
(module);
1539
return _wasmTypeNodes.
GetOrAdd
(funcType);
1544
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1552
return _wasmTypeNodes.
GetOrAdd
(funcType);
1557
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(node).FuncType);
1562
return _wasmMethodRelativeVirtualIPs.
GetOrAdd
(method);
1567
return _wasmMethodFrameIdentities.
GetOrAdd
(method);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (22)
233
return _continuationTypeFixups.
GetOrAdd
(key);
240
return _importStrings.
GetOrAdd
(moduleToken);
328
return _r2rHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
337
return _eagerReadyToRunMethodEntries.
GetOrAdd
(method);
343
return _instructionSetSupportFixups.
GetOrAdd
(key);
499
return _fieldAddressCache.
GetOrAdd
(fieldWithToken);
506
return _fieldOffsetCache.
GetOrAdd
(fieldWithToken);
513
return _checkFieldOffsetCache.
GetOrAdd
(fieldWithToken);
520
return _fieldBaseOffsetCache.
GetOrAdd
(typeDesc);
527
return _rvaFieldAddressCache.
GetOrAdd
(fieldWithToken);
535
return _dispatchCells.
GetOrAdd
(cellKey);
548
return _delegateCtors.
GetOrAdd
(ctorKey);
555
return _checkTypeLayoutCache.
GetOrAdd
(type);
565
return _virtualFunctionOverrideCache.
GetOrAdd
(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod));
572
return _ilBodyFixupsCache.
GetOrAdd
(_codegenNodeFactory.ILBodyFixupSignature(
580
return _ecmaModuleFixupCache.
GetOrAdd
(module);
740
return _genericLookupHelpers.
GetOrAdd
(key);
750
return _genericLookupHelpers.
GetOrAdd
(key);
760
return _genericLookupHelpers.
GetOrAdd
(key);
794
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
799
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
804
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);