llvm-6502/lib
Jakob Stoklund Olesen 8c741b8064 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145889 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-06 01:26:19 +00:00
..
Analysis Probably not a good idea to convert a single vector load into a memcpy. We 2011-12-06 00:19:08 +00:00
Archive build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
AsmParser Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
Bitcode build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
CodeGen Use logarithmic units for basic block alignment. 2011-12-06 01:26:19 +00:00
DebugInfo build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
ExecutionEngine Move global variables in TargetMachine into new TargetOptions class. As an API 2011-12-02 22:16:29 +00:00
Linker build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
MC Move target-specific logic out of generic MCAssembler. 2011-12-06 00:47:03 +00:00
Object build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
Support Silence tsan false-positives (tsan can't track things which are only safe due to 2011-12-05 23:07:05 +00:00
TableGen Check for error after InstantiateMultclassDef. 2011-12-02 18:33:03 +00:00
Target Use logarithmic units for basic block alignment. 2011-12-06 01:26:19 +00:00
Transforms Expose a switch for the new gcov format. 2011-12-06 00:29:13 +00:00
VMCore Add a little heuristic to Value::isUsedInBasicBlock to speed it up for small basic blocks. 2011-12-05 17:23:27 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
LLVMBuild.txt
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00