1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib
Owen Anderson e1cebd9e2e Replace the statically generated hashtables for checking register relationships with just scanning the (typically tiny) static lists.
At the time I wrote this code (circa 2007), TargetRegisterInfo was using a std::set to perform these queries.  Switching to the static hashtables was an obvious improvement, but in reality there's no reason to do anything other than scan.
With this change, total LLC time on a whole-program 403.gcc is reduced by approximately 1.5%, almost all of which comes from a 15% reduction in LiveVariables time.  It also reduces the binary size of LLC by 86KB, thanks to eliminating a bunch of very large static tables.

llvm-svn: 133051
2011-06-15 06:53:50 +00:00
..
Analysis Add "unknown" results for memdep, which mean "I don't know whether a dependence for the given instruction exists in the given block". This cleans up all the existing hacks in memdep which represent this concept by returning clobber with various unrelated instructions. 2011-06-15 00:47:34 +00:00
Archive
AsmParser Teach the .ll parser to handle named metadata with non-simple names. 2011-06-15 06:37:58 +00:00
Bitcode Update BitcodeWriter to match recent Triple changes. rdar://9603399 2011-06-14 01:51:33 +00:00
CodeGen When pattern matching during instruction selection make sure shl x,1 is not 2011-06-14 22:29:10 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Avoid a Twine that referenced a tmp (which proceded to go out of scope before 2011-05-19 00:45:05 +00:00
Linker Set the unnamed_addr only when we're creating a new GV in the dest module. 2011-03-29 23:31:06 +00:00
MC Revert 133010. Self-hosted buildbot unhappy. 2011-06-14 21:51:20 +00:00
Object Revert r132910 and r132909 on behalf of Michael. They didn't build with clang. 2011-06-13 12:56:51 +00:00
Support add option for literal formatting to APInt::toString() 2011-06-15 00:51:55 +00:00
Target Replace the statically generated hashtables for checking register relationships with just scanning the (typically tiny) static lists. 2011-06-15 06:53:50 +00:00
Transforms Stop using memdep for a check that didn't really make sense with memdep. In terms of specific issues, using memdep here checks irrelevant instructions and won't work properly once we start returning "unknown" more aggressively from memdep. 2011-06-15 01:25:56 +00:00
VMCore Teach the .ll parser to handle named metadata with non-simple names. 2011-06-15 06:37:58 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile