59 references to GetOrAdd
ILCompiler.ReadyToRun (59)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (37)
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));
660
return _constructedHelpers.
GetOrAdd
(helperId);
704
return _importMethods.
GetOrAdd
(key);
793
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
828
return _typeSignatures.
GetOrAdd
(fixupKey);
872
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
897
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
939
return _importThunks.
GetOrAdd
(thunkKey);
979
return _wasmImportThunks.
GetOrAdd
(thunkKey);
1012
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
1018
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
1024
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1048
return _wasmClosedStaticRetBufThunks.
GetOrAdd
(new WasmClosedStaticRetBufThunkKey(wasmSignature));
1079
return _wasmVirtualDispatchThunks.
GetOrAdd
(new WasmVirtualDispatchThunkKey(wasmSignature));
1415
return _dynamicHelperCellCache.
GetOrAdd
(key);
1422
return _copiedCorHeaders.
GetOrAdd
(module);
1429
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1436
return _copiedMetadataBlobs.
GetOrAdd
(module);
1443
return _copiedMethodIL.
GetOrAdd
(method);
1459
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1466
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1473
return _copiedManagedResources.
GetOrAdd
(module);
1535
return _wasmTypeNodes.
GetOrAdd
(funcType);
1540
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1548
return _wasmTypeNodes.
GetOrAdd
(funcType);
1553
return _wasmTypeNodes.
GetOrAdd
(WasmLowering.GetSignature(node).FuncType);
1558
return _wasmMethodRelativeVirtualIPs.
GetOrAdd
(method);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (22)
224
return _continuationTypeFixups.
GetOrAdd
(key);
231
return _importStrings.
GetOrAdd
(moduleToken);
319
return _r2rHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
328
return _eagerReadyToRunMethodEntries.
GetOrAdd
(method);
334
return _instructionSetSupportFixups.
GetOrAdd
(key);
476
return _fieldAddressCache.
GetOrAdd
(fieldWithToken);
483
return _fieldOffsetCache.
GetOrAdd
(fieldWithToken);
490
return _checkFieldOffsetCache.
GetOrAdd
(fieldWithToken);
497
return _fieldBaseOffsetCache.
GetOrAdd
(typeDesc);
504
return _rvaFieldAddressCache.
GetOrAdd
(fieldWithToken);
512
return _dispatchCells.
GetOrAdd
(cellKey);
525
return _delegateCtors.
GetOrAdd
(ctorKey);
532
return _checkTypeLayoutCache.
GetOrAdd
(type);
542
return _virtualFunctionOverrideCache.
GetOrAdd
(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod));
549
return _ilBodyFixupsCache.
GetOrAdd
(_codegenNodeFactory.ILBodyFixupSignature(
557
return _ecmaModuleFixupCache.
GetOrAdd
(module);
717
return _genericLookupHelpers.
GetOrAdd
(key);
727
return _genericLookupHelpers.
GetOrAdd
(key);
737
return _genericLookupHelpers.
GetOrAdd
(key);
771
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
776
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
781
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);