61 references to GetOrAdd
ILCompiler.ReadyToRun (61)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (38)
150return _localMethodCache.GetOrAdd(method); 190return _wasmUnboxingStubTargets.GetOrAdd(targetMethod); 198return _localMethodCache.GetOrAdd(thunk); 214WasmUnboxingStubNode stub = _wasmUnboxingStubs.GetOrAdd( 223return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 230return _inheritedVirtualMethods.GetOrAdd(type); 237return _arrayInterfaceMethods.GetOrAdd((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific)); 272return _gvmDependenciesNode.GetOrAdd(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation)); 283return _virtualMethodUseNodes.GetOrAdd(canonMethod); 290return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 297return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 680return _constructedHelpers.GetOrAdd(helperId); 724return _importMethods.GetOrAdd(key); 813return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 848return _typeSignatures.GetOrAdd(fixupKey); 892return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 917return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 959return _importThunks.GetOrAdd(thunkKey); 999return _wasmImportThunks.GetOrAdd(thunkKey); 1032return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 1038return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 1044return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1068return _wasmClosedStaticRetBufThunks.GetOrAdd(new WasmClosedStaticRetBufThunkKey(wasmSignature)); 1099return _wasmVirtualDispatchThunks.GetOrAdd(new WasmVirtualDispatchThunkKey(wasmSignature)); 1467return _dynamicHelperCellCache.GetOrAdd(key); 1474return _copiedCorHeaders.GetOrAdd(module); 1481return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1488return _copiedMetadataBlobs.GetOrAdd(module); 1495return _copiedMethodIL.GetOrAdd(method); 1511return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1518return _copiedStrongNameSignatures.GetOrAdd(module); 1525return _copiedManagedResources.GetOrAdd(module); 1588return _wasmTypeNodes.GetOrAdd(funcType); 1593return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1601return _wasmTypeNodes.GetOrAdd(funcType); 1606return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(node).FuncType); 1611return _wasmMethodRelativeVirtualIPs.GetOrAdd(method); 1616return _wasmMethodFrameIdentities.GetOrAdd(method);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (23)
251return _continuationTypeFixups.GetOrAdd(key); 258return _importStrings.GetOrAdd(moduleToken); 346return _r2rHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 356return _eagerReadyToRunMethodEntries.GetOrAdd(method); 361return _precodeReadyToRunMethodEntries.GetOrAdd(method); 367return _instructionSetSupportFixups.GetOrAdd(key); 523return _fieldAddressCache.GetOrAdd(fieldWithToken); 530return _fieldOffsetCache.GetOrAdd(fieldWithToken); 537return _checkFieldOffsetCache.GetOrAdd(fieldWithToken); 544return _fieldBaseOffsetCache.GetOrAdd(typeDesc); 551return _rvaFieldAddressCache.GetOrAdd(fieldWithToken); 559return _dispatchCells.GetOrAdd(cellKey); 572return _delegateCtors.GetOrAdd(ctorKey); 579return _checkTypeLayoutCache.GetOrAdd(type); 589return _virtualFunctionOverrideCache.GetOrAdd(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod)); 596return _ilBodyFixupsCache.GetOrAdd(_codegenNodeFactory.ILBodyFixupSignature( 604return _ecmaModuleFixupCache.GetOrAdd(module); 764return _genericLookupHelpers.GetOrAdd(key); 774return _genericLookupHelpers.GetOrAdd(key); 784return _genericLookupHelpers.GetOrAdd(key); 818return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: true)); 823return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: false)); 828return _resumptionStubEntryPointFixups.GetOrAdd(resumptionStub);