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