oota-llvm.git
19 years agoUse size_t instead of long to represent memory usage. long is 32 bits
Jeff Cohen [Sat, 8 Jan 2005 20:15:57 +0000 (20:15 +0000)]
Use size_t instead of long to represent memory usage.  long is 32 bits
on 64-bit Windows.

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

19 years agoSilence warnings
Chris Lattner [Sat, 8 Jan 2005 20:13:44 +0000 (20:13 +0000)]
Silence warnings

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

19 years agoSilence VS warnings.
Chris Lattner [Sat, 8 Jan 2005 20:13:19 +0000 (20:13 +0000)]
Silence VS warnings.

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

19 years agoSilence VS warnings.
Chris Lattner [Sat, 8 Jan 2005 20:07:03 +0000 (20:07 +0000)]
Silence VS warnings.

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

19 years agoSilence VS warnings
Chris Lattner [Sat, 8 Jan 2005 20:05:34 +0000 (20:05 +0000)]
Silence VS warnings

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

19 years agoSilence VS warnings
Chris Lattner [Sat, 8 Jan 2005 19:59:10 +0000 (19:59 +0000)]
Silence VS warnings

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

19 years agoAdjust prototype
Chris Lattner [Sat, 8 Jan 2005 19:57:49 +0000 (19:57 +0000)]
Adjust prototype

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

19 years agoSilence warnings from VS
Chris Lattner [Sat, 8 Jan 2005 19:55:00 +0000 (19:55 +0000)]
Silence warnings from VS

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

19 years agoSilence VS warnings
Chris Lattner [Sat, 8 Jan 2005 19:53:50 +0000 (19:53 +0000)]
Silence VS warnings

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

19 years agoSilence VS warnings.
Chris Lattner [Sat, 8 Jan 2005 19:52:31 +0000 (19:52 +0000)]
Silence VS warnings.

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

19 years agoFix VS warnings
Chris Lattner [Sat, 8 Jan 2005 19:48:40 +0000 (19:48 +0000)]
Fix VS warnings

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

19 years agoFix VS warnings.
Chris Lattner [Sat, 8 Jan 2005 19:45:31 +0000 (19:45 +0000)]
Fix VS warnings.

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

19 years agoFix uint64_t -> unsigned VS warnings.
Chris Lattner [Sat, 8 Jan 2005 19:42:22 +0000 (19:42 +0000)]
Fix uint64_t -> unsigned VS warnings.

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

19 years agoSilence VS warnings.
Chris Lattner [Sat, 8 Jan 2005 19:37:20 +0000 (19:37 +0000)]
Silence VS warnings.

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

19 years agoSilence warnings
Chris Lattner [Sat, 8 Jan 2005 19:34:41 +0000 (19:34 +0000)]
Silence warnings

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

19 years agoDo not throw away bits for no reason
Chris Lattner [Sat, 8 Jan 2005 19:32:59 +0000 (19:32 +0000)]
Do not throw away bits for no reason

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

19 years agoSilence a VS warning.
Chris Lattner [Sat, 8 Jan 2005 19:31:31 +0000 (19:31 +0000)]
Silence a VS warning.

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

19 years agoAdjust to changes in LowerCallTo interface
Chris Lattner [Sat, 8 Jan 2005 19:28:19 +0000 (19:28 +0000)]
Adjust to changes in LowerCallTo interface
Minor bugfixes

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

19 years agoImplement handling of most long operators through libcalls.
Chris Lattner [Sat, 8 Jan 2005 19:27:05 +0000 (19:27 +0000)]
Implement handling of most long operators through libcalls.
Fix a bug legalizing "ret (Val,Val)"

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

19 years agoAdjust to changes in LowerCAllTo interfaces
Chris Lattner [Sat, 8 Jan 2005 19:26:18 +0000 (19:26 +0000)]
Adjust to changes in LowerCAllTo interfaces

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

19 years agoMake LowerCallTo more generic and useful.
Chris Lattner [Sat, 8 Jan 2005 19:25:39 +0000 (19:25 +0000)]
Make LowerCallTo more generic and useful.

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

19 years agoAnother year, another copyright update.
John Criswell [Sat, 8 Jan 2005 19:10:44 +0000 (19:10 +0000)]
Another year, another copyright update.

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

