llvm-mirror/include/llvm/MC
Duncan P. N. Exon Smith 9df0e64f25 ADT: Split ilist_node_traits into alloc and callback, NFC
Many lists want to override only allocation semantics, or callbacks for
iplist.  Split these up to prevent code duplication.
- Specialize ilist_alloc_traits to change the implementations of
  deleteNode() and createNode().
- One common desire is to do nothing deleteNode() and disable
  createNode().  Specialize ilist_alloc_traits to inherit from
  ilist_noalloc_traits for that behaviour.
- Specialize ilist_callback_traits to use the addNodeToList(),
  removeNodeFromList(), and transferNodesFromList() callbacks.

As a drive-by, add some coverage to the callback-related unit tests.

llvm-svn: 280128
2016-08-30 18:40:47 +00:00
..
MCDisassembler [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCParser [MC] Move parser helper functions from Asmparser to MCAsmParser 2016-08-30 14:15:43 +00:00
ConstantPools.h [ARM,AArch64] Store source location of asm constant pool entries 2015-11-16 16:25:47 +00:00
MachineLocation.h [MC] Make another header NDEBUG-free. 2015-10-30 01:25:50 +00:00
MCAsmBackend.h Remove MCAsmInfo.h include from TargetOptions.h 2016-07-27 16:03:57 +00:00
MCAsmInfo.h [mips][ias] Support .dtprel[d]word and .tprel[d]word directives 2016-08-22 16:18:42 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h [WebAssembly] Don't create a needless .note.GNU-stack section 2016-01-15 23:59:13 +00:00
MCAsmLayout.h
MCAssembler.h Use the range variant of find instead of unpacking begin/end 2016-08-11 22:21:41 +00:00
MCCodeEmitter.h
MCCodeView.h [MC] Move .cv_loc management logic out of MCContext 2016-08-26 17:58:37 +00:00
MCContext.h [MC] Move .cv_loc management logic out of MCContext 2016-08-26 17:58:37 +00:00
MCDirectives.h [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
MCDwarf.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCELFObjectWriter.h Prune some includes from headers and sink some inline functions 2016-06-22 23:23:08 +00:00
MCELFStreamer.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCExpr.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MCFixedLenDisassembler.h
MCFixup.h [mips][ias] Support .dtprel[d]word and .tprel[d]word directives 2016-08-22 16:18:42 +00:00
MCFixupKindInfo.h
MCFragment.h ADT: Remove ilist_*sentinel_traits, NFC 2016-08-22 20:51:00 +00:00
MCInst.h
MCInstBuilder.h
MCInstPrinter.h [LLVM] Fix some Clang-tidy modernize-use-using and Include What You Use warnings 2016-08-18 17:56:27 +00:00
MCInstrAnalysis.h
MCInstrDesc.h Replace uint16_t with the MCPhysReg typedef in many places. A lot of physical register arrays already use this typedef. 2015-12-05 07:13:35 +00:00
MCInstrInfo.h
MCInstrItineraries.h Fix typo in comment. NFC. 2015-11-18 15:02:59 +00:00
MCLabel.h
MCLinkerOptimizationHint.h Prune some includes from headers and sink some inline functions 2016-06-22 23:23:08 +00:00
MCMachObjectWriter.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCObjectFileInfo.h Move code only used by codegen out of MC. NFC. 2016-08-29 12:33:42 +00:00
MCObjectStreamer.h [mips][ias] Support .dtprel[d]word and .tprel[d]word directives 2016-08-22 16:18:42 +00:00
MCObjectWriter.h Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
MCRegisterInfo.h Avoid accessing LLVM/DWARF register mappings if undefined 2016-08-12 23:12:59 +00:00
MCSchedule.h [MCSchedule] Remove comments about MinLatency. NFC 2016-03-14 00:36:19 +00:00
MCSection.h ADT: Split ilist_node_traits into alloc and callback, NFC 2016-08-30 18:40:47 +00:00
MCSectionCOFF.h [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
MCSectionELF.h Recommit 270977 - [llvm-mc] - Teach llvm-mc to generate zlib styled compression sections. 2016-05-27 12:27:32 +00:00
MCSectionMachO.h Use non virtual destructors for sections. 2015-10-07 13:46:06 +00:00
MCStreamer.h [MC] Move .cv_loc management logic out of MCContext 2016-08-26 17:58:37 +00:00
MCSubtargetInfo.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCSymbol.h Use the same underlying type for bitfields 2016-06-24 04:05:25 +00:00
MCSymbolCOFF.h
MCSymbolELF.h
MCSymbolMachO.h Add missing include. Should fix modules builds. 2016-06-23 07:30:12 +00:00
MCTargetOptions.h Remove MCAsmInfo.h include from TargetOptions.h 2016-07-27 16:03:57 +00:00
MCTargetOptionsCommandFlags.h [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
MCValue.h ELF can handle some relocations of the form -sym + constant. 2015-11-02 19:13:59 +00:00
MCWin64EH.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
MCWinEH.h [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
SectionKind.h [X86] Create mergeable constant pool entries for AVX 2016-02-22 22:23:11 +00:00
StringTableBuilder.h Make StringTableBuilder to cache hash values. 2016-05-06 00:51:58 +00:00
SubtargetFeature.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00