1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib
Reid Spencer 5590c48202 * Merge get_GVInitializer and getCharArrayLength into a single function
named getConstantStringLength. This is the common part of StrCpy and
  StrLen optimizations and probably several others, yet to be written. It
  performs all the validity checks for looking at constant arrays that are
  supposed to be null-terminated strings and then computes the actual
  length of the string.
* Implement the MemCpyOptimization class. This just turns memcpy of 1, 2, 4
  and 8 byte data blocks that are properly aligned on those boundaries into
  a load and a store. Much more could be done here but alignment
  restrictions and lack of knowledge of the target instruction set prevent
  use from doing significantly more. That will have to be delegated to the
  code generators as they lower llvm.memcpy calls.

llvm-svn: 21562
2005-04-26 07:45:18 +00:00
..
Analysis Correctly handle global-argument aliases induced in main 2005-04-25 19:16:31 +00:00
AsmParser * Remove trailing whitespace 2005-04-21 21:10:11 +00:00
Bytecode Convert tabs to spaces 2005-04-22 04:01:18 +00:00
CodeGen Fold (X > -1) | (Y > -1) --> (X&Y > -1) 2005-04-26 01:18:33 +00:00
Debugger Remove trailing whitespace 2005-04-21 22:36:52 +00:00
ExecutionEngine Convert tabs to spaces 2005-04-22 04:08:30 +00:00
Linker Remove trailing whitespace 2005-04-21 22:55:34 +00:00
Support * Order #includes as per style guide 2005-04-22 19:13:22 +00:00
System Silence gcc-4.0.0 warnings. 2005-04-22 17:56:01 +00:00
Target * Add code to reduce multiplies by constant integers to shifts, adds and 2005-04-26 07:23:02 +00:00
Transforms * Merge get_GVInitializer and getCharArrayLength into a single function 2005-04-26 07:45:18 +00:00
VMCore Make dominates(A,B) work with post dominators. Patch contributed by 2005-04-25 20:50:33 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00