Dan Gohman
|
01679b25c0
|
Avoid using BasicBlock::getInstList directly in a few places.
llvm-svn: 52497
|
2008-06-19 17:37:25 +00:00 |
|
Dan Gohman
|
8b6f4366ae
|
Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to
use it instead of duplicating its functionality.
llvm-svn: 51499
|
2008-05-23 21:05:58 +00:00 |
|
Gabor Greif
|
48ffb6c7dc
|
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better.
llvm-svn: 51143
|
2008-05-15 10:04:30 +00:00 |
|
Dan Gohman
|
bab18cae46
|
Clean up the use of static and anonymous namespaces. This turned up
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
2008-05-13 00:00:25 +00:00 |
|
Chris Lattner
|
e45796cb56
|
add a FIXME so we remember to eventually remove this code.
llvm-svn: 50582
|
2008-05-02 17:18:31 +00:00 |
|
Dale Johannesen
|
d758175889
|
Don't try to create PHIs of struct types. Fallout
from x86-64 calling convention work.
llvm-svn: 50545
|
2008-05-01 22:27:44 +00:00 |
|
Owen Anderson
|
8aaa632351
|
Revert r49614. As Dan pointed out, some of these aren't correct.
llvm-svn: 49657
|
2008-04-14 17:38:21 +00:00 |
|
Owen Anderson
|
b54defaff0
|
Replace calls of the form V1->setName(V2->getName()) with V1->takeName(V2),
which is significantly more efficient.
llvm-svn: 49614
|
2008-04-13 19:15:17 +00:00 |
|
Gabor Greif
|
6c6b8a57f3
|
API changes for class Use size reduction, wave 1.
Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
llvm-svn: 49277
|
2008-04-06 20:25:17 +00:00 |
|
Devang Patel
|
01f9252f73
|
Fix PR2028
llvm-svn: 47150
|
2008-02-15 01:24:49 +00:00 |
|
Chris Lattner
|
ad9a6ccb83
|
Remove attribution from file headers, per discussion on llvmdev.
llvm-svn: 45418
|
2007-12-29 20:36:04 +00:00 |
|
Owen Anderson
|
43d4a82d4b
|
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change.
llvm-svn: 44348
|
2007-11-27 03:43:35 +00:00 |
|
Nick Lewycky
|
a734aa84f3
|
typo
llvm-svn: 44262
|
2007-11-21 05:21:54 +00:00 |
|
Devang Patel
|
f06e667e9c
|
Use SmallVector instead of std::vector.
llvm-svn: 41207
|
2007-08-21 00:31:24 +00:00 |
|
Devang Patel
|
84144042b2
|
Loop Rotation pass preserves dominator tree and frontier.
llvm-svn: 40603
|
2007-07-30 20:22:53 +00:00 |
|
Devang Patel
|
cfdf3b6eff
|
Disable claims to preserve analysis until open issues are resolved.
llvm-svn: 39834
|
2007-07-13 21:53:42 +00:00 |
|
Devang Patel
|
f26f0ea111
|
Preserve analysis info.
llvm-svn: 39767
|
2007-07-11 23:47:28 +00:00 |
|
Nick Lewycky
|
dc39ec317a
|
Back out Devang's fix for PR1320 because it causes PR1542.
llvm-svn: 37966
|
2007-07-07 16:23:34 +00:00 |
|
Devang Patel
|
8803061b9e
|
Request DominanceFrontiner in advance.
llvm-svn: 37954
|
2007-07-06 21:43:22 +00:00 |
|
Devang Patel
|
a7af16c808
|
Preserve various analysis info.
llvm-svn: 37953
|
2007-07-06 21:40:13 +00:00 |
|
Dan Gohman
|
167379e73a
|
Fix typos.
llvm-svn: 36994
|
2007-05-11 21:10:54 +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 |
|
Devang Patel
|
38a66bc82e
|
Do not use typeinfo to identify pass in pass manager.
llvm-svn: 36632
|
2007-05-01 21:15:47 +00:00 |
|
Chris Lattner
|
022c2bc0c3
|
fix long lines
llvm-svn: 36031
|
2007-04-14 23:32:02 +00:00 |
|
Devang Patel
|
70205cceea
|
Check _all_ PHINodes.
llvm-svn: 35836
|
2007-04-09 22:20:10 +00:00 |
|
Devang Patel
|
5392489e86
|
Insert new pre-header before new header. Original pre-header may
happen to be an entry, in such case, it is not a good idea to
insert new block before entry.
Also fix typo in assertion check.
llvm-svn: 35833
|
2007-04-09 21:40:43 +00:00 |
|
Devang Patel
|
cdea453adb
|
Preserve canonical loop form.
llvm-svn: 35829
|
2007-04-09 20:19:46 +00:00 |
|
Devang Patel
|
9263a797b3
|
Do not create new pre-header. Reuse original pre-header.
llvm-svn: 35825
|
2007-04-09 19:04:21 +00:00 |
|
Devang Patel
|
e038420dc6
|
Simpler for() loops.
llvm-svn: 35822
|
2007-04-09 17:09:13 +00:00 |
|
Devang Patel
|
dd269ce747
|
Fix future bug. Of course, Chris spotted this.
Handle Argument or Undef as an incoming PHI value.
llvm-svn: 35821
|
2007-04-09 16:41:46 +00:00 |
|
Devang Patel
|
ba5018aaff
|
More cosmetic changes.
llvm-svn: 35820
|
2007-04-09 16:21:29 +00:00 |
|
Devang Patel
|
f66f3dd962
|
Only cosmetic changes. Zero functionality Change.
llvm-svn: 35819
|
2007-04-09 16:11:48 +00:00 |
|
Devang Patel
|
562df7f986
|
Add loop rotation pass.
llvm-svn: 35714
|
2007-04-07 01:25:15 +00:00 |
|