Chris Lattner [Thu, 31 Oct 2002 01:25:13 +0000 (01:25 +0000)]
New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4455
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 21:47:57 +0000 (21:47 +0000)]
Fix two problems:
* Load Implementation can cause unaligned memory accesses, which caused
problems for sparc.
* cast from pointer to pointer would zero the upper 32 bits of the pointer
which obviously causes problems on 64 bit hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4454
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 30 Oct 2002 20:38:49 +0000 (20:38 +0000)]
Bug fix: need to initialize new CallArgsDescriptor pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4453
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 30 Oct 2002 20:38:16 +0000 (20:38 +0000)]
Bug fix in setting an implicit ref.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4452
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 30 Oct 2002 20:16:38 +0000 (20:16 +0000)]
In getID(), don't call getValidSymbolName to mangle external names!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4451
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 06:04:46 +0000 (06:04 +0000)]
Add lots more info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4450
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 30 Oct 2002 02:18:29 +0000 (02:18 +0000)]
Return 0 instead of 1 for correct execution. Makes automated testing happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4449
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 02:03:59 +0000 (02:03 +0000)]
Make the testcase MORE complex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4448
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 02:02:37 +0000 (02:02 +0000)]
Remove fixme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4447
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:55:38 +0000 (01:55 +0000)]
Add special code to make printing SSA form machine instructions nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4446
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:54:42 +0000 (01:54 +0000)]
Name the first basic block
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4445
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:49:01 +0000 (01:49 +0000)]
Make sure to set the destination register correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4444
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:48:41 +0000 (01:48 +0000)]
Allow BuildMI that helps automate construction of SSA information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4443
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:15:31 +0000 (01:15 +0000)]
Set the destination register field based on the target specific flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4442
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:09:34 +0000 (01:09 +0000)]
Add flag to specify when no value is produced by an instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4441
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:07:12 +0000 (01:07 +0000)]
Sparc backend doesn't use target specific flags yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4440
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 01:06:53 +0000 (01:06 +0000)]
* Add new "Target Specific Flags" field to instruction descriptor
* Rename iclass to Flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4439
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:58:19 +0000 (00:58 +0000)]
Use MRegisterInfo, if available, to print symbolic register names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4438
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:56:18 +0000 (00:56 +0000)]
Implement the new optional getRegisterInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4437
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:53:02 +0000 (00:53 +0000)]
Add new optional getRegisterInfo to TargetMachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4436
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:48:05 +0000 (00:48 +0000)]
Implement structured machine code printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4435
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:47:49 +0000 (00:47 +0000)]
Print machine code after instruction selection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4434
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:47:40 +0000 (00:47 +0000)]
Make sure to pass the LLVM basic block in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4433
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:46:48 +0000 (00:46 +0000)]
Add support for structured printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 30 Oct 2002 00:46:31 +0000 (00:46 +0000)]
Improve comments, add methods for structured printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4431
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:41:11 +0000 (23:41 +0000)]
Jello now builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4430
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:40:58 +0000 (23:40 +0000)]
Construct annotation, to make sure it's attached to function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4429
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:40:30 +0000 (23:40 +0000)]
Add method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:40:03 +0000 (23:40 +0000)]
Make argsize calculation stuff optional, so that Targets without FrameInfo
objects yet don't die
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4427
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:19:00 +0000 (23:19 +0000)]
Implement autoinserting ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4426
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:18:43 +0000 (23:18 +0000)]
Rename annotation id
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4425
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 29 Oct 2002 23:18:23 +0000 (23:18 +0000)]
Add capability to have machine instruction autoinsert when it is created
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4424
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 29 Oct 2002 23:06:16 +0000 (23:06 +0000)]
Fix spelling of `propagate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4423
91177308-0d34-0410-b5e6-
96231b3b80d8
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