oota-llvm.git
19 years agoRemove use of Type::TypeTy which is no longer defined. This change needed
Reid Spencer [Sun, 4 Jul 2004 12:17:44 +0000 (12:17 +0000)]
Remove use of Type::TypeTy which is no longer defined. This change needed
for bug 122 since the "Type Type" concept is gone now.

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

19 years agoCorrect syntax typo .. ; -> :
Reid Spencer [Sun, 4 Jul 2004 12:15:11 +0000 (12:15 +0000)]
Correct syntax typo .. ; -> :

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

19 years ago- Changes for bug 122
Reid Spencer [Sun, 4 Jul 2004 12:14:17 +0000 (12:14 +0000)]
- Changes for bug 122
- Remove Tabs
- Add inserters  needed since Value doesn't implement them any more
- Move some functions here to avoid cyclic header file dependencies.

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

19 years ago- #include <iostream> since its not in Value.h any more.
Reid Spencer [Sun, 4 Jul 2004 11:55:37 +0000 (11:55 +0000)]
- #include <iostream> since its not in Value.h any more.

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

19 years agoConstify SymbolTable's use of Type* so that it never modifies them.
Reid Spencer [Sun, 4 Jul 2004 11:55:08 +0000 (11:55 +0000)]
Constify SymbolTable's use of Type* so that it never modifies them.

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

19 years ago- #include <iostream> since its not in Value.h any more.
Reid Spencer [Sun, 4 Jul 2004 11:52:49 +0000 (11:52 +0000)]
- #include <iostream> since its not in Value.h any more.
- constify use of Type* returned from symbol table.

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

19 years ago#include <iostream> since its not in Value.h any more.
Reid Spencer [Sun, 4 Jul 2004 11:51:24 +0000 (11:51 +0000)]
#include <iostream> since its not in Value.h any more.

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

19 years agoAdjust the slot machine to handle Types separately from Values. This was
Reid Spencer [Sun, 4 Jul 2004 11:50:43 +0000 (11:50 +0000)]
Adjust the slot machine to handle Types separately from Values. This was
done by doubling up the data structures so that Type based equivalents are
used. A consequence of this is overloading of function members that take a
Type* instead of a Value*. Various other cleanups related to Type != Value
(bug 122) were also implemented.

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

19 years agoImplementation of SlotTable went into header file. Note that this header
Reid Spencer [Sun, 4 Jul 2004 11:47:22 +0000 (11:47 +0000)]
Implementation of SlotTable went into header file. Note that this header
is currently not being used but is retained because it will be the basis
for a clean up of the SlotCalculator class.

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

19 years agoRemove Tabs.
Reid Spencer [Sun, 4 Jul 2004 11:46:15 +0000 (11:46 +0000)]
Remove Tabs.

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

19 years agoImplement new output functions for types and compacted type planes. Also
Reid Spencer [Sun, 4 Jul 2004 11:45:47 +0000 (11:45 +0000)]
Implement new output functions for types and compacted type planes. Also
remove use of Type::TypeTyID and Type::TypeTy since Type no longer inherits
Value.

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

19 years agoAdd new methods outputTypes and outputCompactionTypes for handling Types
Reid Spencer [Sun, 4 Jul 2004 11:44:27 +0000 (11:44 +0000)]
Add new methods outputTypes and outputCompactionTypes for handling Types
separately from Values. This needed for bug 122.

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

19 years agoFor bug 122:
Reid Spencer [Sun, 4 Jul 2004 11:42:49 +0000 (11:42 +0000)]
For bug 122:
Separate Types from Values because Type no longer inherits from Value. The
changes for this are too numerous to list. In essence, any data structure
that contained a Value was doubled so that Types could be contained
similarly. New members include Types, TypeMap, CompactionTypes, and
CompactionTypeMap. Functions taking a Value* were overloaded with a variant
that takes a Type* that acts on the new data structures.

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

19 years ago- Type::TypeTyID doesn't exist any more (bug 122)
Reid Spencer [Sun, 4 Jul 2004 11:37:54 +0000 (11:37 +0000)]
- Type::TypeTyID doesn't exist any more (bug 122)
- Types don't have names any more, just write them on ostream directly

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

19 years agoMove SlotCalculator.h to lib/Bytecode/Writer since that is the only place
Reid Spencer [Sun, 4 Jul 2004 11:36:31 +0000 (11:36 +0000)]
Move SlotCalculator.h to lib/Bytecode/Writer since that is the only place
that needs it after the Type != Value changes (bug 122).

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

