llvm-6502/lib
Hal Finkel 245b657ab6 BBVectorize: Better use of TTI->getShuffleCost
When flipping the pair of subvectors that form a vector, if the
vector length is 2, we can use the SK_Reverse shuffle kind to get
more-accurate cost information. Also we can use the SK_ExtractSubvector
shuffle kind to get accurate subvector extraction costs.

The current cost model implementations don't yet seem complex enough
for this to make a difference (thus, there are no test cases with this
commit), but it should help in future.

Depending on how the various targets optimize and combine shuffles in
practice, we might be able to get more-accurate costs by combining the
costs of multiple shuffle kinds. For example, the cost of flipping the
subvector pairs could be modeled as two extractions and two subvector
insertions. These changes, however, should probably be motivated
by specific test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173621 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-27 20:07:01 +00:00
..
Analysis ConstantFolding: Add a missing folding that leads to a miscompile. 2013-01-24 16:28:28 +00:00
Archive Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
AsmParser Use the AttributeSet instead of AttributeWithIndex. 2013-01-27 02:24:02 +00:00
Bitcode Use the AttributeSet instead of AttributeWithIndex object. 2013-01-27 00:36:48 +00:00
CodeGen Legalizer: Add an assert and tweak a comment to clarify the assumptions this code makes. 2013-01-27 15:04:43 +00:00
DebugInfo DWARFDebugLine.cpp: Fix true path. Did you forget "return true" here? 2013-01-26 01:45:06 +00:00
ExecutionEngine Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. 2013-01-25 22:50:58 +00:00
IR In the AttributeSetImpl c'tor, fill in the AttrNodes data structure with the attributes being passed in. 2013-01-27 12:50:02 +00:00
Linker [Linker] Kill Linker::LoadObject which is dead, and drop the BitReader dependency again. 2013-01-18 19:37:11 +00:00
MC Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default. 2013-01-23 16:22:04 +00:00
Object When encountering an unknown file format, ObjectFile::createObjectFile should 2013-01-25 20:53:41 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support APFloat: Make sure that we get a well-formed x87 NaN when converting from a smaller type. 2013-01-25 17:01:00 +00:00
TableGen Add an addition operator to TableGen 2013-01-25 14:49:08 +00:00
Target Convert the CPP backend to use the AttributeSet instead of AttributeWithIndex. 2013-01-27 01:22:51 +00:00
Transforms BBVectorize: Better use of TTI->getShuffleCost 2013-01-27 20:07:01 +00:00
CMakeLists.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
LLVMBuild.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
Makefile Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00