For trademarks, you can search online at the trademark register at the Intellectual Property Office of Ireland.
For company names, you can check the Register of Businesses using the Company Search Facility on the Companies Registration Office