47 references to GetOrAdd
ILCompiler.ReadyToRun (47)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (26)
134return _localMethodCache.GetOrAdd(method); 141return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 148return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 155return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 485return _constructedHelpers.GetOrAdd(helperId); 529return _importMethods.GetOrAdd(key); 618return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 653return _typeSignatures.GetOrAdd(fixupKey); 697return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 722return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 764return _importThunks.GetOrAdd(thunkKey); 812return _wasmImportThunks.GetOrAdd(thunkKey); 845return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 851return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 857return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1184return _dynamicHelperCellCache.GetOrAdd(key); 1191return _copiedCorHeaders.GetOrAdd(module); 1198return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1205return _copiedMetadataBlobs.GetOrAdd(module); 1212return _copiedMethodIL.GetOrAdd(method); 1228return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1235return _copiedStrongNameSignatures.GetOrAdd(module); 1242return _copiedManagedResources.GetOrAdd(module); 1266return _wasmTypeNodes.GetOrAdd(funcType); 1271return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1279return _wasmTypeNodes.GetOrAdd(funcType);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (21)
209return _continuationTypeFixups.GetOrAdd(key); 216return _importStrings.GetOrAdd(moduleToken); 301return _r2rHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 310return _instructionSetSupportFixups.GetOrAdd(key); 442return _fieldAddressCache.GetOrAdd(fieldWithToken); 449return _fieldOffsetCache.GetOrAdd(fieldWithToken); 456return _checkFieldOffsetCache.GetOrAdd(fieldWithToken); 463return _fieldBaseOffsetCache.GetOrAdd(typeDesc); 470return _rvaFieldAddressCache.GetOrAdd(fieldWithToken); 478return _interfaceDispatchCells.GetOrAdd(cellKey); 491return _delegateCtors.GetOrAdd(ctorKey); 498return _checkTypeLayoutCache.GetOrAdd(type); 508return _virtualFunctionOverrideCache.GetOrAdd(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod)); 515return _ilBodyFixupsCache.GetOrAdd(_codegenNodeFactory.ILBodyFixupSignature( 523return _ecmaModuleFixupCache.GetOrAdd(module); 690return _genericLookupHelpers.GetOrAdd(key); 700return _genericLookupHelpers.GetOrAdd(key); 710return _genericLookupHelpers.GetOrAdd(key); 744return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: true)); 749return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: false)); 754return _resumptionStubEntryPointFixups.GetOrAdd(resumptionStub);