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 |
Chris Lattner
|
5f3d274f5f
|
Adjust to changed interfaces
llvm-svn: 18064
|
2004-11-20 23:53:26 +00:00 |
Chris Lattner
|
233e9bb546
|
This method was never implemented
llvm-svn: 18039
|
2004-11-20 04:19:47 +00:00 |
Tanya Lattner
|
2e4f222045
|
Made modsched hidden and changed so it matches the style of other options.
llvm-svn: 18024
|
2004-11-19 23:34:33 +00:00 |
Tanya Lattner
|
cb0da4f1b7
|
Fixed to fit in 80 columns.
llvm-svn: 17961
|
2004-11-18 18:47:29 +00:00 |
Tanya Lattner
|
21590db8fd
|
Adding option to llc for ModuloScheduling. By default it is turned off.
llvm-svn: 17959
|
2004-11-18 18:38:01 +00:00 |
Tanya Lattner
|
7beb51cd29
|
Added my own defMap. Only saving values that are not loop invariant. Fixed a couple of assertions that were triggered due to registers not being allocated. These both had to do with PHINodes.
llvm-svn: 17907
|
2004-11-16 21:31:37 +00:00 |
Chris Lattner
|
b3ba9319f1
|
Decompose* is V9 specific, make it internal
llvm-svn: 17547
|
2004-11-07 00:43:24 +00:00 |
Chris Lattner
|
3dadadc837
|
Move this file from lib/Transforms/Scalar
llvm-svn: 17544
|
2004-11-07 00:39:09 +00:00 |
Tanya Lattner
|
444be61ea6
|
Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.
llvm-svn: 17441
|
2004-11-02 21:04:56 +00:00 |
Reid Spencer
|
f88808ae43
|
Internalize variable names to prevent recursive assignment. Cleanup docs.
llvm-svn: 17359
|
2004-10-30 09:19:36 +00:00 |
Tanya Lattner
|
ddebd1eeaa
|
Fixed bug with infinite epilogues.
Fixed issue with generating the partial order. It now adds the nodes not in recurrences in sets for each connected component.
llvm-svn: 17351
|
2004-10-30 00:39:07 +00:00 |
Reid Spencer
|
57cbe39d1e
|
Change Library Names Not To Conflict With Others When Installed
llvm-svn: 17286
|
2004-10-27 23:18:45 +00:00 |