Virtually all coke is cut, before it even leaves south america. Problem is some common active cuts like caffeine, amphetamines, and ephedrine can make the high dirty.
There is a process described on Bluelight for purifying cocaine, if you have a couple grams of coke some space, acetone and muriatic acid. (All are easily available)