commit | ae1920b1efa72c1789d562df4746110d0c2e10bd | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Jun 15 04:50:36 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Jun 15 04:50:36 2011 +0000 |
tree | 22d7d8690b9997d57f32d4a0fd850b3d99dd0846 | |
parent | 393c4047c05b6d7b5851d339e51bb2cc35f630c2 [diff] |
Give CodeGenRegisterClass a real sorted member set. Make the Elements vector private and expose an ArrayRef through getOrder() instead. getOrder will eventually provide multiple user-specified allocation orders. Use the sorted member set for member and subclass tests. Clean up a lot of ad hoc searches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133040 91177308-0d34-0410-b5e6-96231b3b80d8