llvm-project/llvm/lib/MC
Eli Bendersky 5277120dd0 Simplify the code a bit: MCRelaxableFragment doesn't need a separate getInstSize
method because getContents().size() already covers it. So computeFragmentSize
can use the generic MCEncodedFragment interface when querying both Data and
Relaxable fragments for contents sizes.

No change in functionality

llvm-svn: 171903
2013-01-08 22:05:10 +00:00
..
MCDisassembler Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
MCParser Add the align_to_end option to .bundle_lock in the MC implementation of aligned 2013-01-07 21:51:08 +00:00
CMakeLists.txt Remove MCTargetAsmLexer and its derived classes now that edis, 2012-12-20 14:43:30 +00:00
ELFObjectWriter.cpp Make the contents of encoded sections SmallVector<char, N> instead of 2012-12-07 22:06:56 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
MCAsmBackend.cpp MachO: direct-to-object attribute for data-in-code markers. 2012-10-01 22:20:54 +00:00
MCAsmInfo.cpp This patch is needed to make c++ exceptions work for mips16. 2012-12-16 04:00:45 +00:00
MCAsmInfoCOFF.cpp Fix alignment of .comm and .lcomm on mingw32. 2012-09-07 21:08:01 +00:00
MCAsmInfoDarwin.cpp Fix alignment of .comm and .lcomm on mingw32. 2012-09-07 21:08:01 +00:00
MCAsmStreamer.cpp Add the align_to_end option to .bundle_lock in the MC implementation of aligned 2013-01-07 21:51:08 +00:00
MCAssembler.cpp Simplify the code a bit: MCRelaxableFragment doesn't need a separate getInstSize 2013-01-08 22:05:10 +00:00
MCAtom.cpp MCAtom extending methods need to extend the range of the atom as well. 2011-10-10 18:09:38 +00:00
MCCodeEmitter.cpp MC: Move target specific fixup info descriptors to TargetAsmBackend instead of 2010-12-16 03:20:06 +00:00
MCCodeGenInfo.cpp Sink codegen optimization level into MCCodeGenInfo along side relocation model 2011-11-16 08:38:26 +00:00
MCContext.cpp Formatting. 2012-12-18 00:42:26 +00:00
MCDisassembler.cpp
MCDwarf.cpp Prepare LLVM to fix PR14625, exposing a hook in MCContext to manage the 2012-12-17 21:32:42 +00:00
MCELF.cpp Added Mapping Symbols for ARM ELF 2012-12-07 16:50:23 +00:00
MCELFObjectTargetWriter.cpp Initial TOC support for PowerPC64 object creation 2012-10-25 12:27:42 +00:00
MCELFStreamer.cpp Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
MCExpr.cpp This patch improves the 64-bit PowerPC InitialExec TLS support by providing 2012-12-14 17:02:38 +00:00
MCInst.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCInstPrinter.cpp Try to unbreak the build on hosts that don't transitively pull in a definition for int64_t. 2012-12-05 18:31:11 +00:00
MCInstrAnalysis.cpp MCInstrAnalysis: Don't crash on instructions with no operands. 2011-09-19 17:56:00 +00:00
MCLabel.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCMachOStreamer.cpp This patch is needed to make c++ exceptions work for mips16. 2012-12-16 04:00:45 +00:00
MCMachObjectTargetWriter.cpp MC/Mach-O: On second thought, use a custom hook for enabling aggressive 2010-12-17 05:50:29 +00:00
MCModule.cpp Tidy up. 80 columns. 2011-11-15 16:46:22 +00:00
MCNullStreamer.cpp Add the align_to_end option to .bundle_lock in the MC implementation of aligned 2013-01-07 21:51:08 +00:00
MCObjectFileInfo.cpp PowerPC: Fix eh_frame relocation for PIC 2013-01-04 19:08:13 +00:00
MCObjectStreamer.cpp Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
MCObjectWriter.cpp Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCPureStreamer.cpp Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
MCRegisterInfo.cpp Add MCRI::getNumSubRegIndices() and start checking SubRegIndex ranges. 2012-09-11 16:34:02 +00:00
MCSection.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSectionCOFF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionELF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionMachO.cpp Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> 2011-03-19 02:42:31 +00:00
MCStreamer.cpp small fixes to enable the reuse of the pass manager across multiple modules 2013-01-04 18:04:42 +00:00
MCSubtargetInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSymbol.cpp Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
MCValue.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCWin64EH.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MachObjectWriter.cpp Add more reset methods to make all objects that the backend may use for outputting code have a reset, some are not used but were declared for completeness 2012-12-14 18:52:11 +00:00
Makefile
SubtargetFeature.cpp Symbol hygiene: Make sure declarations and definitions match, make helper functions static. 2012-10-20 12:53:26 +00:00
WinCOFFObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
WinCOFFStreamer.cpp [MC][COFF] Switch the COFF streamer over to using the MCObjectStreamer version of EmitInstruction. 2013-01-03 01:09:22 +00:00