private boolean isLinkRegister(VarnodeContext context, Varnode pcVal) {
					return (pcVal.isRegister() &&
						pcVal.getAddress().equals(linkRegister.getAddress())) ||
						(context.isSymbol(pcVal) && pcVal.getAddress()
								.getAddressSpace()
								.getName()
								.equals(linkRegister.getName()) &&
							pcVal.getOffset() == 0);
				}
Check if there are any data references to this location.
@param program
@param addr
@return true if there are any data references to addr
Ghidra/Processors/Loongarch/src/main/java/ghidra/app/plugin/core/analysis/LoongsonAnalyzer.java