Use the ClonedCodeInfo object to avoid scans of the inlined code when
authorChris Lattner <sabre@nondot.org>
Fri, 13 Jan 2006 19:15:15 +0000 (19:15 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Jan 2006 19:15:15 +0000 (19:15 +0000)
commit727d1dd58793447e83ade712f0e58172f156edcf
tree8a7b14538e488fadf6f7639ccb745c6c97d1d2ad
parentcd4d339ec187182c9abc22b80560349f8ba5010f
Use the ClonedCodeInfo object to avoid scans of the inlined code when
it doesn't contain any calls.  This is a fairly common case for C++ code,
so it will probably speed up the inliner marginally in these cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp