make hasAddressTaken() constant time by storing a refcount in BB's subclass data.
authorChris Lattner <sabre@nondot.org>
Fri, 30 Oct 2009 22:33:29 +0000 (22:33 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Oct 2009 22:33:29 +0000 (22:33 +0000)
commit3821176b2eb9fe5e66929f3df6f204fa6cb2e4d6
tree3dc967f7b4c55152dddb6a5e1fdad3bd3a168a84
parent57f224a5a473462f85e94c457c7548af27c37f0b
make hasAddressTaken() constant time by storing a refcount in BB's subclass data.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85625 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BasicBlock.h
lib/VMCore/BasicBlock.cpp
lib/VMCore/Constants.cpp