19 years ago- Don't use macros to call the BytecodeHandler
Reid Spencer [Sun, 4 Jul 2004 11:33:49 +0000 (11:33 +0000)]
- Don't use macros to call the BytecodeHandler
- Don't use PARSE_ERROR macro unnecessarily (for simple strings)
- Add comments before each function
- Convert for bug 122 (Type != Value)
- Handle new value range on Type::PrimitiveTypeId enumeration by augmenting
  the reader with a new read_typeid method and sanitizeTypeId method.
- Remove BytecodeHandler's default method implementations to header file.

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

19 years agoMake all the virtual function (except destructor) inline so there are
Reid Spencer [Sun, 4 Jul 2004 11:29:56 +0000 (11:29 +0000)]
Make all the virtual function (except destructor) inline so there are
default implementations without taking up a ton of space in a .cpp file.

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

19 years ago- Make ValueList an "OtherVal" user of Values to ensure it doesn't get
Reid Spencer [Sun, 4 Jul 2004 11:04:56 +0000 (11:04 +0000)]
- Make ValueList an "OtherVal" user of Values to ensure it doesn't get
  mistaken for anything else.
- Move function descriptions to Reader.cpp file per Chris.
- Remove tabs.

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

19 years agoRemove tabs. Move function declaration to Reader.h where it belongs.
Reid Spencer [Sun, 4 Jul 2004 11:03:03 +0000 (11:03 +0000)]
Remove tabs. Move function declaration to Reader.h where it belongs.

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

19 years agoAdd #include <iostream> which is needed now that Value.h doesn't include it
Reid Spencer [Sun, 4 Jul 2004 11:01:27 +0000 (11:01 +0000)]
Add #include <iostream> which is needed now that Value.h doesn't include it

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

19 years agoExcise tabs.
Reid Spencer [Sun, 4 Jul 2004 11:00:39 +0000 (11:00 +0000)]
Excise tabs.

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

19 years agoAdd a new, compatible, interface function for writing types as operands.
Reid Spencer [Sun, 4 Jul 2004 10:59:05 +0000 (10:59 +0000)]
Add a new, compatible, interface function for writing types as operands.
This is necessary because Types are no longer Values.

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

19 years agoAdded #include <iostream> since this header is no longer picked up from
Reid Spencer [Sun, 4 Jul 2004 10:58:20 +0000 (10:58 +0000)]
Added #include <iostream> since this header is no longer picked up from
the Value.h header.

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

19 years ago- Remove enumerator TypeVal since Values can't be types any more
Reid Spencer [Sun, 4 Jul 2004 10:52:28 +0000 (10:52 +0000)]
- Remove enumerator TypeVal since Values can't be types any more
- Remove isa_impl relationship between Types and Values
- Add OtherVal so "other" users can interact with Values.

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

19 years agoThere is no longer a "Type" primitive type because Values and Types are
Reid Spencer [Sun, 4 Jul 2004 10:50:43 +0000 (10:50 +0000)]
There is no longer a "Type" primitive type because Values and Types are
now distinct.

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

19 years agoConstify usage of Type* on the interface to ensure SymbolTable doesn't
Reid Spencer [Sun, 4 Jul 2004 10:49:41 +0000 (10:49 +0000)]
Constify usage of Type* on the interface to ensure SymbolTable doesn't
modify types (it never should). Clean up some comments.

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

19 years agoRemove all of the classof(const Value*) methods of the derived types since
Reid Spencer [Sun, 4 Jul 2004 10:48:27 +0000 (10:48 +0000)]
Remove all of the classof(const Value*) methods of the derived types since
the Type base class no longer derives from Value.

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

19 years agoMake Type have no base classes. Previously it inherited Value. Also
Reid Spencer [Sun, 4 Jul 2004 10:46:49 +0000 (10:46 +0000)]
Make Type have no base classes. Previously it inherited Value. Also
removed the TypeTyID and TypeTy members so that the notion of the
"Type Type" is no longer present in LLVM. Various other adjustments
resulting from these changes were also made.

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

19 years agoAdd efficiency statistic.
Alkis Evlogimenos [Sun, 4 Jul 2004 07:59:06 +0000 (07:59 +0000)]
Add efficiency statistic.

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

19 years agoAdd more operators.
Alkis Evlogimenos [Sun, 4 Jul 2004 01:30:54 +0000 (01:30 +0000)]
Add more operators.

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

19 years agoFix compilation on internix
Chris Lattner [Sat, 3 Jul 2004 01:21:05 +0000 (01:21 +0000)]
Fix compilation on internix

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

19 years agoImplement add.ll:test22, a common case in MSIL files
Chris Lattner [Sat, 3 Jul 2004 00:26:11 +0000 (00:26 +0000)]
Implement add.ll:test22, a common case in MSIL files

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

19 years agoAdd a new testcase for folding an add into a switch
Chris Lattner [Sat, 3 Jul 2004 00:25:31 +0000 (00:25 +0000)]
Add a new testcase for folding an add into a switch

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

19 years agoFix Type::isSized() to realize that "{ opaque }" is not sized
Chris Lattner [Fri, 2 Jul 2004 23:20:17 +0000 (23:20 +0000)]
Fix Type::isSized() to realize that "{ opaque }" is not sized

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

19 years agoDo not call getTypeSize on a type that has no size
Chris Lattner [Fri, 2 Jul 2004 22:55:47 +0000 (22:55 +0000)]
Do not call getTypeSize on a type that has no size

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

19 years agoModernize example, so that you can paste it right into llvm-as
Brian Gaeke [Fri, 2 Jul 2004 21:08:14 +0000 (21:08 +0000)]
Modernize example, so that you can paste it right into llvm-as

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

19 years agoSince we are in the department of redundancy department, at least be correct
Chris Lattner [Fri, 2 Jul 2004 18:41:18 +0000 (18:41 +0000)]
Since we are in the department of redundancy department, at least be correct

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

19 years agoAdd FIXME notes for spilling int/fp regs (need to calculate stack space).
Misha Brukman [Fri, 2 Jul 2004 17:54:38 +0000 (17:54 +0000)]
Add FIXME notes for spilling int/fp regs (need to calculate stack space).

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

19 years ago* Wrap long lines
Misha Brukman [Fri, 2 Jul 2004 16:23:17 +0000 (16:23 +0000)]
* Wrap long lines
* Mention the HTML/man page output from single POD source file

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

19 years ago* Standardize manpage output: program name bold, options italic/emphasized
Misha Brukman [Fri, 2 Jul 2004 16:06:19 +0000 (16:06 +0000)]
* Standardize manpage output: program name bold, options italic/emphasized
* Make links in SEE ALSO section of manpages short without "the ... manpage"

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

19 years agoThe HTML documentation is now automatically generated from POD source.
Misha Brukman [Fri, 2 Jul 2004 15:48:33 +0000 (15:48 +0000)]
The HTML documentation is now automatically generated from POD source.

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

19 years ago* Link to the POD-generated HTML documentation
Misha Brukman [Fri, 2 Jul 2004 15:46:55 +0000 (15:46 +0000)]
* Link to the POD-generated HTML documentation
* Updated llvm-abcd to llvm-bcanalyzer

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

19 years agoMake `args' stand out as bold, delete confusing elipsis at the end of cmdline.
Misha Brukman [Fri, 2 Jul 2004 15:42:20 +0000 (15:42 +0000)]
Make `args' stand out as bold, delete confusing elipsis at the end of cmdline.

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

19 years agoHTML links in PODs must be absolute.
Misha Brukman [Fri, 2 Jul 2004 15:37:53 +0000 (15:37 +0000)]
HTML links in PODs must be absolute.

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

19 years agoSimplify wording: `the bugpoint tool' can just become `bugpoint'.
Misha Brukman [Fri, 2 Jul 2004 15:36:29 +0000 (15:36 +0000)]
Simplify wording: `the bugpoint tool' can just become `bugpoint'.

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

19 years agollvm-abcd has become llvm-bcanalyzer
Misha Brukman [Fri, 2 Jul 2004 15:32:49 +0000 (15:32 +0000)]
llvm-abcd has become llvm-bcanalyzer

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

19 years agoFix use-before-def thinko
Brian Gaeke [Fri, 2 Jul 2004 07:01:31 +0000 (07:01 +0000)]
Fix use-before-def thinko

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

19 years agoAdd a note about implementing interprocedural register allocation.
Reid Spencer [Fri, 2 Jul 2004 06:27:12 +0000 (06:27 +0000)]
Add a note about implementing interprocedural register allocation.

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

