private void buildRegisterNameMap() {
		newRegisterNameMap = new HashMap<String, Register>();
		for (Register r : newLanguage.getRegisters()) {
			newRegisterNameMap.put(r.getName().toUpperCase(), r);
			for (String alias : r.getAliases()) {
				newRegisterNameMap.put(alias.toUpperCase(), r);
			}
		}
	}
Build register name map - assumes register names have not changed
and that newLanguage has been established
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/LanguageTranslatorAdapter.java