llvm-6502/lib/MC
Duncan P. N. Exon Smith c5f2ba0401 MC: Merge MCSymbol and MCSymbolData
Turn `MCSymbolData` into a field inside of `MCSymbol`.  Keep all the old
API alive for now, so that consumers can be updated in a later commit.
This means we still temporarily need the back pointer from
`MCSymbolData` to `MCSymbol`, but I'll remove it in a follow-up.

This optimizes for object emission over assembly emission.  By removing
the `DenseMap` in `MCAssembler`, llc memory usage drops from around 1040
MB to 1001 MB (3.8%).

(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237490 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-16 00:03:06 +00:00
..
MCDisassembler MC: Modernize MCOperand API naming. NFC. 2015-05-13 18:37:00 +00:00
MCParser [MC] Split MCBinaryExpr::Shr into LShr and AShr. 2015-04-28 00:21:32 +00:00
CMakeLists.txt Move some methods to a new MCInstrDesc.cpp file to allow includes to be trimmed. NFC. 2015-05-15 21:29:43 +00:00
ConstantPools.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ELFObjectWriter.cpp Update ELFObjectWriter::reset() following r236255. 2015-05-13 15:17:19 +00:00
LLVMBuild.txt
MachObjectWriter.cpp MC: Avoid some UB caused by left shifting a negative value. NFC 2015-05-14 23:54:49 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
MCAsmInfoCOFF.cpp [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
MCAsmInfoDarwin.cpp [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
MCAsmInfoELF.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCAsmStreamer.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MCAssembler.cpp MC: Merge MCSymbol and MCSymbolData 2015-05-16 00:03:06 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
MCContext.cpp MC: Skip names of temporary symbols in object streamer 2015-05-06 21:34:34 +00:00
MCDwarf.cpp [DWARF] Add CIE header fields address_size and segment_size when generating dwarf-4 2015-05-12 15:25:08 +00:00
MCELF.cpp Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
MCELFObjectTargetWriter.cpp Re-enable target-specific relocation table sorting and use it for Mips 2015-04-14 13:23:34 +00:00
MCELFStreamer.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MCExpr.cpp [Hexagon] Adding expression MC emission and removing XFAIL from test that hits this code path. 2015-05-01 21:14:21 +00:00
MCInst.cpp Fixup. 2015-02-05 01:13:47 +00:00
MCInstPrinter.cpp Format: Modernize using variadic templates. 2015-02-15 22:15:41 +00:00
MCInstrAnalysis.cpp
MCInstrDesc.cpp Remove 3 includes from MCInstrDesc.h and explicitly include them where needed 2015-05-15 21:58:42 +00:00
MCLabel.cpp
MCLinkerOptimizationHint.cpp This file should always have included MCAssembler and not MCStreamer. NFC 2015-03-04 01:24:24 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MCNullStreamer.cpp
MCObjectFileInfo.cpp Respect object format choice on Darwin 2015-05-04 20:03:01 +00:00
MCObjectStreamer.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MCObjectWriter.cpp Compute A-B when A or B is weak. 2015-04-17 21:15:17 +00:00
MCRegisterInfo.cpp
MCSection.cpp Refactor how passes get a symbol at the end of a section. 2015-03-23 21:22:04 +00:00
MCSectionCOFF.cpp MC: Emit COFF section flags in the "proper" order 2015-02-07 08:26:40 +00:00
MCSectionELF.cpp Use a comma after the unique keyword. 2015-04-06 16:34:41 +00:00
MCSectionMachO.cpp Implement unique sections with an unique ID. 2015-04-04 18:02:01 +00:00
MCStreamer.cpp Remove MCAssembler.h include from MCStreamer.h and fix users of MCStreamer.h 2015-05-15 22:19:42 +00:00
MCSubtargetInfo.cpp Reverting r237234, "Use std::bitset for SubtargetFeatures" 2015-05-13 10:28:46 +00:00
MCSymbol.cpp Revert accidentally committed "MC: Allow targets to stop symbol name quoting" 2015-04-23 23:34:51 +00:00
MCSymbolizer.cpp
MCTargetOptions.cpp Migrate ABIName to MCTargetOptions so that it can be shared between 2015-01-14 00:50:31 +00:00
MCValue.cpp Try to fix the build in MCValue.cpp 2015-02-05 01:23:14 +00:00
MCWin64EH.cpp
MCWinEH.cpp Remove MCStreamer.h include from MCContext.h and explictly include it where necessary. NFC 2015-03-04 01:24:11 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp Reverting r237234, "Use std::bitset for SubtargetFeatures" 2015-05-13 10:28:46 +00:00
WinCOFFObjectWriter.cpp Don't omit the constant when computing a cross-section relative relocation. 2015-05-14 01:10:41 +00:00
WinCOFFStreamer.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
YAML.cpp