Nick Lewycky
|
c2306ff5b4
|
Fix typo in comment.
llvm-svn: 36873
|
2007-05-06 13:37:16 +00:00 |
|
Devang Patel
|
cd45427a87
|
Drop 'const'
llvm-svn: 36662
|
2007-05-03 01:11:54 +00:00 |
|
Devang Patel
|
8ee9065162
|
Use 'static const char' instead of 'static const int'.
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652
|
2007-05-02 21:39:20 +00:00 |
|
Lauro Ramos Venancio
|
57d03e112b
|
Fix build error.
llvm-svn: 36648
|
2007-05-02 20:37:47 +00:00 |
|
Devang Patel
|
38a66bc82e
|
Do not use typeinfo to identify pass in pass manager.
llvm-svn: 36632
|
2007-05-01 21:15:47 +00:00 |
|
Zhou Sheng
|
9339daf407
|
Make use of ConstantInt::isZero instead of ConstantInt::isNullValue.
llvm-svn: 36261
|
2007-04-19 05:39:12 +00:00 |
|
Devang Patel
|
ffbee86b8e
|
Cache DT[*SI] lookup.
llvm-svn: 36239
|
2007-04-18 01:19:55 +00:00 |
|
Devang Patel
|
daba9f7064
|
Fix
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047971.html
llvm-svn: 36236
|
2007-04-18 00:53:01 +00:00 |
|
Chris Lattner
|
af290edea7
|
Be more careful when inserting reused instructions. This fixes CodeGen/Generic/2007-04-17-lsr-crash.ll
llvm-svn: 36231
|
2007-04-17 23:43:50 +00:00 |
|
Chris Lattner
|
e4323f863a
|
Remove use of Instruction::getNext
llvm-svn: 36201
|
2007-04-17 17:52:45 +00:00 |
|
Anton Korobeynikov
|
f3e62a428a
|
Removed tabs everywhere except autogenerated & external files. Add make
target for tabs checking.
llvm-svn: 36146
|
2007-04-16 18:10:23 +00:00 |
|
Reid Spencer
|
85f055a567
|
Revert last patch. It was already fixed.
llvm-svn: 36102
|
2007-04-16 02:24:41 +00:00 |
|
Reid Spencer
|
e411fd1f10
|
For PR1336:
Fix a div-by-zero bug noticed by APInt. This fixes:
test/Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36099
|
2007-04-16 01:48:37 +00:00 |
|
Owen Anderson
|
b371956400
|
Tabs -> Spaces
llvm-svn: 36094
|
2007-04-15 23:14:18 +00:00 |
|
Chris Lattner
|
c2762b5d83
|
Fix a nasty bug introduced when apint'ified. This fixes
Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36081
|
2007-04-15 19:52:49 +00:00 |
|
Owen Anderson
|
ea857029ea
|
Remove ImmediateDominator analysis. The same information can be obtained from DomTree. A lot of code for
constructing ImmediateDominator is now folded into DomTree construction.
This is part of the ongoing work for PR217.
llvm-svn: 36063
|
2007-04-15 08:47:27 +00:00 |
|
Chris Lattner
|
335f1cb1f8
|
CSE simple binary expressions when they are inserted. This makes LSR produce
less huge code that needs to be cleaned up by sdisel.
llvm-svn: 35959
|
2007-04-13 05:04:18 +00:00 |
|
Zhou Sheng
|
c2cfa6111d
|
Eliminate unnecessary APInt construction.
llvm-svn: 35740
|
2007-04-07 17:48:27 +00:00 |
|
Zhou Sheng
|
7bcd47dbc1
|
Make APInt variables do the computation stuffs instead of
ConstantExpr::getXX if possible.
llvm-svn: 35738
|
2007-04-07 17:40:57 +00:00 |
|
Zhou Sheng
|
21dfc2107a
|
Eliminate unnecessary zext/trunc stuffs.
llvm-svn: 35737
|
2007-04-07 17:12:38 +00:00 |
|
Owen Anderson
|
85b0e20f2a
|
Completely purge DomSet. This is the (hopefully) final patch for PR1171.
llvm-svn: 35731
|
2007-04-07 07:17:27 +00:00 |
|
Owen Anderson
|
5403a248af
|
Expunge DomSet from LoadValueNumbering. This is part of the continuing
work on PR1171.
llvm-svn: 35723
|
2007-04-07 04:43:07 +00:00 |
|
Chris Lattner
|
6668db1331
|
Treat xor of signbit like an add.
llvm-svn: 35586
|
2007-04-02 05:41:38 +00:00 |
|
Reid Spencer
|
34b5a64f15
|
The bit counting intrinsics return i32 not the operand type. This fixes
last night's regression in SingleSource/UnitTests/2005-05-11-Popcount-ffs-fls
llvm-svn: 35556
|
2007-04-01 18:42:20 +00:00 |
|
Reid Spencer
|
88fb617695
|
For PR1297:
Support overloaded intrinsics bswap, ctpop, cttz, ctlz.
llvm-svn: 35547
|
2007-04-01 07:35:23 +00:00 |
|
Dan Gohman
|
d0a0ea9916
|
Change uses of Function::front to Function::getEntryBlock for readability.
llvm-svn: 35265
|
2007-03-22 16:38:57 +00:00 |
|
Devang Patel
|
6a56e3c1a0
|
Now IndVarSimplify is a LoopPass.
llvm-svn: 35003
|
2007-03-07 06:39:01 +00:00 |
|
Devang Patel
|
c35610b9f9
|
Now LoopUnswitch is a LoopPass.
llvm-svn: 34992
|
2007-03-07 00:26:10 +00:00 |
|
Devang Patel
|
bee9c51214
|
Insert loop into LQ before visiting children.
llvm-svn: 34982
|
2007-03-06 19:50:49 +00:00 |
|
Devang Patel
|
57322d0462
|
Use schedulePass() instead of assignPassManager() to add new LPPassManager.
This ensures that require analysis info is available.
llvm-svn: 34980
|
2007-03-06 19:11:25 +00:00 |
|
Devang Patel
|
b44e86318e
|
Add LPPassManager::insertLoop().
llvm-svn: 34979
|
2007-03-06 19:00:02 +00:00 |
|
Devang Patel
|
8490ffbcdc
|
LPPassManager::deleteLoopFromQueue() add meat. Cut-n-paste code from
LoopUnswitch pass.
llvm-svn: 34977
|
2007-03-06 18:38:33 +00:00 |
|
Devang Patel
|
d3cf506865
|
LPPassManager. Implement preparePassManager() hook.
llvm-svn: 34975
|
2007-03-06 17:59:37 +00:00 |
|
Devang Patel
|
e3abf559e5
|
LPPassManager : Add initialization and finalizatino hooks.
llvm-svn: 34968
|
2007-03-06 16:59:03 +00:00 |
|
Devang Patel
|
e4da6fa801
|
Use std::deque to manage loop queue inside LPPassManager.
llvm-svn: 34943
|
2007-03-06 02:30:46 +00:00 |
|
Devang Patel
|
6668a341ae
|
Avoid constructing std::strings unless pass debugging is ON.
llvm-svn: 34933
|
2007-03-05 20:01:30 +00:00 |
|
Jeff Cohen
|
98c99a3a02
|
Unbreak VC++ build.
llvm-svn: 34917
|
2007-03-05 00:00:42 +00:00 |
|
Chris Lattner
|
dec6a90a00
|
Speed up Loop::isLCSSAForm by using a hash table instead of a sorted vector.
llvm-svn: 34900
|
2007-03-04 04:06:39 +00:00 |
|
Reid Spencer
|
17000a40e2
|
Guard further against APInt operations with operands of unequal bit width.
llvm-svn: 34897
|
2007-03-04 01:25:35 +00:00 |
|
Reid Spencer
|
89154fbfff
|
Fix an unequal bitwidth issue.
llvm-svn: 34831
|
2007-03-02 02:59:25 +00:00 |
|
Reid Spencer
|
1f970769e8
|
Prefer non-virtual calls to ConstantInt::isZero over virtual calls to
Constant::isNullValue() in situations where it is possible.
llvm-svn: 34821
|
2007-03-02 00:28:52 +00:00 |
|
Reid Spencer
|
ee77d22f26
|
Make it possible to create an SCEVUnknown from an APInt as well as an int.
llvm-svn: 34816
|
2007-03-01 22:28:51 +00:00 |
|
Reid Spencer
|
30758bbe85
|
Avoid a potential assert out if the loop increment is > 64 bits.
llvm-svn: 34798
|
2007-03-01 19:45:00 +00:00 |
|
Reid Spencer
|
288f1db60d
|
Construct ConstantInt with simpler constructor.
llvm-svn: 34795
|
2007-03-01 19:32:33 +00:00 |
|
Reid Spencer
|
18d663b62c
|
Fix last night's 445.gobmk breakage which was caused by comparison of
APInt's of unequal bitwidth.
llvm-svn: 34790
|
2007-03-01 17:17:21 +00:00 |
|
Reid Spencer
|
3f3487918c
|
Remove the "isSigned" parameters from ConstantRange. It turns out they
are not needed as the results are the same with or without it.
Patch by Nicholas Lewycky.
llvm-svn: 34782
|
2007-03-01 07:54:15 +00:00 |
|
Reid Spencer
|
036051c002
|
APIntify various computations in ScalarEvolution
llvm-svn: 34780
|
2007-03-01 07:25:48 +00:00 |
|
Reid Spencer
|
67eedb21b7
|
For PR1205:
Make GetConstantFactor compute its result using an APInt.
llvm-svn: 34765
|
2007-02-28 23:31:17 +00:00 |
|
Reid Spencer
|
19e5279a38
|
For PR1205:
Adjust to changes in ConstantRange interface.
llvm-svn: 34762
|
2007-02-28 22:03:51 +00:00 |
|
Reid Spencer
|
f119927a6f
|
Move ConstantRange class to lib/Support from lib/Analysis and make its
interface not depend on Type or ICmpInst.
llvm-svn: 34761
|
2007-02-28 22:02:48 +00:00 |
|