50 references to GetOrAdd
ILCompiler.ReadyToRun (50)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (29)
134return _localMethodCache.GetOrAdd(method); 141return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 148return _inheritedVirtualMethods.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 158return _gvmDependenciesNode.GetOrAdd(canonMethod); 169return _virtualMethodUseNodes.GetOrAdd(canonMethod); 176return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 183return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 528return _constructedHelpers.GetOrAdd(helperId); 572return _importMethods.GetOrAdd(key); 661return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 696return _typeSignatures.GetOrAdd(fixupKey); 740return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 765return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 807return _importThunks.GetOrAdd(thunkKey); 855return _wasmImportThunks.GetOrAdd(thunkKey); 888return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 894return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 900return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1230return _dynamicHelperCellCache.GetOrAdd(key); 1237return _copiedCorHeaders.GetOrAdd(module); 1244return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1251return _copiedMetadataBlobs.GetOrAdd(module); 1258return _copiedMethodIL.GetOrAdd(method); 1274return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1281return _copiedStrongNameSignatures.GetOrAdd(module); 1288return _copiedManagedResources.GetOrAdd(module); 1321return _wasmTypeNodes.GetOrAdd(funcType); 1326return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1334return _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); 676return _genericLookupHelpers.GetOrAdd(key); 686return _genericLookupHelpers.GetOrAdd(key); 696return _genericLookupHelpers.GetOrAdd(key); 730return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: true)); 735return _pInvokeTargetNodes.GetOrAdd(new PInvokeTargetKey(methodWithToken, isIndirect: false)); 740return _resumptionStubEntryPointFixups.GetOrAdd(resumptionStub);