diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-26 19:13:17 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-26 19:13:17 +0000 |
| commit | bb92b4fdfb9957ad27eb73aed280d36a25677b20 (patch) | |
| tree | 356726ca5521ea197ace2de6c2962a95814e3198 /llvm/lib/VMCore/ConstantRange.cpp | |
| parent | 61a18b84cc0bf70c5f420ad6f2b54ccc06b37e7f (diff) | |
| download | bcm5719-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/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions

