This patch implements __get_cpuid_max() as an inline and __cpuid() and
__cpuid_count() as macros to be compatible with GCC's cpuid.h.  It also adds
bit_<foo> constants for the various feature bits as described in version 039
(May 2011) of Intel's SDM Volume 2 in the description of the CPUID
instruction.  The list of bit_<foo> constants is a bit exhaustive (GCC
doesn't do near this many).  More bits could be added from a newer version of
SDM if desired.

Patch by John Baldwin!


git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@186696 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes an ObjC migrator crash when last decl
in file is an enum.


git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@186700 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test to actually check things.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@186701 91177308-0d34-0410-b5e6-96231b3b80d8