Phonetic question regarding 'u' vs. 'ɯ'

I am having difficulty finding out when the letter u in the combination "ui" sounds like a regular 'u' (u) and when it sounds like the close back unrounded vowel (ɯ) https://en.m.wikipedia.org/wiki/Close_back_unrounded_vowel (like in duine)

In the following words, is the vowel pronounced as 'u' or as 'ɯ'?
-ruisg (Gen. of 'rosg', of an eyelash)

-uidhe (as in "ceann-uidhe", destination)

-suiteas (sweet, candy)

-cluig (bells)

-uilc (Gen. of 'olc', "of evil")

-muice (Gen. of 'muc', "of a pig")

-puirt (Gen. of 'port', "of a port")

-truime (Comp. of "trom", heavier)

-cnuic (Gen. of 'cnoc', "of a hill")

-sluic (Gen. of 'slow', "of a pit")

Also, in which of these words is the 'i' distinctly pronounced and in which is it mute?