Tanya Lattner
|
42ed14860b
|
Updated dependence analyzer. Fixed numerous bugs. Same stage scheduling, etc.
llvm-svn: 21444
|
2005-04-22 06:32:48 +00:00 |
Misha Brukman
|
b440243e94
|
Remove trailing whitespace
llvm-svn: 21425
|
2005-04-21 23:30:14 +00:00 |
Chris Lattner
|
888c5fdcc2
|
Fix CodeGen/SparcV9/2005-05-09-GEP-Crash.ll a crash on some specfp program
lets hope this doesn't break other programs with induced entropy
llvm-svn: 21174
|
2005-04-09 06:27:14 +00:00 |
Chris Lattner
|
70b8b96d6c
|
Fix a namespace issue, reported by Vladimir Merzliakov!
llvm-svn: 21115
|
2005-04-06 19:45:39 +00:00 |
Tanya Lattner
|
8d64e9a90d
|
Updated to use dep analyzer.
llvm-svn: 21097
|
2005-04-05 16:36:44 +00:00 |
Chris Lattner
|
5053ea85fc
|
Fix another PATypeHolder error, contributed by Bill Wendling!
llvm-svn: 20983
|
2005-04-01 15:41:30 +00:00 |
Tanya Lattner
|
91964490e2
|
Compare dependence analysis with llvm instructions versus machine instrutions. the problem with using machine instructions and alias analysis is that aa does not handle tmp instructions.
llvm-svn: 20931
|
2005-03-29 20:35:10 +00:00 |
Tanya Lattner
|
6e19b21e30
|
Dependence analyzer that just determines dependences within a loop for loads and stores using alias analysis.
llvm-svn: 20930
|
2005-03-29 20:33:42 +00:00 |
Chris Lattner
|
d6888355fa
|
Fix compilation errors, patch contributed by the fabulous Bill Wendling!
llvm-svn: 20808
|
2005-03-24 05:13:53 +00:00 |
Tanya Lattner
|
13417b5be3
|
Added alias analysis.
Fixed many many bugs.
This now works on almost all Singlesource , and most of MultiSource.
llvm-svn: 20780
|
2005-03-23 01:47:20 +00:00 |
Tanya Lattner
|
87ee2ba48d
|
Make this method non-const. Making it const causes the const version of
getIGroup to be called instead of the non-const one. These two methods
have (??) different behavior, so this change fixes bugs.
llvm-svn: 20724
|
2005-03-21 06:07:43 +00:00 |
Chris Lattner
|
7b9020a059
|
Fix the missing symbols problem Bill was hitting. Patch contributed by
Bill Wendling!!
llvm-svn: 20649
|
2005-03-17 15:38:16 +00:00 |
Chris Lattner
|
531f9e92d4
|
This mega patch converts us from using Function::a{iterator|begin|end} to
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
2005-03-15 04:54:21 +00:00 |
Tanya Lattner
|
ee47100d44
|
Only print out machine instructions before modulo scheduling if we are actually doing modulo scheduling! :)
llvm-svn: 20292
|
2005-02-24 02:14:44 +00:00 |
Tanya Lattner
|
a31ad5172e
|
Fixed bug in findAllcircuits. Fixed branch addition to schedule. Added debug information.
llvm-svn: 20280
|
2005-02-23 02:01:42 +00:00 |
Tanya Lattner
|
c28fd0db2e
|
Fixed node deletion bug.
llvm-svn: 20207
|
2005-02-16 04:00:59 +00:00 |
Tanya Lattner
|
56807c6f4a
|
Added new circuit finding alogrithm.
Fixed bug in graph so that phi ite diff edges are added.
llvm-svn: 20108
|
2005-02-10 17:02:58 +00:00 |
Tanya Lattner
|
1137d7c6a1
|
Allow modsched and local scheduling to both be run.
llvm-svn: 20107
|
2005-02-10 17:02:06 +00:00 |
Chris Lattner
|
3479f9cca8
|
Finegrainify namespacification.
Adjust TmpInstruction to work with the new User model.
llvm-svn: 19896
|
2005-01-29 00:36:59 +00:00 |
Chris Lattner
|
68afd89730
|
add namespace qualifier
llvm-svn: 19895
|
2005-01-29 00:36:38 +00:00 |
Chris Lattner
|
39837024ae
|
Fix a spurious warning.
llvm-svn: 19799
|
2005-01-24 01:40:18 +00:00 |
Tanya Lattner
|
c227ad2640
|
Minor changes.
llvm-svn: 19660
|
2005-01-18 04:15:41 +00:00 |
Tanya Lattner
|
a8b2929f45
|
Added tmp instructions to preserve ssa.
llvm-svn: 19632
|
2005-01-17 06:47:26 +00:00 |
Tanya Lattner
|
e4872342db
|
Added paramters to a few functions in order to allow me to change the functions to preserve SSA
llvm-svn: 19615
|
2005-01-16 08:51:10 +00:00 |
Chris Lattner
|
d0a65013ab
|
cycles_t -> CycleCount_t
llvm-svn: 19604
|
2005-01-16 04:20:30 +00:00 |
Reid Spencer
|
0e48bf8a19
|
Rename BUILD_* to PROJ_*
llvm-svn: 19592
|
2005-01-16 02:21:29 +00:00 |
Tanya Lattner
|
7462d192b8
|
Fixed a couple of instructions that broke SSA.
llvm-svn: 19587
|
2005-01-16 02:14:17 +00:00 |
Tanya Lattner
|
991b5e9457
|
Chris is a pain ;) Removing reassociate.
llvm-svn: 19005
|
2004-12-16 23:16:16 +00:00 |
Tanya Lattner
|
a5528e89fd
|
Removing commented out lines.
llvm-svn: 19004
|
2004-12-16 23:13:16 +00:00 |
Tanya Lattner
|
08e19bb412
|
Removed LICM and GCSE.
llvm-svn: 19003
|
2004-12-16 23:07:36 +00:00 |
Chris Lattner
|
5a4c66cfe9
|
Remove dead #include
llvm-svn: 18994
|
2004-12-16 19:32:38 +00:00 |
Chris Lattner
|
03227509c0
|
Use the rules in Makefile.rules to build SparcV9GenCodeEmitter.inc instead
of custom rules.
llvm-svn: 18984
|
2004-12-16 16:47:56 +00:00 |
Chris Lattner
|
0bc3333ff4
|
Fix header
llvm-svn: 18983
|
2004-12-16 16:47:03 +00:00 |
Chris Lattner
|
17550c456c
|
Use the target triple to pick this target.
llvm-svn: 18830
|
2004-12-12 17:40:28 +00:00 |
Tanya Lattner
|
c0d9dcdfac
|
When writing kernel, save the branches til the end. They are still put in the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special.
llvm-svn: 18450
|
2004-12-03 05:25:22 +00:00 |
Chris Lattner
|
7651614c4d
|
The stripping pass as we know it is about to disappear
llvm-svn: 18436
|
2004-12-02 21:05:01 +00:00 |
Tanya Lattner
|
201e972dc4
|
Reworked branch adding in prologue. Added check for infinite loops which are not modulo scheduled.
llvm-svn: 18419
|
2004-12-02 07:22:15 +00:00 |
Chris Lattner
|
e0c207d2d3
|
Remove extraneous namespacification. In particular, don't define llvm::llvm::createInternalGlobalMapperPass
llvm-svn: 18365
|
2004-11-30 00:22:59 +00:00 |
Tanya Lattner
|
d8cc4facd0
|
Reworked branching so we don't handle BAs specially. It just updates the branchTO regardless of what type of branch it is.
llvm-svn: 18322
|
2004-11-29 04:39:47 +00:00 |
Tanya Lattner
|
341828ee64
|
Fixed bug where instructions in the kernel were not ordered right to preserve dependencies in a cycle.
llvm-svn: 18314
|
2004-11-28 23:36:15 +00:00 |
Tanya Lattner
|
13c71ca7b6
|
Forced branches to be first to be scheduled.
llvm-svn: 18195
|
2004-11-24 01:49:10 +00:00 |
Chris Lattner
|
cccd49f1b7
|
Squelch a bogus warning
llvm-svn: 18157
|
2004-11-23 15:57:01 +00:00 |
Tanya Lattner
|
c3a7394291
|
Changed the CreateCodeToLoadConst function to preserve SSA form. This basically means adding extra tmp instructions for intermediate values.
llvm-svn: 18137
|
2004-11-23 04:22:29 +00:00 |
Chris Lattner
|
54e1b22ea3
|
Remove some dead vars and some useless namespacification
llvm-svn: 18126
|
2004-11-22 21:42:40 +00:00 |
Chris Lattner
|
80ad8871e7
|
Implement a disgusting hack to work around broken machine code emission of
the RDCCR instruction. This fixes a bunch of programs with the JIT.
llvm-svn: 18124
|
2004-11-22 21:25:10 +00:00 |
Tanya Lattner
|
ab9cf27cd0
|
Fixed a bug where I was trying to ModuloSchedule a loop with no instructions but a terminator.
Fixed a bug in the schedule generation that was always using the start cycle.
llvm-svn: 18123
|
2004-11-22 20:41:24 +00:00 |
Chris Lattner
|
c15c120342
|
Remove JIT-specific code from the code emitter.
llvm-svn: 18122
|
2004-11-22 20:25:10 +00:00 |
Chris Lattner
|
8edcdaa6eb
|
New methods implemented
llvm-svn: 18121
|
2004-11-22 20:24:42 +00:00 |
Chris Lattner
|
b098ce7c8e
|
Implement the Sparc JIT interfaces, including relocation support.
llvm-svn: 18120
|
2004-11-22 20:24:27 +00:00 |
Chris Lattner
|
96304f816f
|
Initial checkin of the V9 relocation types
llvm-svn: 18095
|
2004-11-22 00:40:51 +00:00 |