[GMR] Continue my quest to remove linked datastructures from GMR, NFC.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 22:32:34 +0000 (22:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 22:32:34 +0000 (22:32 +0000)
commit90b20e96a140e168d2aebfbfe08843fa825627da
tree1376f00bc47d528087ecc7920b471a89513b8bf8
parent1b072f2beb49345381cf7ea59498c8f6218788d7
[GMR] Continue my quest to remove linked datastructures from GMR, NFC.

This replaces the next-to-last std::map with a DenseMap. While DenseMap
doesn't yet make tons of sense (there are 32 bytes or so in the value
type), my next change will reduce the value type to a single pointer --
we only need a pointer and 3 bits, and that is exactly what we can have.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242956 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/GlobalsModRef.cpp