19 years agoAdd a few more passes to LinkAllPasses.h
Jeff Cohen [Sat, 8 Jan 2005 18:15:23 +0000 (18:15 +0000)]
Add a few more passes to LinkAllPasses.h

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

19 years agoAdd more missing createXxxPass functions.
Jeff Cohen [Sat, 8 Jan 2005 17:21:40 +0000 (17:21 +0000)]
Add more missing createXxxPass functions.

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

19 years agoAdd support for FP->INT conversions and back.
Chris Lattner [Sat, 8 Jan 2005 08:08:56 +0000 (08:08 +0000)]
Add support for FP->INT conversions and back.

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

19 years agoAdd operators for FP -> INT conversions and back.
Chris Lattner [Sat, 8 Jan 2005 08:08:49 +0000 (08:08 +0000)]
Add operators for FP -> INT conversions and back.

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

19 years agoWrap long line.
Chris Lattner [Sat, 8 Jan 2005 06:59:50 +0000 (06:59 +0000)]
Wrap long line.

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

19 years agoImplement the 'store FPIMM, Ptr' -> 'store INTIMM, Ptr' optimization for
Chris Lattner [Sat, 8 Jan 2005 06:25:56 +0000 (06:25 +0000)]
Implement the 'store FPIMM, Ptr' -> 'store INTIMM, Ptr' optimization for
all targets.

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

19 years ago1ULL << 64 is undefined, don't do it.
Chris Lattner [Sat, 8 Jan 2005 06:24:30 +0000 (06:24 +0000)]
1ULL << 64 is undefined, don't do it.

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

19 years agoThe X86 instruction selector already handles codegen of:
Chris Lattner [Sat, 8 Jan 2005 05:45:24 +0000 (05:45 +0000)]
The X86 instruction selector already handles codegen of:

  store float 123.45, float* %P

as an integer store.  This adds handling of float immediate stores as integers
for arguments passed function calls.

This is now tested by CodeGen/X86/store-fp-constant.ll

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

19 years agoNew testcase.
Chris Lattner [Sat, 8 Jan 2005 05:44:07 +0000 (05:44 +0000)]
New testcase.

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

19 years agoEliminate empty sub-list
Misha Brukman [Sat, 8 Jan 2005 01:11:15 +0000 (01:11 +0000)]
Eliminate empty sub-list

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

19 years agoFix a pointer invalidation problem. This fixes Generic/badarg6.ll
Chris Lattner [Fri, 7 Jan 2005 23:32:00 +0000 (23:32 +0000)]
Fix a pointer invalidation problem.  This fixes Generic/badarg6.ll

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

19 years agoFold conditional branches on constants away.
Chris Lattner [Fri, 7 Jan 2005 22:49:57 +0000 (22:49 +0000)]
Fold conditional branches on constants away.

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

19 years agoFix a thinko in the reassociation code, fixing Generic/badlive.ll
Chris Lattner [Fri, 7 Jan 2005 22:44:09 +0000 (22:44 +0000)]
Fix a thinko in the reassociation code, fixing Generic/badlive.ll

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

19 years agoAdd support for truncating integer casts from long.
Chris Lattner [Fri, 7 Jan 2005 22:37:48 +0000 (22:37 +0000)]
Add support for truncating integer casts from long.

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

19 years agoFix a bug in load expansion legalization and ret legalization. This fixes
Chris Lattner [Fri, 7 Jan 2005 22:28:47 +0000 (22:28 +0000)]
Fix a bug in load expansion legalization and ret legalization.  This fixes
CodeGen/Generic/select.ll:castconst.

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

19 years agoLegalize unconditional branches too
Chris Lattner [Fri, 7 Jan 2005 22:12:08 +0000 (22:12 +0000)]
Legalize unconditional branches too

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

19 years agoCleanup a bunch of tests. In particular do not allow target directives in
Chris Lattner [Fri, 7 Jan 2005 22:05:31 +0000 (22:05 +0000)]
Cleanup a bunch of tests.  In particular do not allow target directives in
the .ll file or it forces the V9 backend.  This is the CodeGen/Generic dir,
so there is no use in doing that.

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

19 years agoImplement support for long GEP indices on 32-bit archs and support for
Chris Lattner [Fri, 7 Jan 2005 21:56:57 +0000 (21:56 +0000)]
Implement support for long GEP indices on 32-bit archs and support for
int GEP indices on 64-bit archs.

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

