This report details that the teeth of Pachycephalosaurus were kind of like human teeth, with flat ones at the back and sharp ones (described as part of a newly discovered intact skull) at the front. This indicates that Pachycephalosaurus was omnivorous, contrary to what we've thought for the longest time.
However, I'm not exactly sure they were omnivorous. Just because animals may have sharp teeth does not mean they consume meat. Sauropods have (kind of) sharp teeth (even being described as "dragon teeth" in Michael Crichton's novel, Dragon Teeth), but they almost exclusively ate plants by tearing the leaves off trees. Pachycephalosaurus very easily could have used the sharp front teeth just like saurpods.
Perhaps they are like tusks of a Boar or the saber teeth of some species of Deer