19 years agoBuild llvm-bcanalyzer
Brian Gaeke [Fri, 2 Jul 2004 05:59:20 +0000 (05:59 +0000)]
Build llvm-bcanalyzer

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

19 years agoRevert patches 1.79 and 1.80 which had to do with dead MBB's. Now that they
Chris Lattner [Fri, 2 Jul 2004 05:52:23 +0000 (05:52 +0000)]
Revert patches 1.79 and 1.80 which had to do with dead MBB's.  Now that they
don't exist, we don't have to pretend to handle them.

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

19 years agoFix potential problems with unreachable basic blocks.
Chris Lattner [Fri, 2 Jul 2004 05:49:11 +0000 (05:49 +0000)]
Fix potential problems with unreachable basic blocks.

Also, while noone's looking, add support for constant expressions.  Wait,
I said not to look!

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

19 years agoFix all of those problems that the PPC backend has running 176.gcc :)
Chris Lattner [Fri, 2 Jul 2004 05:48:42 +0000 (05:48 +0000)]
Fix all of those problems that the PPC backend has running 176.gcc :)

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

19 years agoRemove dead blocks
Chris Lattner [Fri, 2 Jul 2004 05:46:41 +0000 (05:46 +0000)]
Remove dead blocks

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

19 years agoAdd a trivially simple pass to delete unreachable blocks from the CFG. This
Chris Lattner [Fri, 2 Jul 2004 05:46:10 +0000 (05:46 +0000)]
Add a trivially simple pass to delete unreachable blocks from the CFG.  This
pass is required to paper over problems in the code generator (primarily
live variables and its clients) which doesn't really have any well defined
semantics for unreachable code.

The proper solution to this problem is to have instruction selectors not
select blocks that are unreachable.  Until we have a instruction selection
framework available for use, however, we can't expect all instruction
selector writers to do this.  Until then, this pass should be used.

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

19 years agoAdd a new pass for code generators to use
Chris Lattner [Fri, 2 Jul 2004 05:44:13 +0000 (05:44 +0000)]
Add a new pass for code generators to use

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

19 years agoMake this testcase more interesting
Chris Lattner [Fri, 2 Jul 2004 05:43:51 +0000 (05:43 +0000)]
Make this testcase more interesting

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

19 years agoGet rid of a dead variable, and fix a typo in a comment.
Brian Gaeke [Fri, 2 Jul 2004 05:30:01 +0000 (05:30 +0000)]
Get rid of a dead variable, and fix a typo in a comment.

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

19 years agoAdd M_TERMINATOR_FLAG to terminator instructions (branches and returns).
Brian Gaeke [Fri, 2 Jul 2004 04:57:37 +0000 (04:57 +0000)]
Add M_TERMINATOR_FLAG to terminator instructions (branches and returns).
Also, the RETURN instructions are not used in the sparcv9 backend.

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

19 years agoRETURN instructions are not used in the sparc backend.
Brian Gaeke [Fri, 2 Jul 2004 04:57:35 +0000 (04:57 +0000)]
RETURN instructions are not used in the sparc backend.
When in doubt, stamp it out!!

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

19 years agollvm-abcd tool name changed to llvm-bcanalyzer: see llvm-bcanalyzer.pod.
Reid Spencer [Fri, 2 Jul 2004 03:45:32 +0000 (03:45 +0000)]
llvm-abcd tool name changed to llvm-bcanalyzer: see llvm-bcanalyzer.pod.

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

19 years agoPodified documentation for the llvm-bcanalyzer tool (nee llvm-abcd).
Reid Spencer [Fri, 2 Jul 2004 03:44:14 +0000 (03:44 +0000)]
Podified documentation for the llvm-bcanalyzer tool (nee llvm-abcd).

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

19 years agoName Change: llvm-abcd -> llvm-bcanalyzer
Reid Spencer [Fri, 2 Jul 2004 03:22:53 +0000 (03:22 +0000)]
Name Change: llvm-abcd -> llvm-bcanalyzer

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

19 years ago* Follow the PowerPC convention of leaving 24 bytes for linking on the stack.
Misha Brukman [Thu, 1 Jul 2004 21:35:00 +0000 (21:35 +0000)]
* Follow the PowerPC convention of leaving 24 bytes for linking on the stack.
* Also leave space for spilling integer registers (this should be calculated)

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

19 years ago* Get rid of constant-expr handling code: we use the ConstantExpr lowering pass
Misha Brukman [Thu, 1 Jul 2004 21:34:10 +0000 (21:34 +0000)]
* Get rid of constant-expr handling code: we use the ConstantExpr lowering pass
* Use the SetCC handling code in the format of Brian's V8
* Add FIXMEs where calls to functions are being made without adding them to the
  Module first... they cause missing symbols at assembly-time.

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

19 years agoWrap long line
Misha Brukman [Thu, 1 Jul 2004 21:27:59 +0000 (21:27 +0000)]
Wrap long line

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

19 years ago* Do not allocate r0 as we use it indiscriminantly in the instr selector.
Misha Brukman [Thu, 1 Jul 2004 21:24:50 +0000 (21:24 +0000)]
* Do not allocate r0 as we use it indiscriminantly in the instr selector.
* Do not define CR register class because we don't (yet) have the i4 type

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

19 years agoCheck if operand has an allocated reg before requesting it.
Misha Brukman [Thu, 1 Jul 2004 21:09:12 +0000 (21:09 +0000)]
Check if operand has an allocated reg before requesting it.

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

19 years ago* Doxygenify comments
Misha Brukman [Thu, 1 Jul 2004 20:42:00 +0000 (20:42 +0000)]
* Doxygenify comments
* Tabs-to-spaces

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

19 years agoFix broken links
Chris Lattner [Thu, 1 Jul 2004 20:41:43 +0000 (20:41 +0000)]
Fix broken links

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

19 years agobug. point. pod.
Brian Gaeke [Thu, 1 Jul 2004 20:29:08 +0000 (20:29 +0000)]
bug. point. pod.

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

19 years agoAdd much better assertion checking for load and store insts.
Chris Lattner [Thu, 1 Jul 2004 20:23:52 +0000 (20:23 +0000)]
Add much better assertion checking for load and store insts.
Contributed by Vladimir Merzliakov!

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

19 years agoMove init methods out of line to enable better assertions, contributed
Chris Lattner [Thu, 1 Jul 2004 20:22:31 +0000 (20:22 +0000)]
Move init methods out of line to enable better assertions, contributed
by Vladimir Merzliakov!

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

19 years agobugpoint command guide has been designated a full-fledged "doc".
Brian Gaeke [Thu, 1 Jul 2004 20:10:40 +0000 (20:10 +0000)]
bugpoint command guide has been designated a full-fledged "doc".

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

19 years agoabcd pod document
Brian Gaeke [Thu, 1 Jul 2004 20:07:15 +0000 (20:07 +0000)]
abcd pod document

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

19 years agollvm-nm pod format man page.
Brian Gaeke [Thu, 1 Jul 2004 19:40:36 +0000 (19:40 +0000)]
llvm-nm pod format man page.

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

19 years agoMake this pass use a more specific debug message than "Processing:".
Brian Gaeke [Thu, 1 Jul 2004 19:27:10 +0000 (19:27 +0000)]
Make this pass use a more specific debug message than "Processing:".

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

19 years agoFix grammar: remove `our' as it no longer makes sense.
Misha Brukman [Thu, 1 Jul 2004 18:34:46 +0000 (18:34 +0000)]
Fix grammar: remove `our' as it no longer makes sense.

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

19 years agoThis is more of an "llvm team" thing by now
Chris Lattner [Thu, 1 Jul 2004 18:25:59 +0000 (18:25 +0000)]
This is more of an "llvm team" thing by now

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

19 years agollvm-db is in alpha stage, this document is a placeholder.
Misha Brukman [Thu, 1 Jul 2004 18:00:42 +0000 (18:00 +0000)]
llvm-db is in alpha stage, this document is a placeholder.

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

19 years agoFix links to llvmgcc and llvmgxx
Misha Brukman [Thu, 1 Jul 2004 17:59:53 +0000 (17:59 +0000)]
Fix links to llvmgcc and llvmgxx

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

19 years agogccld enters the Hall of POD.
Misha Brukman [Thu, 1 Jul 2004 17:53:27 +0000 (17:53 +0000)]
gccld enters the Hall of POD.

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

19 years agoMake the text of the link to llvmgxx.html more appropriate: `llvmg++'.
Misha Brukman [Thu, 1 Jul 2004 17:52:58 +0000 (17:52 +0000)]
Make the text of the link to llvmgxx.html more appropriate: `llvmg++'.

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

19 years agoHandle targets where alignment can be bigger than the size of the data.
Chris Lattner [Thu, 1 Jul 2004 17:32:59 +0000 (17:32 +0000)]
Handle targets where alignment can be bigger than the size of the data.
Contributed by Vladimir Prus!

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

19 years agoFix grammar in Stacker doc description.
Misha Brukman [Thu, 1 Jul 2004 17:20:53 +0000 (17:20 +0000)]
Fix grammar in Stacker doc description.

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

19 years agoMention llvm-abcd, point out difference between it and `analyze'.
Misha Brukman [Thu, 1 Jul 2004 16:59:05 +0000 (16:59 +0000)]
Mention llvm-abcd, point out difference between it and `analyze'.

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

19 years agoChange format of CommandGuide index page to look like other docs.
Misha Brukman [Thu, 1 Jul 2004 16:04:49 +0000 (16:04 +0000)]
Change format of CommandGuide index page to look like other docs.

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

19 years ago* `The' isn't necessary in front of LLVM
Misha Brukman [Thu, 1 Jul 2004 15:33:24 +0000 (15:33 +0000)]
* `The' isn't necessary in front of LLVM
* Wrap long line

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

19 years agoFresh from the LLVM baker's oven: opt and analyze pods.
Misha Brukman [Thu, 1 Jul 2004 15:25:04 +0000 (15:25 +0000)]
Fresh from the LLVM baker's oven: opt and analyze pods.

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

19 years agoAdd llvm-g++ and llvm-gcc pod documentation.
Misha Brukman [Thu, 1 Jul 2004 14:51:26 +0000 (14:51 +0000)]
Add llvm-g++ and llvm-gcc pod documentation.

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

19 years agoFix link to llvmgcc.
Misha Brukman [Thu, 1 Jul 2004 14:47:05 +0000 (14:47 +0000)]
Fix link to llvmgcc.

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

19 years agoMake links relative instead of absolute.
Misha Brukman [Thu, 1 Jul 2004 13:52:35 +0000 (13:52 +0000)]
Make links relative instead of absolute.

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

19 years agoMake sure that we destroy the MBB's, with all of their instructions, before
Chris Lattner [Thu, 1 Jul 2004 06:29:07 +0000 (06:29 +0000)]
Make sure that we destroy the MBB's, with all of their instructions, before
any other data structures

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

19 years agoNow that MachineFunction/MachineBasicBlock keep a mapping of blocks to ID #'s
Chris Lattner [Thu, 1 Jul 2004 06:15:32 +0000 (06:15 +0000)]
Now that MachineFunction/MachineBasicBlock keep a mapping of blocks to ID #'s
use them instead of a local LiveVariables numbering

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

19 years agoNow that we have happy mappings from MBBs->numbers, use them instead of keeping
Chris Lattner [Thu, 1 Jul 2004 06:14:57 +0000 (06:14 +0000)]
Now that we have happy mappings from MBBs->numbers, use them instead of keeping
a LV private map

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

19 years agoChange MBB autonumber a bit to get the reverse mapping as well as a forward
Chris Lattner [Thu, 1 Jul 2004 06:02:27 +0000 (06:02 +0000)]
Change MBB autonumber a bit to get the reverse mapping as well as a forward
mapping

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

19 years agoInstance var no longer exists
Chris Lattner [Thu, 1 Jul 2004 06:02:07 +0000 (06:02 +0000)]
Instance var no longer exists

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

19 years agoChange the implementation of the autonumbering for MBB's a bit to provide
Chris Lattner [Thu, 1 Jul 2004 06:01:36 +0000 (06:01 +0000)]
Change the implementation of the autonumbering for MBB's a bit to provide
the reverse mapping as well as the mapping from MBB->unsigned

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

19 years agoStart using MBB numbers directly instead of going through the live variables
Chris Lattner [Thu, 1 Jul 2004 04:29:47 +0000 (04:29 +0000)]
Start using MBB numbers directly instead of going through the live variables
map.

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

19 years agoInstead of building a private numbering of MBB's use brg's nifty auto-numbering.
Chris Lattner [Thu, 1 Jul 2004 04:24:29 +0000 (04:24 +0000)]
Instead of building a private numbering of MBB's use brg's nifty auto-numbering.
Also convert df_iterator -> df_ext_iterator for subsequent stuff I'm doing.

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

19 years agoFix testcase
Chris Lattner [Thu, 1 Jul 2004 04:11:35 +0000 (04:11 +0000)]
Fix testcase

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