What is the motivation for building your own hash table in here rather than using one of our existing structures? DenseSet<EVT, EVT> seems like it would work fine. http://llvm-reviews.chandlerc.com/D1127