llvm/lib
Fiona Glaser a4b0d0e4db Loop Unroll: add options and tweak to make Partial unrolling more useful
1. Add FullUnrollMaxCount option that works like MaxCount, but also limits
   the unroll count for fully unrolled loops. So if a loop has an iteration
   count over this, it won't fully unroll.
2. Add CLI options for MaxCount and the new option, so they can be tested
   (plus a test).
3. Make partial unrolling obey MaxCount.

An example use-case (the out of tree one this is originally designed for) is
a target’s TTI can analyze a loop and decide on a max unroll count separate
from the size threshold, e.g. based on register pressure, then constrain
LoopUnroll to not exceed that, regardless of the size of the unrolled loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265562 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-06 16:57:25 +00:00
..
Analysis Revert r265535 until we know how we can fix the bots 2016-04-06 14:06:32 +00:00
AsmParser AsmParser: Don't crash on unresolved !tbaa 2016-04-06 02:06:40 +00:00
Bitcode IR: Introduce ConstantAggregate, NFC 2016-04-05 21:10:45 +00:00
CodeGen [RegisterBankInfo] Implement the verify method for the ValueMapping helper class. 2016-04-06 16:40:23 +00:00
DebugInfo Make DIASession work if msdia*.dll isn't registered. 2016-04-01 22:21:51 +00:00
ExecutionEngine More more change need as part of r264187 where ErrorOr<> was added 2016-03-23 21:20:16 +00:00
Fuzzer [libfuzzer] adding license headers to cpp files 2016-04-01 18:38:58 +00:00
IR IR: Move MDStrings to a BumpPtrAllocator 2016-04-06 06:41:54 +00:00
IRReader
LibDriver
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker IRMover: Steal arguments when moving functions, NFC 2016-04-06 06:38:15 +00:00
LTO Clean up calls to WriteBitcodeToFile (NFC) 2016-04-04 21:19:31 +00:00
MC Handle section vs global name conflict. 2016-03-28 20:36:28 +00:00
Object Object: Correctly read thin archives containing absolute paths. 2016-03-31 22:08:31 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData Fix buildbot lldb-amd64-ninja-netbsd7 failure 2016-04-01 20:15:04 +00:00
Support Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes." 2016-04-05 20:45:04 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target Revert r265450 "[X86] Reuse EFLAGS and form LOCKed ops when only user is SETCC." 2016-04-06 16:44:38 +00:00
Transforms Loop Unroll: add options and tweak to make Partial unrolling more useful 2016-04-06 16:57:25 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00