* Pull some code out into the definedInRegion/definedInCaller methods
authorChris Lattner <sabre@nondot.org>
Wed, 12 May 2004 06:01:40 +0000 (06:01 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 May 2004 06:01:40 +0000 (06:01 +0000)
commitbf749367cb2aef7072ee36a9eb681b35aab51921
tree90096f1080452be2b6ed7c4e2bf1989fcf833e07
parent346be7f5bc1bab5768b9fa0a01a015d2fdca19c5
* Pull some code out into the definedInRegion/definedInCaller methods
* Add a stub for the severSplitPHINodes which will allow us to bbextract
  bb's with PHI nodes in them soon.
* Remove unused arguments from findInputsOutputs
* Dramatically simplify the code in findInputsOutputs.  In particular,
  nothing really cares whether or not a PHI node is using something.
* Move moveCodeToFunction to after emitCallAndSwitchStatement as that's the
  order they get called.
* Fix a bug where we would code extract a region that included a call to
  vastart.  Like 'alloca', calls to vastart must stay in the function that
  they are defined in.
* Add some comments.

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