summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-04 01:19:43 +0000
committerChris Lattner <sabre@nondot.org>2004-02-04 01:19:43 +0000
commita6578ef318690f70db555a537680703f560e6da1 (patch)
tree8c7af2c45ee63aa2aff8aa72ae454c851c154d3f /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentd8a232b716412d536f3340e7e7e6be82bd0669df (diff)
downloadbcm5719-llvm-a6578ef318690f70db555a537680703f560e6da1.tar.gz
bcm5719-llvm-a6578ef318690f70db555a537680703f560e6da1.zip
Give CloneBasicBlock an optional function argument to specify which function
to add the cloned block to. This allows the block to be added to the function immediately, and all of the instructions to be immediately added to the function symbol table, which speeds up the inliner from 3.7 -> 3.38s on the PR209. llvm-svn: 11107
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud