llvm-project/llvm/lib/CodeGen/AsmPrinter
Jakob Stoklund Olesen 10e1252269 Use logarithmic units for basic block alignment.
This was actually a bit of a mess. TLI.setPrefLoopAlignment was clearly
documented as taking log2(bytes) units, but the x86 target would still
set a preferred loop alignment of '16'.

CodePlacementOpt passed this number on to the basic block, and
AsmPrinter interpreted it as bytes.

Now both MachineFunction and MachineBasicBlock use logarithmic
alignments.

Obviously, MachineConstantPool still measures alignments in bytes, so we
can emulate the thrill of using as.

llvm-svn: 145889
2011-12-06 01:26:19 +00:00
..
ARMException.cpp Add MCObjectFileInfo and sink the MCSections initialization code from 2011-07-20 05:58:47 +00:00
AsmPrinter.cpp Use logarithmic units for basic block alignment. 2011-12-06 01:26:19 +00:00
AsmPrinterDwarf.cpp Add an option to pad an uleb128 to MCObjectWriter and remove the uleb128 encoding from the DWARF asm printer. 2011-11-05 11:52:44 +00:00
AsmPrinterInlineAsm.cpp Tidy up. Whitepsace. 2011-09-21 21:36:53 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
DIE.cpp Add more PRI.64 macros for MSVC and use them throughout the codebase. 2011-11-05 08:57:40 +00:00
DIE.h Always use the string pool, even when it makes the .o larger. This may help 2011-10-28 05:29:47 +00:00
DwarfAccelTable.cpp Stabilize the output of the dwarf accelerator tables. Fixes a comparison 2011-11-15 23:37:17 +00:00
DwarfAccelTable.h Remove extra ';' 2011-11-09 06:20:49 +00:00
DwarfCFIException.cpp Add MCObjectFileInfo and sink the MCSections initialization code from 2011-07-20 05:58:47 +00:00
DwarfCompileUnit.cpp DISubrange supports unsigned lower/upper array bounds, so let's not fake it in the end while emitting DWARF. If a FE needs to encode signed lower/upper array bounds then we need to extend DISubrange or ad DISignedSubrange. 2011-11-17 23:43:15 +00:00
DwarfCompileUnit.h Make types and namespaces take multiple DIEs for the accelerator tables 2011-11-10 21:47:55 +00:00
DwarfDebug.cpp Add inline subprogram names to the name lookup table since they may 2011-12-04 06:02:38 +00:00
DwarfDebug.h Remove the pubnames section, no one consumes it. 2011-11-09 05:24:07 +00:00
DwarfException.cpp Twinify better. 2011-10-16 15:46:29 +00:00
DwarfException.h Stub out support for Win64-style exceptions. Note that this is merely using 2011-05-27 23:47:32 +00:00
LLVMBuild.txt build: Add initial cut at LLVMBuild.txt files. 2011-11-03 18:53:17 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
OcamlGCPrinter.cpp Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
Win64Exception.cpp Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for 2011-07-18 22:29:13 +00:00