llvm-6502/lib/MC
Pete Cooper f89e1bdc1a Pack MCSymbol::Flags in to the bitfield with other members. NFC.
All file formats only needed 16-bits right now which is enough to fit
in to the padding with other fields.

This reduces the size of MCSymbol to 24-bytes on a 64-bit system.  The
layout is now

   0 | class llvm::MCSymbol
   0 |   class llvm::PointerIntPair SectionOrFragmentAndHasName
   0 |     intptr_t Value
     |   [sizeof=8, dsize=8, align=8
     |    nvsize=8, nvalign=8]

   8 |   unsigned int IsTemporary
   8 |   unsigned int IsRedefinable
   8 |   unsigned int IsUsed
   8 |   _Bool IsRegistered
   8 |   unsigned int IsExternal
   8 |   unsigned int IsPrivateExtern
   8 |   unsigned int Kind
   9 |   unsigned int IsUsedInReloc
   9 |   unsigned int SymbolContents
   9 |   unsigned int CommonAlignLog2
  10 |   uint32_t Flags
  12 |   uint32_t Index
  16 |   union
  16 |     uint64_t Offset
  16 |     uint64_t CommonSize
  16 |     const class llvm::MCExpr * Value
     |   [sizeof=8, dsize=8, align=8
     |    nvsize=8, nvalign=8]

     | [sizeof=24, dsize=24, align=8
     |  nvsize=24, nvalign=8]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241196 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-01 21:57:51 +00:00
..
MCDisassembler Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCParser Fix PR23872: Integrated assembler error message when using .type directive with @ in AArch32 assembly. 2015-07-01 08:58:49 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp Diagnose undefined temporary symbols. 2015-06-25 20:10:45 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp [MC] Adding prettyPrintAsm to MCTargetStreamer to allow targets to specialize how instructions are printed to asm. 2015-06-18 20:43:22 +00:00
MCAssembler.cpp [MC] Align fragments when -mc-relax-all flag is used 2015-06-27 01:49:53 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
MCDwarf.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Devirtualize and pack MCFragment to reduce memory usage. 2015-06-17 22:01:28 +00:00
MCExpr.cpp MCExpr: Avoid UB by evaluating this shift as unsigned 2015-06-23 07:32:55 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCInstrDesc.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp MC: Remove obsolete MachO UseAggressiveSymbolFolding. 2015-06-04 20:27:42 +00:00
MCMachOStreamer.cpp Remove includes of MCMachOSymbolFlags.h after it was deleted 2015-06-08 17:25:57 +00:00
MCNullStreamer.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCObjectFileInfo.cpp Enable StackMap Serialization for COFF 2015-06-25 00:28:42 +00:00
MCObjectStreamer.cpp [MC] Ensure that pending labels are flushed when -mc-relax-all flag is used 2015-06-27 01:54:17 +00:00
MCObjectWriter.cpp MC: Clean up naming in MCObjectWriter. NFC. 2015-06-04 22:24:41 +00:00
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCSectionELF.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCSectionMachO.cpp
MCStreamer.cpp [MC] Adding prettyPrintAsm to MCTargetStreamer to allow targets to specialize how instructions are printed to asm. 2015-06-18 20:43:22 +00:00
MCSubtargetInfo.cpp Replace string GNU Triples with llvm::Triple in MCSubtargetInfo and create*MCSubtargetInfo(). NFC. 2015-06-10 12:11:26 +00:00
MCSymbol.cpp Pack MCSymbol::Flags in to the bitfield with other members. NFC. 2015-07-01 21:57:51 +00:00
MCSymbolELF.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCSymbolizer.cpp
MCTargetOptions.cpp
MCValue.cpp
MCWin64EH.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCWinEH.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp [ARM] Add knowledge of FPU subtarget features to TargetParser 2015-06-05 13:29:24 +00:00
WinCOFFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
WinCOFFStreamer.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
YAML.cpp