1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Transforms
Nick Lewycky 6c53fbb21d Make adding nocapture a bit stronger. FreeInst is nocapture. Also,
functions that don't write can't leak a pointer except through 
the return value, so a void readonly function is implicitly nocapture.

Test these, and add a test that verifies that f1 calling f2 with an 
otherwise dead pointer gets both of them marked nocapture.

llvm-svn: 61552
2009-01-02 03:46:56 +00:00
..
Hello Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
Instrumentation Use Function::getEntryBlock() instead of Function::front(), for clarity. 2008-10-21 03:10:28 +00:00
IPO Make adding nocapture a bit stronger. FreeInst is nocapture. Also, 2009-01-02 03:46:56 +00:00
Scalar Fix comment. 2009-01-01 01:19:59 +00:00
Utils Fix PR2929 by making bugpoint/code extract propagate the nothrow 2008-12-18 05:52:56 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00