49 references to GetOrAdd
ILCompiler.ReadyToRun (49)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (28)
134
return _localMethodCache.
GetOrAdd
(method);
141
return _allMethodsOnType.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
148
return _inheritedVirtualMethods.
GetOrAdd
(type.ConvertToCanonForm(CanonicalFormKind.Specific));
158
return _gvmDependenciesNode.
GetOrAdd
(canonMethod);
165
return _genericReadyToRunHelpersFromDict.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
172
return _genericReadyToRunHelpersFromType.
GetOrAdd
(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner));
512
return _constructedHelpers.
GetOrAdd
(helperId);
556
return _importMethods.
GetOrAdd
(key);
645
return _methodSignatures.
GetOrAdd
(new MethodFixupKey(fixupKind, key));
680
return _typeSignatures.
GetOrAdd
(fixupKey);
724
return _virtualResolutionSignatures.
GetOrAdd
(new VirtualResolutionFixupSignatureFixupKey(fixupKind, declMethod, implType, implMethod));
749
return _ilBodySignatures.
GetOrAdd
(new ILBodyFixupSignatureFixupKey(fixupKind, method));
791
return _importThunks.
GetOrAdd
(thunkKey);
839
return _wasmImportThunks.
GetOrAdd
(thunkKey);
872
return _wasmImportThunkPortableEntrypoints.
GetOrAdd
(thunkKey);
878
return _wasmR2RToInterpreterThunks.
GetOrAdd
(wasmSignature);
884
return _wasmInterpreterToR2RThunks.
GetOrAdd
(wasmSignature);
1214
return _dynamicHelperCellCache.
GetOrAdd
(key);
1221
return _copiedCorHeaders.
GetOrAdd
(module);
1228
return _debugDirectoryEntries.
GetOrAdd
(new ModuleAndIntValueKey(debugDirEntryIndex, module));
1235
return _copiedMetadataBlobs.
GetOrAdd
(module);
1242
return _copiedMethodIL.
GetOrAdd
(method);
1258
return _copiedFieldRvas.
GetOrAdd
(new ModuleAndIntValueKey(ecmaField.GetFieldRvaValue(), ecmaField.Module));
1265
return _copiedStrongNameSignatures.
GetOrAdd
(module);
1272
return _copiedManagedResources.
GetOrAdd
(module);
1296
return _wasmTypeNodes.
GetOrAdd
(funcType);
1301
return _wasmTypeNodes.
GetOrAdd
(signature.FuncType);
1309
return _wasmTypeNodes.
GetOrAdd
(funcType);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (21)
209
return _continuationTypeFixups.
GetOrAdd
(key);
216
return _importStrings.
GetOrAdd
(moduleToken);
301
return _r2rHelpers.
GetOrAdd
(new ReadyToRunHelperKey(id, target));
310
return _instructionSetSupportFixups.
GetOrAdd
(key);
442
return _fieldAddressCache.
GetOrAdd
(fieldWithToken);
449
return _fieldOffsetCache.
GetOrAdd
(fieldWithToken);
456
return _checkFieldOffsetCache.
GetOrAdd
(fieldWithToken);
463
return _fieldBaseOffsetCache.
GetOrAdd
(typeDesc);
470
return _rvaFieldAddressCache.
GetOrAdd
(fieldWithToken);
478
return _interfaceDispatchCells.
GetOrAdd
(cellKey);
491
return _delegateCtors.
GetOrAdd
(ctorKey);
498
return _checkTypeLayoutCache.
GetOrAdd
(type);
508
return _virtualFunctionOverrideCache.
GetOrAdd
(_codegenNodeFactory.VirtualResolutionFixupSignature(fixupKind, declMethod, implType, implMethod));
515
return _ilBodyFixupsCache.
GetOrAdd
(_codegenNodeFactory.ILBodyFixupSignature(
523
return _ecmaModuleFixupCache.
GetOrAdd
(module);
690
return _genericLookupHelpers.
GetOrAdd
(key);
700
return _genericLookupHelpers.
GetOrAdd
(key);
710
return _genericLookupHelpers.
GetOrAdd
(key);
744
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: true));
749
return _pInvokeTargetNodes.
GetOrAdd
(new PInvokeTargetKey(methodWithToken, isIndirect: false));
754
return _resumptionStubEntryPointFixups.
GetOrAdd
(resumptionStub);