51 references to GetOrAdd
ILCompiler.ReadyToRun (51)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (30)
136return _localMethodCache.GetOrAdd(method); 143return _allMethodsOnType.GetOrAdd(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 150return _inheritedVirtualMethods.GetOrAdd(type); 157return _arrayInterfaceMethods.GetOrAdd((ArrayType)arrayType.ConvertToCanonForm(CanonicalFormKind.Specific)); 194return _gvmDependenciesNode.GetOrAdd(canonSlotMethodDefinition.MakeInstantiatedMethod(canonMethod.Instantiation)); 205return _virtualMethodUseNodes.GetOrAdd(canonMethod); 212return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 219return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 569return _constructedHelpers.GetOrAdd(helperId); 613return _importMethods.GetOrAdd(key); 702return _methodSignatures.GetOrAdd(new MethodFixupKey(fixupKind, key)); 737return _typeSignatures.GetOrAdd(fixupKey); 781return _virtualResolutionSignatures.GetOrAdd(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod)); 806return _ilBodySignatures.GetOrAdd(new ILBodyFixupSignatureFixupKey(fixupKind, method)); 848return _importThunks.GetOrAdd(thunkKey); 896return _wasmImportThunks.GetOrAdd(thunkKey); 929return _wasmImportThunkPortableEntrypoints.GetOrAdd(thunkKey); 935return _wasmR2RToInterpreterThunks.GetOrAdd(wasmSignature); 941return _wasmInterpreterToR2RThunks.GetOrAdd(wasmSignature); 1271return _dynamicHelperCellCache.GetOrAdd(key); 1278return _copiedCorHeaders.GetOrAdd(module); 1285return _debugDirectoryEntries.GetOrAdd(new ModuleAndIntValueKey(debugDirEntryIndex, module)); 1292return _copiedMetadataBlobs.GetOrAdd(module); 1299return _copiedMethodIL.GetOrAdd(method); 1315return _copiedFieldRvas.GetOrAdd(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module)); 1322return _copiedStrongNameSignatures.GetOrAdd(module); 1329return _copiedManagedResources.GetOrAdd(module); 1362return _wasmTypeNodes.GetOrAdd(funcType); 1367return _wasmTypeNodes.GetOrAdd(signature.FuncType); 1375return _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 _dispatchCells.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);