19 years agoSimplify: truncate ({zero|sign}_extend (X))
Chris Lattner [Fri, 7 Jan 2005 21:56:24 +0000 (21:56 +0000)]
Simplify: truncate ({zero|sign}_extend (X))

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

19 years agoimplement legalization of a bunch more operators.
Chris Lattner [Fri, 7 Jan 2005 21:45:56 +0000 (21:45 +0000)]
implement legalization of a bunch more operators.

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

19 years agoMake this test a bit more interesting by making there actually be a use of the
Chris Lattner [Fri, 7 Jan 2005 21:37:13 +0000 (21:37 +0000)]
Make this test a bit more interesting by making there actually be a use of the
PHI node.

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

19 years agoFix another bug legalizing calls!
Chris Lattner [Fri, 7 Jan 2005 21:35:32 +0000 (21:35 +0000)]
Fix another bug legalizing calls!

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

19 years agoFix handling of dead PHI nodes.
Chris Lattner [Fri, 7 Jan 2005 21:34:19 +0000 (21:34 +0000)]
Fix handling of dead PHI nodes.

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

19 years agoFix a bug legalizing calls
Chris Lattner [Fri, 7 Jan 2005 21:34:13 +0000 (21:34 +0000)]
Fix a bug legalizing calls

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

19 years agomodernize and clean up this test.
Chris Lattner [Fri, 7 Jan 2005 21:15:58 +0000 (21:15 +0000)]
modernize and clean up this test.

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

19 years agoAfter legalizing a DAG, delete dead nodes to save space.
Chris Lattner [Fri, 7 Jan 2005 21:09:37 +0000 (21:09 +0000)]
After legalizing a DAG, delete dead nodes to save space.

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

19 years agoImplement RemoveDeadNodes
Chris Lattner [Fri, 7 Jan 2005 21:09:16 +0000 (21:09 +0000)]
Implement RemoveDeadNodes

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

19 years agoAdd a new SelectionDAG::RemoveDeadNodes method
Chris Lattner [Fri, 7 Jan 2005 21:08:55 +0000 (21:08 +0000)]
Add a new SelectionDAG::RemoveDeadNodes method

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

19 years agoFix include. Too easy to make mistakes like this on Windows :(
Jeff Cohen [Fri, 7 Jan 2005 19:21:49 +0000 (19:21 +0000)]
Fix include.  Too easy to make mistakes like this on Windows :(

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

19 years agoRemove the open projects page from the docs directory.
Chris Lattner [Fri, 7 Jan 2005 18:57:33 +0000 (18:57 +0000)]
Remove the open projects page from the docs directory.

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

19 years agoCapitalize Bugpoint.
Misha Brukman [Fri, 7 Jan 2005 17:00:44 +0000 (17:00 +0000)]
Capitalize Bugpoint.

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

19 years agoGet new SelectionDAG stuff building with Visual Studio.
Jeff Cohen [Fri, 7 Jan 2005 15:52:36 +0000 (15:52 +0000)]
Get new SelectionDAG stuff building with Visual Studio.

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

19 years agoTeach legalize how to handle condbranches
Chris Lattner [Fri, 7 Jan 2005 08:19:42 +0000 (08:19 +0000)]
Teach legalize how to handle condbranches

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

19 years agoAdd a testcase I forgot to commit earlier.
Chris Lattner [Fri, 7 Jan 2005 07:56:08 +0000 (07:56 +0000)]
Add a testcase I forgot to commit earlier.

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

19 years agoX86 BE requires SelectionDAG
Chris Lattner [Fri, 7 Jan 2005 07:51:25 +0000 (07:51 +0000)]
X86 BE requires SelectionDAG

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

19 years agoX86 JIT requires the selection dag library.
Chris Lattner [Fri, 7 Jan 2005 07:51:11 +0000 (07:51 +0000)]
X86 JIT requires the selection dag library.

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

19 years agoAllow the selection-dag based selector to be diabled with -disable-pattern-isel.
Chris Lattner [Fri, 7 Jan 2005 07:50:50 +0000 (07:50 +0000)]
Allow the selection-dag based selector to be diabled with -disable-pattern-isel.

For now, this is the default, as the current selector is missing some big pieces.
To enable the new selector, pass -disable-pattern-isel=false to llc or lli.

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

19 years agoReimplementation of the X86 pattern isel. This is still missing many large
Chris Lattner [Fri, 7 Jan 2005 07:49:41 +0000 (07:49 +0000)]
Reimplementation of the X86 pattern isel.  This is still missing many large
pieces, but can already do amazing things in some cases.

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

19 years agoThis file is now dead.
Chris Lattner [Fri, 7 Jan 2005 07:49:05 +0000 (07:49 +0000)]
This file is now dead.

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

19 years agoAdd a new prototype
Chris Lattner [Fri, 7 Jan 2005 07:48:33 +0000 (07:48 +0000)]
Add a new prototype

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

19 years agoInitial implementation of the SelectionDAGISel class. This contains most
Chris Lattner [Fri, 7 Jan 2005 07:47:53 +0000 (07:47 +0000)]
Initial implementation of the SelectionDAGISel class.  This contains most
of the code for lowering from LLVM code to a SelectionDAG.

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

19 years agoThis file is obsolete
Chris Lattner [Fri, 7 Jan 2005 07:47:23 +0000 (07:47 +0000)]
This file is obsolete

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

19 years agoInitial implementation of the DAG legalization. This still has a long way
Chris Lattner [Fri, 7 Jan 2005 07:47:09 +0000 (07:47 +0000)]
Initial implementation of the DAG legalization. This still has a long way
to go, but it does work for some non-trivial cases now.

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

19 years agoBut not the identation of THAT line
Jeff Cohen [Fri, 7 Jan 2005 07:46:40 +0000 (07:46 +0000)]
But not the identation of THAT line

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

19 years agoComplete rewrite of the SelectionDAG class.
Chris Lattner [Fri, 7 Jan 2005 07:46:32 +0000 (07:46 +0000)]
Complete rewrite of the SelectionDAG class.

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

19 years agoCommon base class for SelectionDAG-based instruction selectors.
Chris Lattner [Fri, 7 Jan 2005 07:46:03 +0000 (07:46 +0000)]
Common base class for SelectionDAG-based instruction selectors.

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

19 years agoInitial implementation of the nodes in a SelectionDAG.
Chris Lattner [Fri, 7 Jan 2005 07:45:27 +0000 (07:45 +0000)]
Initial implementation of the nodes in a SelectionDAG.

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

19 years agoFirst draft of new Target interface
Chris Lattner [Fri, 7 Jan 2005 07:44:53 +0000 (07:44 +0000)]
First draft of new Target interface

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

19 years agoFirst draft of a new Target interface
Chris Lattner [Fri, 7 Jan 2005 07:44:22 +0000 (07:44 +0000)]
First draft of a new Target interface

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

19 years agoCorrect indentation levels
Jeff Cohen [Fri, 7 Jan 2005 07:44:02 +0000 (07:44 +0000)]
Correct indentation levels

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

19 years agoAdd convenience method.
Chris Lattner [Fri, 7 Jan 2005 07:40:32 +0000 (07:40 +0000)]
Add convenience method.

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

19 years agoConvert tabs to spaces
Misha Brukman [Fri, 7 Jan 2005 07:05:34 +0000 (07:05 +0000)]
Convert tabs to spaces

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

19 years agoAdd missing createXxxPass functions
Jeff Cohen [Fri, 7 Jan 2005 06:57:28 +0000 (06:57 +0000)]
Add missing createXxxPass functions

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

19 years agoRemove bogus project folder
Jeff Cohen [Fri, 7 Jan 2005 06:54:58 +0000 (06:54 +0000)]
Remove bogus project folder

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

19 years agoFix spelling.
Misha Brukman [Fri, 7 Jan 2005 06:45:07 +0000 (06:45 +0000)]
Fix spelling.

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

19 years agoUpdate list of passes
Jeff Cohen [Fri, 7 Jan 2005 06:12:41 +0000 (06:12 +0000)]
Update list of passes

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

19 years agoAdd missing include
Jeff Cohen [Fri, 7 Jan 2005 05:42:13 +0000 (05:42 +0000)]
Add missing include

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

19 years agoFix return type
Jeff Cohen [Fri, 7 Jan 2005 05:41:39 +0000 (05:41 +0000)]
Fix return type

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

19 years agoCodegen -1 and -0.0 more efficiently. This implements CodeGen/X86/negatize_zero.ll
Chris Lattner [Thu, 6 Jan 2005 21:19:16 +0000 (21:19 +0000)]
Codegen -1 and -0.0 more efficiently.  This implements CodeGen/X86/negatize_zero.ll

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

19 years agoNew testcase
Chris Lattner [Thu, 6 Jan 2005 21:18:53 +0000 (21:18 +0000)]
New testcase

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

19 years agoNo need to pessimize current code for future possibilities.
Chris Lattner [Thu, 6 Jan 2005 16:26:38 +0000 (16:26 +0000)]
No need to pessimize current code for future possibilities.

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

19 years agoGet the #ifdef right on LinkAllPasses.h.
Jeff Cohen [Thu, 6 Jan 2005 07:01:08 +0000 (07:01 +0000)]
Get the #ifdef right on LinkAllPasses.h.

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

19 years agoFix minor mistakes
Jeff Cohen [Thu, 6 Jan 2005 06:29:42 +0000 (06:29 +0000)]
Fix minor mistakes

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

19 years agoGet rid of those pesky tabs...
Jeff Cohen [Thu, 6 Jan 2005 06:06:35 +0000 (06:06 +0000)]
Get rid of those pesky tabs...

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

19 years agoAdd project opt to Visual Studio.
Jeff Cohen [Thu, 6 Jan 2005 06:02:53 +0000 (06:02 +0000)]
Add project opt to Visual Studio.

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

19 years agoPut createLoopUnswitchPass() into proper namespace
Jeff Cohen [Thu, 6 Jan 2005 05:47:18 +0000 (05:47 +0000)]
Put createLoopUnswitchPass() into proper namespace

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

19 years agoAdd missing include
Jeff Cohen [Thu, 6 Jan 2005 05:46:44 +0000 (05:46 +0000)]
Add missing include

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

19 years agoFix incorrect return type.
Jeff Cohen [Thu, 6 Jan 2005 05:45:45 +0000 (05:45 +0000)]
Fix incorrect return type.

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

19 years agoFix CBE code so that it compiles with VC++.
Jeff Cohen [Thu, 6 Jan 2005 04:21:49 +0000 (04:21 +0000)]
Fix CBE code so that it compiles with VC++.

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

19 years agoAdd required #include
Chris Lattner [Thu, 6 Jan 2005 03:25:27 +0000 (03:25 +0000)]
Add required #include

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

19 years agoAdd a useful method
Chris Lattner [Thu, 6 Jan 2005 03:23:59 +0000 (03:23 +0000)]
Add a useful method

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

19 years agoAdd a list end sentinal
Chris Lattner [Wed, 5 Jan 2005 22:14:14 +0000 (22:14 +0000)]
Add a list end sentinal

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

19 years agoAdd the SystemLibrary.html document now that its done.
Reid Spencer [Wed, 5 Jan 2005 19:01:20 +0000 (19:01 +0000)]
Add the SystemLibrary.html document now that its done.

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

19 years agoAdd a missing <div>
Reid Spencer [Wed, 5 Jan 2005 18:21:39 +0000 (18:21 +0000)]
Add a missing <div>

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

19 years agoBulk upgrade of this document. Cruft removed, new stuff added, general
Reid Spencer [Wed, 5 Jan 2005 18:17:10 +0000 (18:17 +0000)]
Bulk upgrade of this document. Cruft removed, new stuff added, general
reorganization of the content. This is now "done".

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

19 years agoThe Java project now lives under projects/llvm-java.
Alkis Evlogimenos [Wed, 5 Jan 2005 17:57:28 +0000 (17:57 +0000)]
The Java project now lives under projects/llvm-java.

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

19 years agoMake opt honor the quiet option when printing the bytecode warning.
Reid Spencer [Wed, 5 Jan 2005 17:31:55 +0000 (17:31 +0000)]
Make opt honor the quiet option when printing the bytecode warning.

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

19 years ago1. Make sure that "dot" can be found in the path
Reid Spencer [Wed, 5 Jan 2005 17:29:29 +0000 (17:29 +0000)]
1. Make sure that "dot" can be found in the path
2. Fix a bug where the lib directory specified also had to be cwd
3. Weight the output so archive->archive edges are shorter
4. Generate two different graphs: one for libraries, one for objects.
5. Adjust the properties of the graphs till it looks nice.

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