1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/lib
Devang Patel cb72d92471 Add pass to promote sret.
This pass transforms 

  %struct._Point = type { i32, i32, i32, i32, i32, i32 }
  define internal void @foo(%struct._Point* sret  %agg.result)

into

  %struct._Point = type { i32, i32, i32, i32, i32, i32 }
  define internal %struct._Point @foo()

This pass updates foo() clients appropriately to use
getresult instruction to extract return values.

This pass is not yet ready for prime time.

llvm-svn: 47776
2008-02-29 23:34:08 +00:00
..
Analysis Fix http://llvm.org/bugs/show_bug.cgi?id=2104 by ordering lexicographically what gets printed. Be const-correct in PrintResults and uninline it too 2008-02-28 08:38:45 +00:00
Archive Make llvm-ar behave like ar, if you create an empty archive, ar creates an empty archive. llvm-ar would not generate an output file in this case 2008-02-28 22:24:48 +00:00
AsmParser regenerate. 2008-02-26 23:19:08 +00:00
Bitcode Use SmallVector while constructing ReturnInst. 2008-02-26 19:38:17 +00:00
CodeGen Don't fill eh frames even though these are text sections. 2008-02-29 19:36:59 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine Simplify code using convertFromZeroExtendedInteger with an APInt 2008-02-29 01:27:13 +00:00
Linker Emit an error when a library is not found. It is the GNU ld behavior and it is expected by the configure scripts. 2008-02-27 17:20:32 +00:00
Support Add support to APInt for shift and rotate operations with APInt 2008-02-29 01:40:47 +00:00
System Add path separator support, patch by Sam Bishop. 2008-02-27 06:17:10 +00:00
Target Use enumeration for preffered EH dwarf encoding reason 2008-02-29 22:09:08 +00:00
Transforms Add pass to promote sret. 2008-02-29 23:34:08 +00:00
VMCore Use the new convertFromAPInt instead of convertFromZeroExtendedInteger. 2008-02-29 01:42:52 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00