Not by tax cuts, by tax policy. One which the bloc was happy to enable when it wanted to pass the Lisbon treaty.
But that's irrelevant, as ghost HQs can avail of Ireland's tax regime with minimal employees.
Ireland's extremely educated workforce and exceptionally stable and peaceful governance along with business friendly economic climate are the reason Ireland is a software powerhouse, independent of tax regime (which is not particularly conducive to large employers).