49 references to GetOrAdd
ILCompiler.ReadyToRun (49)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (28)
134return _localMethodCache.GetOrAdd(method); 141return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 148return _inheritedVirtualMethods.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 158return _gvmDependenciesNode.GetOrAdd(canonMethod); 165return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 172return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 512return _constructedHelpers.GetOrAdd(helperId); 556return _importMethods.GetOrAdd(key); 645return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 680return _typeSignatures.GetOrAdd(fixupKey); 724return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 749return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 791return _importThunks.GetOrAdd(thunkKey); 839return _wasmImportThunks.GetOrAdd(thunkKey); 872return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 878return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 884return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1214return _dynamicHelperCellCache.GetOrAdd(key); 1221return _copiedCorHeaders.GetOrAdd(module); 1228return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1235return _copiedMetadataBlobs.GetOrAdd(module); 1242return _copiedMethodIL.GetOrAdd(method); 1258return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1265return _copiedStrongNameSignatures.GetOrAdd(module); 1272return _copiedManagedResources.GetOrAdd(module); 1296return _wasmTypeNodes.GetOrAdd(funcType); 1301return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1309return _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);