Chris Lattner
|
2677b71f64
|
Fix a warning
llvm-svn: 15409
|
2004-08-01 19:31:30 +00:00 |
|
Tanya Lattner
|
414e014c5f
|
Adding ModuloScheduling so that it compiles for everyone.
llvm-svn: 15408
|
2004-08-01 19:00:17 +00:00 |
|
Tanya Lattner
|
763a90b5fa
|
Adding friend MSSchedule for ModuloScheduling pass.
llvm-svn: 15407
|
2004-08-01 18:57:38 +00:00 |
|
Chris Lattner
|
e8b9d3f67c
|
Fix warning
llvm-svn: 15406
|
2004-08-01 18:17:36 +00:00 |
|
Chris Lattner
|
0070d37a51
|
Initial testcase for bytecode compatibility regression test.
llvm-svn: 15405
|
2004-08-01 18:06:28 +00:00 |
|
Reid Spencer
|
e1632af289
|
Update.
llvm-svn: 15404
|
2004-08-01 16:30:24 +00:00 |
|
Chris Lattner
|
df7c9d0339
|
Convert all I<> instructions to asmformat.
Delete the 'name' field of all instructions that have asmformats.
llvm-svn: 15403
|
2004-08-01 09:52:59 +00:00 |
|
Chris Lattner
|
786c788d12
|
Dereferencing end() is bad.
llvm-svn: 15402
|
2004-08-01 09:51:42 +00:00 |
|
Chris Lattner
|
1ca0362e24
|
Add some immediate forms, make name optional
llvm-svn: 15401
|
2004-08-01 09:36:44 +00:00 |
|
Chris Lattner
|
d308e8dbd8
|
Be picky
llvm-svn: 15400
|
2004-08-01 08:55:34 +00:00 |
|
Chris Lattner
|
ae25608f8b
|
Instructions no longer need to have names.
llvm-svn: 15399
|
2004-08-01 08:38:17 +00:00 |
|
Chris Lattner
|
90a4b737dd
|
Eliminate 3 of the X86 printImplicit* flags.
llvm-svn: 15398
|
2004-08-01 08:23:17 +00:00 |
|
Chris Lattner
|
de4844f84d
|
Get rid of 3 of the 4 'printimplicit' flags. Implicit operands are now
explicitly listed in the asm string.
llvm-svn: 15397
|
2004-08-01 08:22:29 +00:00 |
|
Chris Lattner
|
0c5ab21dcd
|
Convert more instructions over to the asmprinter
llvm-svn: 15396
|
2004-08-01 08:13:11 +00:00 |
|
Chris Lattner
|
0a6fedb451
|
Handle registers a bit more efficiently
llvm-svn: 15395
|
2004-08-01 08:12:41 +00:00 |
|
Chris Lattner
|
c40aa40525
|
give FP stack registers names
llvm-svn: 15394
|
2004-08-01 08:12:13 +00:00 |
|
Chris Lattner
|
6c596faddb
|
Switch more instructions over to using the asmprinter. Fix bugs in the emission
of in/out instructions (missing %'s on registers).
llvm-svn: 15393
|
2004-08-01 07:44:35 +00:00 |
|
Chris Lattner
|
3a928f8119
|
The tblgen'erated asmparser wants a way to print operands.
llvm-svn: 15392
|
2004-08-01 07:43:46 +00:00 |
|
Chris Lattner
|
0dd4abcce9
|
Add support for asm printing machine instructions that have operands.
llvm-svn: 15391
|
2004-08-01 07:43:02 +00:00 |
|
Chris Lattner
|
350b76be29
|
Parse the operand list of the instruction. We currently support register and immediate operands.
llvm-svn: 15390
|
2004-08-01 07:42:39 +00:00 |
|
Chris Lattner
|
e4c868ffa0
|
Rename the Printer class -> X86AsmPrinter.
Include the tablegenerated assembly writer.
llvm-svn: 15389
|
2004-08-01 06:02:08 +00:00 |
|
Chris Lattner
|
a02166d28b
|
Factor a bunch of the rules and add support for generating the asmwriter.
llvm-svn: 15388
|
2004-08-01 06:01:32 +00:00 |
|
Chris Lattner
|
9a7b050ebb
|
Specify an asm string and operands lists for a bunch of instructions.
This only really covers no-operand instructions so far.
llvm-svn: 15387
|
2004-08-01 06:01:00 +00:00 |
|
Chris Lattner
|
a983ac4661
|
Initial cut at an asm writer emitter. So far, this only handles emission of
instructions, and only instructions that take no operands at that!
llvm-svn: 15386
|
2004-08-01 05:59:33 +00:00 |
|
Chris Lattner
|
09d6e317a8
|
Add, and start using, the CodeGenInstruction class. This class represents
an instance of the Instruction tablegen class.
llvm-svn: 15385
|
2004-08-01 05:04:00 +00:00 |
|
Chris Lattner
|
91a07c84b1
|
Add the 'ops' marker, add an AsmString initializer
llvm-svn: 15383
|
2004-08-01 04:40:43 +00:00 |
|
Chris Lattner
|
07525455a6
|
Rename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)
llvm-svn: 15382
|
2004-08-01 04:04:35 +00:00 |
|
Chris Lattner
|
2e8beb316b
|
Finegrainify namespacification
llvm-svn: 15381
|
2004-08-01 03:55:39 +00:00 |
|
Chris Lattner
|
101dccd430
|
Completely disable the pattern isel until it is more substantial.
llvm-svn: 15380
|
2004-08-01 03:28:02 +00:00 |
|
Chris Lattner
|
9bce44c8cc
|
Entirely eliminate all patterns and expanders from this file. We shall go
with an incremental approach rather than a revolutionary approach.
llvm-svn: 15379
|
2004-08-01 03:25:01 +00:00 |
|
Chris Lattner
|
d20c857ba0
|
Move the 'Expander' node to later in the file, with the other experimental
stuff. The pattern becomes a list, add some stuff, add some comments.
llvm-svn: 15378
|
2004-08-01 03:23:34 +00:00 |
|
Chris Lattner
|
0717ef353d
|
Remove obsolete file
llvm-svn: 15377
|
2004-08-01 03:19:28 +00:00 |
|
Alkis Evlogimenos
|
1dd3ea5515
|
Make OptimizeBlock take a MachineFunction::iterator instead of a
MachineBasicBlock* as a parameter so that nxext() and prior() helper
functions can work naturally on it.
llvm-svn: 15376
|
2004-07-31 19:24:41 +00:00 |
|
Chris Lattner
|
ecca71ce92
|
Next on a pointer increments the pointer, not an iterator
llvm-svn: 15375
|
2004-07-31 18:40:36 +00:00 |
|
Alkis Evlogimenos
|
b28bc78d0a
|
Use next() helper to make code more readable. Use
MachineFunction::iterator instead of MachineBasicBlock* to avoid
dereferencing end iterators.
llvm-svn: 15373
|
2004-07-31 15:14:29 +00:00 |
|
Alkis Evlogimenos
|
143aeb646c
|
Use MachineFunction::iterator instead of a MachineBasicBlock* because
FallThrough maybe == to MF.end().
llvm-svn: 15372
|
2004-07-31 15:03:52 +00:00 |
|
Alkis Evlogimenos
|
cdcb1c62e5
|
Align breaks.
llvm-svn: 15371
|
2004-07-31 10:05:44 +00:00 |
|
Chris Lattner
|
00ff5a4e35
|
Expose breakcriticaledges as a functionpass
llvm-svn: 15370
|
2004-07-31 10:02:24 +00:00 |
|
Chris Lattner
|
170b31f44d
|
Expose this as a functionpass
llvm-svn: 15369
|
2004-07-31 10:01:58 +00:00 |
|
Chris Lattner
|
7b12b8a13e
|
Implement a simple target-independent CFG cleanup pass
llvm-svn: 15368
|
2004-07-31 10:01:27 +00:00 |
|
Chris Lattner
|
ab1daf9f8a
|
New pass
llvm-svn: 15367
|
2004-07-31 09:59:14 +00:00 |
|
Chris Lattner
|
0829da11d7
|
Expose some helpful methods
llvm-svn: 15366
|
2004-07-31 09:59:04 +00:00 |
|
Chris Lattner
|
0d66480e9e
|
Add breaks
llvm-svn: 15365
|
2004-07-31 09:53:31 +00:00 |
|
Alkis Evlogimenos
|
1eb8a5dc09
|
Simplify code a bit.
llvm-svn: 15364
|
2004-07-31 09:44:32 +00:00 |
|
Alkis Evlogimenos
|
de150fb74b
|
Correctly spell 'unconditional'.
llvm-svn: 15363
|
2004-07-31 09:41:44 +00:00 |
|
Alkis Evlogimenos
|
bc3d550391
|
Implement insertGoto and reverseBranchCondition for the X86.
llvm-svn: 15362
|
2004-07-31 09:38:47 +00:00 |
|
Alkis Evlogimenos
|
e28642a6a5
|
Change signature to take two basic blocks: the target and the one
where the goto will be appended.
llvm-svn: 15361
|
2004-07-31 09:37:52 +00:00 |
|
Alkis Evlogimenos
|
b338ca7306
|
Doxygenify some comments.
llvm-svn: 15360
|
2004-07-31 08:57:27 +00:00 |
|
Alkis Evlogimenos
|
6308a8a8e0
|
Remove const from iterators passed by value.
llvm-svn: 15359
|
2004-07-31 08:55:23 +00:00 |
|
Alkis Evlogimenos
|
2ca8d29454
|
Add declarations for insertGoto and reverseBranchCondition.
llvm-svn: 15358
|
2004-07-31 08:52:30 +00:00 |
|