Misha Brukman [Tue, 29 Oct 2002 22:55:11 +0000 (22:55 +0000)]
Fixed spelling of `propagation'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4422
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 22:37:54 +0000 (22:37 +0000)]
Convert backend to use passes, implement X86TargetMachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4421
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 22:01:44 +0000 (22:01 +0000)]
These are no longer virtual methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4420
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 22:01:26 +0000 (22:01 +0000)]
Eliminate virtual methods that are sparc specific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4419
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:48:33 +0000 (21:48 +0000)]
* Privatize the TargetName
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4418
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:48:17 +0000 (21:48 +0000)]
* Privatize the TargetName
* Move optSizeForSubWordData to TargetData
* Remove unused fields
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4417
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:47:50 +0000 (21:47 +0000)]
Implement findOptimalStorageSize a bit more generally
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4416
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:12:46 +0000 (21:12 +0000)]
Allow TargetMachine to refuse static code gen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4415
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:06:58 +0000 (21:06 +0000)]
Convert jello to use PassManager
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4414
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 21:05:24 +0000 (21:05 +0000)]
Rename X86InstructionInfo to X86InstrInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4413
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:51:29 +0000 (20:51 +0000)]
Rename Sparc.h to TargetMachineImpls.h. Add hook for X86 target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4412
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:51:10 +0000 (20:51 +0000)]
Add hook for JIT compiler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4411
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:48:56 +0000 (20:48 +0000)]
Minor renaming
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4410
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:48:09 +0000 (20:48 +0000)]
Rename Sparc.h TargetMachineImpls.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4409
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:47:46 +0000 (20:47 +0000)]
Remove unneccesary #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4408
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:47:26 +0000 (20:47 +0000)]
Rename Sparc.h to TargetMachineImpls.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4407
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:45:04 +0000 (20:45 +0000)]
* Remove explicit strcmp calls
* Rename Sparc.h to TargetMachineImpls.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4406
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:44:18 +0000 (20:44 +0000)]
Move to TargetMachineImpls.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4405
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:29:34 +0000 (20:29 +0000)]
Reenable X86 backend, even though it doesn't do much, at least it compiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4404
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:10:58 +0000 (20:10 +0000)]
Merge with sparc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4403
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:10:19 +0000 (20:10 +0000)]
Merge to MachineInstrInfo.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4402
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:07:50 +0000 (20:07 +0000)]
X86 merge complete, eliminate dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4401
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 20:07:16 +0000 (20:07 +0000)]
X86 merge is complete, eliminate unused code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4400
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 29 Oct 2002 19:41:18 +0000 (19:41 +0000)]
Remove separate vector of implicit refs from MachineInstr, and
instead record them as extra operands in the operands[] vector.
Also, move CallArgsDescriptor into this class instead of making it an
annotation on the machine instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4399
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 29 Oct 2002 19:38:46 +0000 (19:38 +0000)]
Move CallArgsDescriptor into this class instead of making it an
annotation on the machine instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4398
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 29 Oct 2002 19:37:31 +0000 (19:37 +0000)]
Bug fix: align size for dynamic allocas according to stack pointer
alignment restrictions. This is incomplete for one case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4397
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:43:55 +0000 (17:43 +0000)]
Switch to generating machineinstr's instead of MInstructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4396
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:43:38 +0000 (17:43 +0000)]
Be compatible with sparc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4395
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:43:19 +0000 (17:43 +0000)]
Implement MachineInstrInfo interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4394
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:42:40 +0000 (17:42 +0000)]
Switch to different flag set
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4393
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:40:30 +0000 (17:40 +0000)]
Move TargetInstrDescriptors extern to the one .cpp file that refers to it:
MachineInstr.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4392
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:37:48 +0000 (17:37 +0000)]
Move TargetInstrDescriptors to MachineInstrInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4391
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:35:41 +0000 (17:35 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4390
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:35:39 +0000 (17:35 +0000)]
Use higher level methods, don't use TargetInstrDescriptors directly!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4389
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:35:09 +0000 (17:35 +0000)]
Rename opCodeString to Name, add new getName() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4388
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:26:26 +0000 (17:26 +0000)]
Rename MachineInstrInfo::getDescriptor to MachineInstrInfo::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4387
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:25:41 +0000 (17:25 +0000)]
Use higher level method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4386
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:15:01 +0000 (17:15 +0000)]
Remove old entrypoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:14:10 +0000 (17:14 +0000)]
Remove unneeded #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4384
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:08:05 +0000 (17:08 +0000)]
Remove #include, misleading comment, and a typedef used only once
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4383
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:03:19 +0000 (17:03 +0000)]
Inline typedef, eliminate unused method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4382
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 17:00:19 +0000 (17:00 +0000)]
Remove long dead #if 0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4381
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:51:05 +0000 (16:51 +0000)]
Add #includes that were eliminated from headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4380
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:50:33 +0000 (16:50 +0000)]
De-inline methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4379
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:50:20 +0000 (16:50 +0000)]
Remove #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4378
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:50:06 +0000 (16:50 +0000)]
Remove unneeded #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4377
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:49:44 +0000 (16:49 +0000)]
Remove forward decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4376
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:42:34 +0000 (16:42 +0000)]
Make assertIGNode be private to the InterferenceGraph.cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4375
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:34:12 +0000 (16:34 +0000)]
Remove unneccesary #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4374
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 16:32:08 +0000 (16:32 +0000)]
Delete unused header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4373
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 15:45:20 +0000 (15:45 +0000)]
MachineInstrInfo doesn't need a TargetMachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4372
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 15:44:40 +0000 (15:44 +0000)]
MachineInstrInfo doesn't need a TargetMachine member
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4371
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 15:15:22 +0000 (15:15 +0000)]
Don't link tools with -g objects!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4370
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:56:41 +0000 (23:56 +0000)]
Don't build X86 target until it builds properly again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4369
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:55:33 +0000 (23:55 +0000)]
Seperate code out of TargetMachine into MachineInstrInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4368
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:55:19 +0000 (23:55 +0000)]
Initial stab at MachineInstr'ication
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4367
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:54:47 +0000 (23:54 +0000)]
MachineInstrInfo no longer #includes this header, so we must
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4366
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:54:23 +0000 (23:54 +0000)]
Minor cleanups, remove noncopyable so dot doesn't cluster unrelated stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4365
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:53:56 +0000 (23:53 +0000)]
Strip a bunch of #includes from the file, move some virtual functions to
.cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4364
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 23:53:32 +0000 (23:53 +0000)]
Inline some code from the cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4363
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 21:43:57 +0000 (21:43 +0000)]
Use BuildMI instead of explicit code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4362
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 21:43:42 +0000 (21:43 +0000)]
Minor comment updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4361
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 21:31:48 +0000 (21:31 +0000)]
Initial checkin of MachineInstrBuilder class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4360
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 21:17:20 +0000 (21:17 +0000)]
Remove all traces of the "Opcode Mask" field in the MachineInstr class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4359
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 21:02:40 +0000 (21:02 +0000)]
Remove more default arguments that are never used
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4358
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 20:59:49 +0000 (20:59 +0000)]
Remove default operands that are never used
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4357
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 20:48:39 +0000 (20:48 +0000)]
* Make MachineOperand ctors private, so MachineOperand can only be created
by MachineInstr.
* Add a bunch of new methods to allow incremental addition of operands to the
machine instr instance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4356
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 20:11:17 +0000 (20:11 +0000)]
Fix minor bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4355
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 20:10:56 +0000 (20:10 +0000)]
Don't pass default args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4354
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 28 Oct 2002 20:01:52 +0000 (20:01 +0000)]
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4353
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 28 Oct 2002 20:01:13 +0000 (20:01 +0000)]
Rewrote uses of deprecated `MachineFunction::get(BasicBlock *BB)'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4352
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 28 Oct 2002 20:00:31 +0000 (20:00 +0000)]
Replaced uses of deprecated `MachineFunction::get(BasicBlock *BB)'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4351
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 28 Oct 2002 19:58:38 +0000 (19:58 +0000)]
Iterator functions now line up together.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4350
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Hildenbrandt [Mon, 28 Oct 2002 19:54:06 +0000 (19:54 +0000)]
Casting NULL can cause problems so lets just not cast NULL to anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4349
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:46:59 +0000 (19:46 +0000)]
Remove two arguments that are never specified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4348
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:46:25 +0000 (19:46 +0000)]
Don't bother passing in default value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4347
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:43:23 +0000 (19:43 +0000)]
Rename some regalloc fields
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4346
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:32:07 +0000 (19:32 +0000)]
Fixes to work with updated RegAlloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4345
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:22:04 +0000 (19:22 +0000)]
Eliminate usage of MachineBasicBlock::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4344
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Hildenbrandt [Mon, 28 Oct 2002 19:05:12 +0000 (19:05 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4343
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 19:01:16 +0000 (19:01 +0000)]
Remove usage of MachineBasicBlock::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4342
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 18:50:08 +0000 (18:50 +0000)]
Remove usage of MachineBasicBlock::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4341
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 18:01:21 +0000 (18:01 +0000)]
Eliminate uses of MachineBasicBlock::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4340
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 06:01:57 +0000 (06:01 +0000)]
Eliminate unneccesary use of MachineBasicBlock::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4339
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 05:58:46 +0000 (05:58 +0000)]
s/method/function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4338
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 05:30:46 +0000 (05:30 +0000)]
Change MachineBasicBlock's to not be Annotations, instead they are kept as
part of a linked list tracked by MachineFunction. MachineBasicBlock::get
is now linear time instead of constant time, and thus is deprecated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4337
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:59:43 +0000 (04:59 +0000)]
Make sched class unsigned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4336
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:55:56 +0000 (04:55 +0000)]
* s/unsigned int/unsigned
* Make MachineInstrDescriptor only keep a const char * instead of a string
for the opcode name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4335
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:53:18 +0000 (04:53 +0000)]
Make scheduling class variables be 'unsigned' instead of 'int'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4334
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:53:02 +0000 (04:53 +0000)]
Make Scheduling Class variables be 'unsigned' instead of 'int'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4333
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:50:01 +0000 (04:50 +0000)]
Remove typedef that is unneccesary
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4332
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:45:29 +0000 (04:45 +0000)]
Rename the redundant MachineOperand::getOperandType() to MachineOperand::getType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4331
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:30:20 +0000 (04:30 +0000)]
Add new getOperandType(i) method to MachineInstr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4330
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 04:24:49 +0000 (04:24 +0000)]
Fairly major overhaul of MachineInstr & Operand classes
- Inline methods that are mostly a single line anyway
- Eliminate several methods that were never called
- Group methods a bit more consistently
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4329
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:29:46 +0000 (02:29 +0000)]
Make MachineInstr.h not #include MachineInstrInfo.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4328
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:28:39 +0000 (02:28 +0000)]
Add #includes now that MachineInstr.h doesn't include llvm/Target/MachineInstrInfo.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4327
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:27:07 +0000 (02:27 +0000)]
Remvoe a bunch of unneeded forward decls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4326
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:11:53 +0000 (02:11 +0000)]
Don't #include <Support/*>, #include "Support/*"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4325
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:08:43 +0000 (02:08 +0000)]
Add BasicBlock list to MchineFunction that will eventually be the only
way to access MachineBasicBlocks. For now, it is never filled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4324
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 28 Oct 2002 02:01:37 +0000 (02:01 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4323
91177308-0d34-0410-b5e6-
96231b3b80d8