llvm-project/llvm/lib/Transforms
Philip Reames a88caeab6c [FunctionAttr] Infer nonnull attributes on returns
Teach FunctionAttr to infer the nonnull attribute on return values of functions which never return a potentially null value. This is done both via a conservative local analysis for the function itself and a optimistic per-SCC analysis. If no function in the SCC returns anything which could be null (other than values from other functions in the SCC), we can conclude no function returned a null pointer. Even if some function within the SCC returns a null pointer, we may be able to locally conclude that some don't.

Differential Revision: http://reviews.llvm.org/D9688

llvm-svn: 246476
2015-08-31 19:44:38 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
IPO [FunctionAttr] Infer nonnull attributes on returns 2015-08-31 19:44:38 +00:00
InstCombine [InstCombine] Fix PR24605. 2015-08-28 19:09:31 +00:00
Instrumentation Make variable argument intrinsics behave correctly in a Win64 CC function. 2015-08-25 23:27:41 +00:00
ObjCARC [ARC] Pull the ObjC ARC components that really serve the role of 2015-08-20 08:06:03 +00:00
Scalar [JumpThreading] make jump threading respect convergent annotation. 2015-08-31 06:10:27 +00:00
Utils Optimize memcmp(x,y,n)==0 for small n and suitably aligned x/y. 2015-08-28 18:30:18 +00:00
Vectorize Improve vectorization diagnostic messages and extend vectorize(enable) pragma. 2015-08-27 18:56:49 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile