summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Module.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
commitbb92b4fdfb9957ad27eb73aed280d36a25677b20 (patch)
tree356726ca5521ea197ace2de6c2962a95814e3198 /llvm/lib/VMCore/Module.cpp
parent61a18b84cc0bf70c5f420ad6f2b54ccc06b37e7f (diff)
downloadbcm5719-llvm-bb92b4fdfb9957ad27eb73aed280d36a25677b20.tar.gz
bcm5719-llvm-bb92b4fdfb9957ad27eb73aed280d36a25677b20.zip
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). llvm-svn: 21569
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud