The 'optnone' attribute means don't inline anything into this function
authorPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 18 Nov 2013 21:44:03 +0000 (21:44 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Mon, 18 Nov 2013 21:44:03 +0000 (21:44 +0000)
commitfe45fd084db872f9c7106c26e52c1cc8c9cba3a5
tree02be55df9d76c2f48a1402fcefaba8eab2fb8f08
parent3560dd2dcd67d42eeb8e59975581d598d71669df
The 'optnone' attribute means don't inline anything into this function
(except functions marked always_inline).
Functions with 'optnone' must also have 'noinline' so they don't get
inlined into any other function.

Based on work by Andrea Di Biagio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195046 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
lib/Analysis/IPA/InlineCost.cpp
lib/IR/Verifier.cpp
test/Bitcode/attributes.ll
test/Feature/optnone.ll
test/Transforms/Inline/inline-optnone.ll [new file with mode: 0644]