llvm-6502/include/llvm/MC
Pete Cooper c821cef882 Devirtualize and pack MCFragment to reduce memory usage.
MCFragment didn't really need vtables.  The majority of virtual methods were just getters and setters.

This removes the vtables and uses dispatch on the kind to do things like delete which needs to
get the appropriate class.

This reduces memory on the verify use list order test case by about 2MB out of 800MB.

Reviewed by Rafael Espíndola

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239952 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-17 22:01:28 +00:00
..
MCParser Add missing #includes, found by modules build. 2015-05-11 22:31:40 +00:00
ConstantPools.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MachineLocation.h
MCAsmBackend.h [MC] Allow backends to decide relaxation for unresolved fixups. 2015-05-30 18:42:22 +00:00
MCAsmInfo.h MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MCAsmLayout.h Merge MCSymbol and MCSymbolData. 2015-05-29 20:31:23 +00:00
MCAssembler.h Devirtualize and pack MCFragment to reduce memory usage. 2015-06-17 22:01:28 +00:00
MCCodeEmitter.h MC: clang-format. NFC. 2015-05-15 19:13:20 +00:00
MCCodeGenInfo.h MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
MCContext.h Use named temporaries for directional labels. 2015-06-17 16:26:47 +00:00
MCDirectives.h
MCDisassembler.h Remove unused MCRelocationInfo.h include from MCDisassembler.h. NFC 2015-05-19 18:18:49 +00:00
MCDwarf.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MCELFObjectWriter.h Merge MCELF.h into MCSymbolELF.h. 2015-06-02 20:38:46 +00:00
MCELFStreamer.h Devirtualize and pack MCFragment to reduce memory usage. 2015-06-17 22:01:28 +00:00
MCExpr.h MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCExternalSymbolizer.h
MCFixedLenDisassembler.h
MCFixup.h MC: Update MCFixup naming. NFC. 2015-05-15 19:13:05 +00:00
MCFixupKindInfo.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCInst.h [MC] Allowing operands to be erased from MCInst. 2015-06-04 19:49:52 +00:00
MCInstBuilder.h MC: Modernize MCOperand API naming. NFC. 2015-05-13 18:37:00 +00:00
MCInstPrinter.h [MC] Function naming NFC. 2015-06-07 20:29:37 +00:00
MCInstrAnalysis.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCInstrDesc.h Add support for the convergent flag at the MC and MachineInstr levels. 2015-05-28 18:33:39 +00:00
MCInstrInfo.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCInstrItineraries.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCLabel.h MC: Tidy up formatting a bit. NFC. 2015-06-01 23:55:02 +00:00
MCLinkerOptimizationHint.h MC: Tidy up LOH naming a bit. NFC. 2015-06-01 23:55:06 +00:00
MCMachObjectWriter.h Remove stray semi-colon, NFC 2015-06-05 17:22:00 +00:00
MCObjectFileInfo.h Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-16 12:18:07 +00:00
MCObjectStreamer.h MC: Prune \return corresponding to r239552. [-Wdocumentation] 2015-06-11 23:04:56 +00:00
MCObjectWriter.h MC: Clean up the naming for MCMachObjectWriter. NFC. 2015-06-04 23:25:54 +00:00
MCRegisterInfo.h
MCRelocationInfo.h
MCSchedule.h
MCSection.h Devirtualize and pack MCFragment to reduce memory usage. 2015-06-17 22:01:28 +00:00
MCSectionCOFF.h
MCSectionELF.h Store whether a symbol is a comdat signature in MCSymbolELF. 2015-06-03 21:41:59 +00:00
MCSectionMachO.h
MCStreamer.h MC: Prune \return corresponding to r239552. [-Wdocumentation] 2015-06-11 23:04:56 +00:00
MCSubtargetInfo.h Replace string GNU Triples with llvm::Triple in MCSubtargetInfo and create*MCSubtargetInfo(). NFC. 2015-06-10 12:11:26 +00:00
MCSymbol.h Move IsUsedInReloc from MCSymbolELF to MCSymbol. 2015-06-17 20:08:20 +00:00
MCSymbolCOFF.h Move all of the MCSymbol COFF flags logic in to MCSymbolCOFF. 2015-06-08 17:17:19 +00:00
MCSymbolELF.h Move IsUsedInReloc from MCSymbolELF to MCSymbol. 2015-06-17 20:08:20 +00:00
MCSymbolizer.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCSymbolMachO.h Move all flags logic to MCSymbolMachO. 2015-06-08 17:17:28 +00:00
MCTargetAsmParser.h
MCTargetOptions.h
MCTargetOptionsCommandFlags.h
MCValue.h MC: Tidy up comments and clean up formatting a bit. NFC. 2015-05-02 00:44:14 +00:00
MCWin64EH.h
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
MCWinEH.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
SectionKind.h
StringTableBuilder.h
SubtargetFeature.h [ARM] Add knowledge of FPU subtarget features to TargetParser 2015-06-05 13:29:24 +00:00
YAML.h