Well I think the two things you want it for could not be more different. You’re not going to find a holster that is good both as a good CCW holster is going to hold the frame in tight and any good IDPA holster is going to hold it out. That said if I were you I would spend the money on a good CCW holster and then drop 20 bucks on a nice uncle mikes paddle holster for IDPA. That’s what I do for every gun.
As far as a good CCW holster... I have said this a million times but it’s the truth; there are two holsters that I will have for every gun I own, the Galco Fletch and the Crossbreed Supertuck. I love the Supertuck for my XD service it is the best IWB in my opinion and I am sure you will like it to.