There's definitely immigration at LHR when you connect to Ireland and arrive from the U.S. and there will be controls in Ireland again, too. Though in both places it's a pretty quick and cursory process usually. The UK authorities basically treat the Ireland flights like domestic UK flights whereas the Irish authorities treat them as international arrivals.