aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-04-26 19:13:17 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-04-26 19:13:17 +0000
commitfcbdb9c85bd94b1603446fef15cf08e51c842d68 (patch)
treee5d1129fd03b612e49731eaa2162e6486f3afcb6 /lib/Transforms/Utils/Local.cpp
parent7b7adcffa7deb8ec737e21bd5967259eb56c60d9 (diff)
Changes From Review Feedback:
* Have the SimplifyLibCalls pass acquire the TargetData and pass it down to the optimization classes so they can use it to make better choices for the signatures of functions, etc. * Rearrange the code a little so the utility functions are closer to their usage and keep the core of the pass near the top of the files. * Adjust the StrLen pass to get/use the correct prototype depending on the TargetData::getIntPtrType() result. The result of strlen is size_t which could be either uint or ulong depending on the platform. * Clean up some coding nits (cast vs. dyn_cast, remove redundant items from a switch, etc.) * Implement the MemMoveOptimization as a twin of MemCpyOptimization (they only differ in name). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions