AsmPrinter: Reorganize DIE.h, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 27 May 2015 18:49:38 +0000 (18:49 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 27 May 2015 18:49:38 +0000 (18:49 +0000)
commit3e7c30ada1747eb273f618029ca2dc2c030c6833
tree1eefcbe570d960c3ef328569485d89a0d5befbff
parenta052a77187dd701980c48c3e7b76a537c7921522
AsmPrinter: Reorganize DIE.h, NFC

An upcoming commit will switch to storing `DIEValue`s by value in a
`DIE`, so move the `DIE` down below all the subclasses it can.  Two
subclasses inherit from `DIE`, so drop those down below `DIE`.

`DIEValue` will become a discriminated union, which contains an instance
of one of the classes that are currently subclasses.  "Big" ones, such
as those that inherit from `DIE`, will continue to be stored by pointer.
This commit does as much of the code motion ahead of time as possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238346 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DIE.h