56 references to GetOrAdd
ILCompiler.ReadyToRun (56)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (35)
137return _localMethodCache.GetOrAdd(method); 177return _wasmUnboxingStubTargets.GetOrAdd(targetMethod); 185return _localMethodCache.GetOrAdd(thunk); 201WasmUnboxingStubNode stub = _wasmUnboxingStubs.GetOrAdd( 210return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 217return _inheritedVirtualMethods.GetOrAdd(type); 224return _arrayInterfaceMethods.GetOrAdd((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific)); 261return _gvmDependenciesNode.GetOrAdd(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation)); 272return _virtualMethodUseNodes.GetOrAdd(canonMethod); 279return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 286return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 655return _constructedHelpers.GetOrAdd(helperId); 699return _importMethods.GetOrAdd(key); 788return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 823return _typeSignatures.GetOrAdd(fixupKey); 867return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 892return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 934return _importThunks.GetOrAdd(thunkKey); 974return _wasmImportThunks.GetOrAdd(thunkKey); 1007return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 1013return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 1019return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1050return _wasmVirtualDispatchThunks.GetOrAdd(new WasmVirtualDispatchThunkKey(wasmSignature)); 1386return _dynamicHelperCellCache.GetOrAdd(key); 1393return _copiedCorHeaders.GetOrAdd(module); 1400return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1407return _copiedMetadataBlobs.GetOrAdd(module); 1414return _copiedMethodIL.GetOrAdd(method); 1430return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1437return _copiedStrongNameSignatures.GetOrAdd(module); 1444return _copiedManagedResources.GetOrAdd(module); 1505return _wasmTypeNodes.GetOrAdd(funcType); 1510return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1518return _wasmTypeNodes.GetOrAdd(funcType); 1523return _wasmMethodRelativeVirtualIPs.GetOrAdd(method);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (21)
209return _continuationTypeFixups.GetOrAdd(key); 216return _importStrings.GetOrAdd(moduleToken); 304return _r2rHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 313return _instructionSetSupportFixups.GetOrAdd(key); 455return _fieldAddressCache.GetOrAdd(fieldWithToken); 462return _fieldOffsetCache.GetOrAdd(fieldWithToken); 469return _checkFieldOffsetCache.GetOrAdd(fieldWithToken); 476return _fieldBaseOffsetCache.GetOrAdd(typeDesc); 483return _rvaFieldAddressCache.GetOrAdd(fieldWithToken); 491return _dispatchCells.GetOrAdd(cellKey); 504return _delegateCtors.GetOrAdd(ctorKey); 511return _checkTypeLayoutCache.GetOrAdd(type); 521return _virtualFunctionOverrideCache.GetOrAdd(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod)); 528return _ilBodyFixupsCache.GetOrAdd(_codegenNodeFactory.ILBodyFixupSignature( 536return _ecmaModuleFixupCache.GetOrAdd(module); 696return _genericLookupHelpers.GetOrAdd(key); 706return _genericLookupHelpers.GetOrAdd(key); 716return _genericLookupHelpers.GetOrAdd(key); 750return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: true)); 755return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: false)); 760return _resumptionStubEntryPointFixups.GetOrAdd(resumptionStub);