llvm-6502/include/llvm/MC
Rafael Espindola 4f4363a490 Layout each section independently. With the testcase in PR8711:
before:
        4 assembler - Number of assembler layout and relaxation steps
    78563 assembler - Number of emitted assembler fragments
  8693904 assembler - Number of emitted object file bytes
   271223 assembler - Number of evaluated fixups
330771677 assembler - Number of fragment layouts
     5958 assembler - Number of relaxed instructions
  2508361 mcexpr    - Number of MCExpr evaluations

real	0m26.123s
user	0m25.694s
sys	0m0.388s

after:

      4 assembler - Number of assembler layout and relaxation steps
  78563 assembler - Number of emitted assembler fragments
8693904 assembler - Number of emitted object file bytes
 271223 assembler - Number of evaluated fixups
 231507 assembler - Number of fragment layouts
   5958 assembler - Number of relaxed instructions
2508361 mcexpr    - Number of MCExpr evaluations

real	0m2.500s
user	0m2.113s
sys	0m0.273s

And yes, the outputs are identical :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121207 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-07 23:32:26 +00:00
..
MCParser Merge System into Support. 2010-11-29 18:16:10 +00:00
EDInstInfo.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCAsmInfo.h There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmLayout.h Layout each section independently. With the testcase in PR8711: 2010-12-07 23:32:26 +00:00
MCAssembler.h Layout each section independently. With the testcase in PR8711: 2010-12-07 23:32:26 +00:00
MCCodeEmitter.h
MCContext.h It may not be an option to skip .debug_line if there are file reference in already emitted debug info. So, for now, emit dummy line table entry to make older linker and assemblers happy. This is not a new behavior, original AsmPrinter emitted similar line table entries. 2010-12-03 00:10:48 +00:00
MCDirectives.h
MCDisassembler.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCDwarf.h Remember the contents of leb and dwarfline fragments when relaxing. This avoids 2010-12-04 21:58:52 +00:00
MCELFSymbolFlags.h
MCExpr.h Sorry for such a large commit. The summary is that only MachO cares about the 2010-12-07 00:27:36 +00:00
MCFixup.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCInst.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCInstPrinter.h
MCLabel.h
MCMachOSymbolFlags.h
MCObjectFormat.h
MCObjectStreamer.h Sorry for such a large commit. The summary is that only MachO cares about the 2010-12-07 00:27:36 +00:00
MCObjectWriter.h Sorry for such a large commit. The summary is that only MachO cares about the 2010-12-07 00:27:36 +00:00
MCSection.h
MCSectionCOFF.h
MCSectionELF.h
MCSectionMachO.h
MCStreamer.h Second try at making direct object emission produce the same results 2010-12-06 17:27:56 +00:00
MCSymbol.h
MCValue.h Merge System into Support. 2010-11-29 18:16:10 +00:00
SectionKind.h