1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
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
MachineLocation.h
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
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
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
MCInstrInfo.h
MCInstrItineraries.h
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
MCRegisterInfo.h Avoid accessing LLVM/DWARF register mappings if undefined 2016-08-12 23:12:59 +00:00
MCSchedule.h
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
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
MCValue.h
MCWin64EH.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h
MCWinEH.h [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
SectionKind.h
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