Speed up the AllocationOrder class a bit.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Dec 2012 22:25:16 +0000 (22:25 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Dec 2012 22:25:16 +0000 (22:25 +0000)
commitf7999fe1cb2c2bdb0a4080efabb4743719ce45ca
tree152f62d1073232cfbfb7bd12c9c2114b3bd4c299
parenta09e18fcfab0e998526724357f8fc5ef7f4c3e7a
Speed up the AllocationOrder class a bit.

Allow the central functions to be inlined, and use the argumentless
isHint() function when possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169319 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AllocationOrder.cpp
lib/CodeGen/AllocationOrder.h
lib/CodeGen/RegAllocGreedy.cpp