When the US government wants to torture people from another country, it gets around legal protections by having the CIA illegally fly them to a third country. Many of those flights went via Ireland. See e.g. https://www.independent.ie/irish-news/wikileaks-memo-tells-o...
Nothing to do with US immigration pre clearance.