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