Alternative to llvm::TrackingVH

Hi all,

I'm currently using llvm::TrackingVH in order to have a tracking reference to
a definition. Unfortunately, TrackingVHs are incredibly slow. Are there
alternatives?