summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-09 23:47:40 +0000
committerChris Lattner <sabre@nondot.org>2002-08-09 23:47:40 +0000
commit6d14f2a7ae2252d58bedf0ed1e9b5941f9c4ef87 (patch)
treecb0a7455188ad151edafdf1e4397699020b4e089 /llvm/lib/VMCore/Module.cpp
parent169f7b299c423c559395fc3507798901439271ed (diff)
downloadbcm5719-llvm-6d14f2a7ae2252d58bedf0ed1e9b5941f9c4ef87.tar.gz
bcm5719-llvm-6d14f2a7ae2252d58bedf0ed1e9b5941f9c4ef87.zip
New functionality for instcombine:
* New ReplaceInstUsesWith function to factor out tons of common code This needs to be used more in the future still, but it's a good start * New InsertNewInstBefore to allow multi-instruction replacements * Change getMaxValue functions to isAllOnesValue function, which doesn't have to CREATE/lookup a new constant. Also the name is accurate * Add new isMaxValue, isMinValue, isMaxValueMinusOne, isMinValuePlusOne functions: This should be moved to Constant* classes eventually * Implement xor X, ALLONES -> not X * Fold ALL setcc's of booleans away * Handle various SetCC's for integers against values at the end of their ranges, possibly off by one. This implements the setcc-strength-reduce.ll testcase. llvm-svn: 3286
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud