oota-llvm.git
21 years agoFix problem with invalidated iterator
Chris Lattner [Thu, 16 Jan 2003 18:07:13 +0000 (18:07 +0000)]
Fix problem with invalidated iterator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5327 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix problems with empty basic blocks
Chris Lattner [Thu, 16 Jan 2003 18:06:43 +0000 (18:06 +0000)]
Fix problems with empty basic blocks

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5326 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement optimization folding setcc into branch.
Chris Lattner [Thu, 16 Jan 2003 16:43:00 +0000 (16:43 +0000)]
Implement optimization folding setcc into branch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5324 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd more flavors of branch instructions
Chris Lattner [Thu, 16 Jan 2003 16:42:45 +0000 (16:42 +0000)]
Add more flavors of branch instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5323 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoArg, fix bugs in previous checkin...
Chris Lattner [Thu, 16 Jan 2003 02:24:20 +0000 (02:24 +0000)]
Arg, fix bugs in previous checkin...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5322 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd assertion
Chris Lattner [Thu, 16 Jan 2003 02:22:08 +0000 (02:22 +0000)]
Add assertion

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5321 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement code to keep the stack pointer aligned to an 8 byte boundary.
Chris Lattner [Thu, 16 Jan 2003 02:20:12 +0000 (02:20 +0000)]
Implement code to keep the stack pointer aligned to an 8 byte boundary.
This improves the performance of the power benchmark by a few percent.
This will be neccesary for SSE code, which requires 16 byte alignment of
the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5320 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHandle frame offset due to return address pushed on the stack
Chris Lattner [Wed, 15 Jan 2003 22:57:35 +0000 (22:57 +0000)]
Handle frame offset due to return address pushed on the stack

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5319 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Insert prolog/epilog code before rewriting indexes
Chris Lattner [Wed, 15 Jan 2003 22:52:34 +0000 (22:52 +0000)]
* Insert prolog/epilog code before rewriting indexes
* Fix calculation of frame offsets when there is an offset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5318 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove sparc specific code into the Sparc backend
Chris Lattner [Wed, 15 Jan 2003 21:36:50 +0000 (21:36 +0000)]
Move sparc specific code into the Sparc backend

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5317 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix warnings
Chris Lattner [Wed, 15 Jan 2003 21:36:30 +0000 (21:36 +0000)]
Fix warnings

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5316 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdjust to simpler interfaces
Chris Lattner [Wed, 15 Jan 2003 21:14:32 +0000 (21:14 +0000)]
Adjust to simpler interfaces
Eliminate dependency on RegClass.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5315 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdjust to new interfaces
Chris Lattner [Wed, 15 Jan 2003 21:14:01 +0000 (21:14 +0000)]
Adjust to new interfaces

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5314 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSimplify the interface
Chris Lattner [Wed, 15 Jan 2003 21:13:32 +0000 (21:13 +0000)]
Simplify the interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5313 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove headers around
Chris Lattner [Wed, 15 Jan 2003 21:02:16 +0000 (21:02 +0000)]
Move headers around

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5312 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHeader is moved into local directory
Chris Lattner [Wed, 15 Jan 2003 21:00:02 +0000 (21:00 +0000)]
Header is moved into local directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5311 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug in previous checkin
Chris Lattner [Wed, 15 Jan 2003 20:32:15 +0000 (20:32 +0000)]
Fix bug in previous checkin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5310 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new method
Chris Lattner [Wed, 15 Jan 2003 20:28:36 +0000 (20:28 +0000)]
Add new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5309 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove private headers into private regalloc directory
Chris Lattner [Wed, 15 Jan 2003 20:26:32 +0000 (20:26 +0000)]
Move private headers into private regalloc directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5308 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago#include RegClass.h explicitly
Chris Lattner [Wed, 15 Jan 2003 19:57:07 +0000 (19:57 +0000)]
#include RegClass.h explicitly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5307 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemvoe dependency on RegClass.h
Chris Lattner [Wed, 15 Jan 2003 19:56:21 +0000 (19:56 +0000)]
Remvoe dependency on RegClass.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5306 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove private header to private directory
Chris Lattner [Wed, 15 Jan 2003 19:50:44 +0000 (19:50 +0000)]
Move private header to private directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5305 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove private header to private dir
Chris Lattner [Wed, 15 Jan 2003 19:50:32 +0000 (19:50 +0000)]
Move private header to private dir

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5304 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoPrune #includes
Chris Lattner [Wed, 15 Jan 2003 19:48:13 +0000 (19:48 +0000)]
Prune #includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5303 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor changes
Chris Lattner [Wed, 15 Jan 2003 19:47:53 +0000 (19:47 +0000)]
Minor changes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5302 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove obsolete ctor
Chris Lattner [Wed, 15 Jan 2003 19:47:02 +0000 (19:47 +0000)]
Remove obsolete ctor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5301 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove internal helper fn
Chris Lattner [Wed, 15 Jan 2003 19:46:39 +0000 (19:46 +0000)]
Remove internal helper fn

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5300 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse BuildMI more
Chris Lattner [Wed, 15 Jan 2003 19:23:34 +0000 (19:23 +0000)]
Use BuildMI more

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5299 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove dead code
Chris Lattner [Wed, 15 Jan 2003 19:22:38 +0000 (19:22 +0000)]
Remove dead code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5298 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoADd support for CC registers for Sparc BE
Chris Lattner [Wed, 15 Jan 2003 19:22:23 +0000 (19:22 +0000)]
ADd support for CC registers for Sparc BE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5297 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd support for the CC registers for Sparc BE
Chris Lattner [Wed, 15 Jan 2003 19:22:06 +0000 (19:22 +0000)]
Add support for the CC registers for Sparc BE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5296 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove more unused methods
Chris Lattner [Wed, 15 Jan 2003 19:21:50 +0000 (19:21 +0000)]
Remove more unused methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5295 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug found by regtests
Chris Lattner [Wed, 15 Jan 2003 18:11:11 +0000 (18:11 +0000)]
Fix bug found by regtests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5294 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse buildmi not MI ctor directly
Chris Lattner [Wed, 15 Jan 2003 18:08:07 +0000 (18:08 +0000)]
Use buildmi not MI ctor directly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5293 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoCleanup testcase
Chris Lattner [Wed, 15 Jan 2003 18:06:37 +0000 (18:06 +0000)]
Cleanup testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5292 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse BuildMI more, Create*Instruction less
Chris Lattner [Wed, 15 Jan 2003 17:47:49 +0000 (17:47 +0000)]
Use BuildMI more, Create*Instruction less

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5291 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove a ton of functions that are no longer used, instead using BuildMI
Chris Lattner [Wed, 15 Jan 2003 17:35:44 +0000 (17:35 +0000)]
Remove a ton of functions that are no longer used, instead using BuildMI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5290 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new helper method addRegDef
Chris Lattner [Wed, 15 Jan 2003 17:18:22 +0000 (17:18 +0000)]
Add new helper method addRegDef

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5289 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoX86 backend should never use addMReg
Chris Lattner [Wed, 15 Jan 2003 00:04:14 +0000 (00:04 +0000)]
X86 backend should never use addMReg

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5288 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Elimiante a bunch of functions from InstrSelectionSupport.h, replacing users
Chris Lattner [Wed, 15 Jan 2003 00:03:28 +0000 (00:03 +0000)]
* Elimiante a bunch of functions from InstrSelectionSupport.h, replacing users
  of them with BUildMI calls instead.
* Fix def information in instructions generated by prologepilog inserter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5287 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Eliminate a bunch of inline functions.
Chris Lattner [Wed, 15 Jan 2003 00:02:41 +0000 (00:02 +0000)]
* Eliminate a bunch of inline functions.
* Convert callers to use BuildMI instead

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5286 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove to include/llvm/CodeGen
Chris Lattner [Tue, 14 Jan 2003 23:05:31 +0000 (23:05 +0000)]
Move to include/llvm/CodeGen

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5285 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename llvm/Analysis/LiveVar/FunctionLiveVarInfo.h -> llvm/CodeGen/FunctionLiveVarInfo.h
Chris Lattner [Tue, 14 Jan 2003 23:05:08 +0000 (23:05 +0000)]
Rename llvm/Analysis/LiveVar/FunctionLiveVarInfo.h -> llvm/CodeGen/FunctionLiveVarInfo.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5284 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename header
Chris Lattner [Tue, 14 Jan 2003 22:57:15 +0000 (22:57 +0000)]
Rename header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5283 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove llvm/Analysis/LiveVar/ValueSet.h to CodeGen/ValueSet.h
Chris Lattner [Tue, 14 Jan 2003 22:56:37 +0000 (22:56 +0000)]
Move llvm/Analysis/LiveVar/ValueSet.h to CodeGen/ValueSet.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5282 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename include/llvm/Transforms/Instrumentation/TraceFunctions.h to Instrumentation.h
Chris Lattner [Tue, 14 Jan 2003 22:39:29 +0000 (22:39 +0000)]
Rename include/llvm/Transforms/Instrumentation/TraceFunctions.h to Instrumentation.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5281 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew header
Chris Lattner [Tue, 14 Jan 2003 22:37:41 +0000 (22:37 +0000)]
New header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5280 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove to Instrumentation.h
Chris Lattner [Tue, 14 Jan 2003 22:36:15 +0000 (22:36 +0000)]
Move to Instrumentation.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5279 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix typeo
Chris Lattner [Tue, 14 Jan 2003 22:34:36 +0000 (22:34 +0000)]
Fix typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5278 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove unused header and function
Chris Lattner [Tue, 14 Jan 2003 22:34:13 +0000 (22:34 +0000)]
Remove unused header and function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5277 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoClean up #includes
Chris Lattner [Tue, 14 Jan 2003 22:33:56 +0000 (22:33 +0000)]
Clean up #includes
Move graph.h into local directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5276 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoREmove unused header file
Chris Lattner [Tue, 14 Jan 2003 22:29:57 +0000 (22:29 +0000)]
REmove unused header file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5275 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove unused header
Chris Lattner [Tue, 14 Jan 2003 22:28:22 +0000 (22:28 +0000)]
Remove unused header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5274 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug Regression/Verifier/2002-11-05-GetelementptrPointers.ll
Chris Lattner [Tue, 14 Jan 2003 22:19:44 +0000 (22:19 +0000)]
Fix bug Regression/Verifier/2002-11-05-GetelementptrPointers.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5273 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename MachineInstrInfo -> TargetInstrInfo
Chris Lattner [Tue, 14 Jan 2003 22:00:31 +0000 (22:00 +0000)]
Rename MachineInstrInfo -> TargetInstrInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5272 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove llvm/Annotation.h to Support/Annotation.h
Chris Lattner [Tue, 14 Jan 2003 21:39:04 +0000 (21:39 +0000)]
Move llvm/Annotation.h to Support/Annotation.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5271 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove annotations to support library
Chris Lattner [Tue, 14 Jan 2003 21:31:39 +0000 (21:31 +0000)]
Move annotations to support library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5270 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoLink in lots o libraries
Chris Lattner [Tue, 14 Jan 2003 21:30:30 +0000 (21:30 +0000)]
Link in lots o libraries

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5269 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove annotation to support library
Chris Lattner [Tue, 14 Jan 2003 21:29:58 +0000 (21:29 +0000)]
Move annotation to support library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5268 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMust #include assert.h
Chris Lattner [Tue, 14 Jan 2003 21:29:52 +0000 (21:29 +0000)]
Must #include assert.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5267 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor cleanups
Chris Lattner [Tue, 14 Jan 2003 20:32:10 +0000 (20:32 +0000)]
Minor cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5266 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake type resolution a bit more efficient
Chris Lattner [Tue, 14 Jan 2003 19:42:39 +0000 (19:42 +0000)]
Make type resolution a bit more efficient

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5265 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug
Chris Lattner [Tue, 14 Jan 2003 19:04:43 +0000 (19:04 +0000)]
Fix bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5264 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Mon, 13 Jan 2003 20:02:16 +0000 (20:02 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew files
Chris Lattner [Mon, 13 Jan 2003 20:01:16 +0000 (20:01 +0000)]
New files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5262 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcases
Chris Lattner [Mon, 13 Jan 2003 01:03:16 +0000 (01:03 +0000)]
New testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5261 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew files
Chris Lattner [Mon, 13 Jan 2003 01:01:59 +0000 (01:01 +0000)]
New files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5260 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new files
Chris Lattner [Mon, 13 Jan 2003 01:01:31 +0000 (01:01 +0000)]
Add new files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5259 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd support for named functions
Chris Lattner [Mon, 13 Jan 2003 01:00:48 +0000 (01:00 +0000)]
Add support for named functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5258 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDead file
Chris Lattner [Mon, 13 Jan 2003 01:00:28 +0000 (01:00 +0000)]
Dead file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5257 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd support for new types of values
Chris Lattner [Mon, 13 Jan 2003 01:00:12 +0000 (01:00 +0000)]
Add support for new types of values

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5256 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoBad segvs actually cause a segv now
Chris Lattner [Mon, 13 Jan 2003 01:00:02 +0000 (01:00 +0000)]
Bad segvs actually cause a segv now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5255 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Wrap at 80 columns
Chris Lattner [Mon, 13 Jan 2003 00:59:47 +0000 (00:59 +0000)]
* Wrap at 80 columns
* Fix a ton of warnings
* Implement puts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5254 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHandle value promotion properly to work with tracing better
Chris Lattner [Mon, 13 Jan 2003 00:58:52 +0000 (00:58 +0000)]
Handle value promotion properly to work with tracing better

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5253 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNo longer need scalaropts lib
Chris Lattner [Mon, 13 Jan 2003 00:58:18 +0000 (00:58 +0000)]
No longer need scalaropts lib

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5252 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd fixme
Chris Lattner [Mon, 13 Jan 2003 00:58:06 +0000 (00:58 +0000)]
Add fixme

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5251 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agotest the shift cases for long that are implemented
Chris Lattner [Mon, 13 Jan 2003 00:57:49 +0000 (00:57 +0000)]
test the shift cases for long that are implemented

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5250 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agotest longs
Chris Lattner [Mon, 13 Jan 2003 00:57:37 +0000 (00:57 +0000)]
test longs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5249 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTest longs and fp
Chris Lattner [Mon, 13 Jan 2003 00:57:19 +0000 (00:57 +0000)]
Test longs and fp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5248 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTEst longs
Chris Lattner [Mon, 13 Jan 2003 00:57:11 +0000 (00:57 +0000)]
TEst longs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5247 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd test for longs
Chris Lattner [Mon, 13 Jan 2003 00:57:04 +0000 (00:57 +0000)]
Add test for longs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5246 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoadd div test as well
Chris Lattner [Mon, 13 Jan 2003 00:56:54 +0000 (00:56 +0000)]
add div test as well

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5245 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agotest a bunch of stuff
Chris Lattner [Mon, 13 Jan 2003 00:56:37 +0000 (00:56 +0000)]
test a bunch of stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5244 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTest long support
Chris Lattner [Mon, 13 Jan 2003 00:56:27 +0000 (00:56 +0000)]
Test long support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5243 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix static initializer ordering dependency
Chris Lattner [Mon, 13 Jan 2003 00:52:43 +0000 (00:52 +0000)]
Fix static initializer ordering dependency

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5236 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd debugging helper
Chris Lattner [Mon, 13 Jan 2003 00:52:25 +0000 (00:52 +0000)]
Add debugging helper

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5235 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake sure to handle %'s in strings correctly so that the names of BB's and functions...
Chris Lattner [Mon, 13 Jan 2003 00:52:14 +0000 (00:52 +0000)]
Make sure to handle %'s in strings correctly so that the names of BB's and functions are actually printed!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5234 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* No longer need lowerallocation pass
Chris Lattner [Mon, 13 Jan 2003 00:51:23 +0000 (00:51 +0000)]
* No longer need lowerallocation pass
* Add X86 Stackifier pass
* Add peephole optimizer pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5233 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agorename FP -> fp*
Chris Lattner [Mon, 13 Jan 2003 00:50:46 +0000 (00:50 +0000)]
rename FP -> fp*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5232 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Move frame and constant pool indexes to first argument of memory reference
Chris Lattner [Mon, 13 Jan 2003 00:50:33 +0000 (00:50 +0000)]
* Move frame and constant pool indexes to first argument of memory reference
  so we can put an offset in there as well...
* Fix long/ulong stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5231 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Some instructions take 64 bit integers, add an Arg type for it
Chris Lattner [Mon, 13 Jan 2003 00:49:24 +0000 (00:49 +0000)]
* Some instructions take 64 bit integers, add an Arg type for it
* Add flags for different types of FP pseudo instrs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5230 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Function calls clobber fp registers
Chris Lattner [Mon, 13 Jan 2003 00:48:46 +0000 (00:48 +0000)]
* Function calls clobber fp registers
* Use new M_TERMINATOR_FLAG flag
* Add ::Void flag on several instructions so def-use info is correct!
* Implement MANY FP instructions
* Finalize pseudo FP instructions
* Add set of Pseudo FP instruction description flags
* Add support for MOVim instrs
* Add support for 64 bit support instrs, like adc sbb, etc
* Add conditional move

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5229 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd support for frame and constant pool references
Chris Lattner [Mon, 13 Jan 2003 00:45:53 +0000 (00:45 +0000)]
Add support for frame and constant pool references

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5228 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove passes out to Passes.h
Chris Lattner [Mon, 13 Jan 2003 00:45:29 +0000 (00:45 +0000)]
Move passes out to Passes.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5227 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd speculation
Chris Lattner [Mon, 13 Jan 2003 00:35:08 +0000 (00:35 +0000)]
Add speculation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5226 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Implement rudimentary output of the constant pool
Chris Lattner [Mon, 13 Jan 2003 00:35:03 +0000 (00:35 +0000)]
* Implement rudimentary output of the constant pool
* Implement support for MRMS?m instructions
* Add Arg64 support
* Add support for frame indexes and constant pool indexes
*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5225 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Add support for FP registers ST*
Chris Lattner [Mon, 13 Jan 2003 00:33:59 +0000 (00:33 +0000)]
* Add support for FP registers ST*
* Add support for the constant pool & constant pool indices
* Add support for MRMS?m instructions
* Fix FP Prefix emission
* Add support for global addresses and external symbols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5224 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Adjust to use new interfaces, eliminating CurReg stuff
Chris Lattner [Mon, 13 Jan 2003 00:32:26 +0000 (00:32 +0000)]
* Adjust to use new interfaces, eliminating CurReg stuff
* Support arbitrary FP constants
* Fix bugs in frame layout for function calls and incoming arguments
* Insert copies for constant arguments to PHI nodes into the BOTTOM of
  predecessor blocks, not the top.
* Implement _floating point_ support: setcc, return, load, store, cast
* Fix several bugs in the cast instruction
* Abstract out call emission and load/store for FP
* Implement malloc/free without previous lowering pass.
* Make use of new forms of MachineOperand
* Implement _long_ support!
* Fix many bugs in FP support
* Change branch from je/jne to je/jmp
* Simplify code generated for GEP instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5223 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix references to functions
Chris Lattner [Mon, 13 Jan 2003 00:27:23 +0000 (00:27 +0000)]
Fix references to functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5222 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoStart renaming MachineInstrInfo -> TargetInstrInfo
Chris Lattner [Mon, 13 Jan 2003 00:26:36 +0000 (00:26 +0000)]
Start renaming MachineInstrInfo -> TargetInstrInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5221 91177308-0d34-0410-b5e6-96231b3b80d8