Reid Spencer [Tue, 25 May 2004 08:52:42 +0000 (08:52 +0000)]
Completely rewrote the class. SymbolTable now separates Type* from Value* in preparation\
for making Type not derive from Value. There are now separate interfaces \
for looking up, finding, and inserting Types and Values. There are also \
three separate iterator interfaces, one for type planes, one for the types \
(type type plane), and one for values within a type plane. See the \
documentation in the Header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13752
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:52:20 +0000 (08:52 +0000)]
Convert to SymbolTable's new lookup and iteration interfaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13751
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:51:36 +0000 (08:51 +0000)]
Remove unused header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13750
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:51:25 +0000 (08:51 +0000)]
Make this pass simply invoke SymbolTable::strip().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13749
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:50:52 +0000 (08:50 +0000)]
Remove use of Type::TypeTy from an assert. It will go away soon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13748
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:46:15 +0000 (08:46 +0000)]
Get rid of a wart: useless getFILE function is now a cast macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13747
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:46:04 +0000 (08:46 +0000)]
Give Type its own dump() method in preparation for Type != Value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13746
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:45:53 +0000 (08:45 +0000)]
Completely rewrote the class. SymbolTable now separates Type* from Value* in preparation\
for making Type not derive from Value. There are now separate interfaces \
for looking up, finding, and inserting Types and Values. There are also \
three separate iterator interfaces, one for type planes, one for the types \
(type type plane), and one for values within a type plane. See the \
documentation in the Header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13745
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:45:42 +0000 (08:45 +0000)]
Convert dump() method to call Type::dump() instead of Value::dump().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13744
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 25 May 2004 08:45:31 +0000 (08:45 +0000)]
Fix a small typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13743
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 25 May 2004 08:14:52 +0000 (08:14 +0000)]
Recognize memalign and friends, and handle them specially.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13741
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 06:32:08 +0000 (06:32 +0000)]
Implement InstCombine:shift.ll:test16, which turns (X >> C1) & C2 != C3
into (X & (C2 << C1)) != (C3 << C1), where the shift may be either left or
right and the compare may be any one.
This triggers 1546 times in 176.gcc alone, as it is a common pattern that
occurs for bitfield accesses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13740
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 06:30:49 +0000 (06:30 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13739
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 05:32:43 +0000 (05:32 +0000)]
Implement some helpers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13738
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 05:32:13 +0000 (05:32 +0000)]
Add some helpers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 04:29:21 +0000 (04:29 +0000)]
Implement instcombine/cast.ll:test16:
Canonicalize cast X to bool into a setne instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13736
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 May 2004 04:28:43 +0000 (04:28 +0000)]
Add a new test16 and fix some other tests that were not properly written
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13735
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 18:05:58 +0000 (18:05 +0000)]
Make doc_code shrink-to-fit. This only works in mozilla, but it doesn't
hurt legibility on IE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13720
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 24 May 2004 07:14:35 +0000 (07:14 +0000)]
Moved MachineBasicBlock deconstructor to cpp file and removed it from LeakDetector to fix memory leak bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13718
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 06:24:46 +0000 (06:24 +0000)]
Fix a bug in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13717
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 24 May 2004 06:11:51 +0000 (06:11 +0000)]
Added MachineFunction parent* to MachineBasicBlock. Customized ilist template
to set the parent when a MachineBasicBlock is added to a MachineFunction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13716
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 05:35:17 +0000 (05:35 +0000)]
Lots of minor typo fixes, some minor inaccuracies fixed, and some new material.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13715
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 05:34:32 +0000 (05:34 +0000)]
new feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13714
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:55:32 +0000 (04:55 +0000)]
Fix a couple of busted li's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13713
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:54:31 +0000 (04:54 +0000)]
Add a todo to make it clear that the section is not done
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13712
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:53:32 +0000 (04:53 +0000)]
Personally, I think that documentation is as important as code. Increase
the visibility of dox changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13711
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:50:25 +0000 (04:50 +0000)]
Fix a div problem that was causing some wierd indentation. Get more div'y
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13710
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:45:52 +0000 (04:45 +0000)]
Add some notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13709
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 04:43:49 +0000 (04:43 +0000)]
Add a link to the GC doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13708
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 May 2004 03:44:52 +0000 (03:44 +0000)]
Eliminate an explicit use of the LLVM basic block, using getParent instead,
which simplifies the code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13707
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 24 May 2004 03:14:18 +0000 (03:14 +0000)]
Changed clone to be const.
Changed copy constructor to set parent, prev, and next pointers to null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13706
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 23 May 2004 23:02:35 +0000 (23:02 +0000)]
Eliminate warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13704
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:31:00 +0000 (21:31 +0000)]
Testcases for andersen's alias analysis.
I think this is all of the stuff I had pending in my tree..
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13703
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:27:29 +0000 (21:27 +0000)]
Spelling people's names right is kinda important
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13702
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:26:29 +0000 (21:26 +0000)]
Build the garbage collectors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13701
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:25:59 +0000 (21:25 +0000)]
Initial checkin of GC implementation support files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13700
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 23 May 2004 21:25:50 +0000 (21:25 +0000)]
Create a new style for tables that have no width (.doc_table_nw) so the
table doesn't stretch across the whole page. Change for BytecodeFormat.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13699
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:25:45 +0000 (21:25 +0000)]
Check in an EARLY START on a simple copying collector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13698
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:24:50 +0000 (21:24 +0000)]
Add a simple testcase for garbage collection support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13697
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:23:35 +0000 (21:23 +0000)]
Add support for accurate garbage collection to the LLVM code generators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13696
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:23:12 +0000 (21:23 +0000)]
Add some notes to myself, no functional changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13695
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:22:55 +0000 (21:22 +0000)]
minor wording change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13694
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:22:17 +0000 (21:22 +0000)]
Fix cases where we missed inlining some more obvious candidates because the
caller was in an SCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13693
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:21:35 +0000 (21:21 +0000)]
Simplify the interface and remove an unneeded #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13692
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:21:17 +0000 (21:21 +0000)]
Fairly substantial changes to update the alias analysis we are querying as
we make the transformation. This allows us to use interprocedural alias
analyses successfully.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13691
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:20:19 +0000 (21:20 +0000)]
Adjust to the changes in the AliasSetTracker interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13690
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:19:55 +0000 (21:19 +0000)]
Add support for replacement of formal arguments with simpler expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13689
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:19:22 +0000 (21:19 +0000)]
Implement the -lowergc pass which is used by code generators (like the CBE)
that do not have builtin support for garbage collection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13688
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:16:51 +0000 (21:16 +0000)]
Recognize and verify the new GC intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13687
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:16:33 +0000 (21:16 +0000)]
Add the new GC intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13686
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:16:13 +0000 (21:16 +0000)]
Add a new prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:15:48 +0000 (21:15 +0000)]
Changes to work with the changes to the AliasAnalysis interface. The -no-aa
class is now in the BasicAliasAnalysis.cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13684
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:15:12 +0000 (21:15 +0000)]
Move the -no-aa AA implementation into this file since both of these
alias analysis implementations are special: they do not autoforward to a
chained implementation of alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13683
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:14:27 +0000 (21:14 +0000)]
Updates to work with the new auto-forwarding AA interface changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13682
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:14:09 +0000 (21:14 +0000)]
Fix a really nasty bug with the -disable-ds-field-sensitivity option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13681
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:13:51 +0000 (21:13 +0000)]
Update to match the autochaining interface that the AA interface uses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13680
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:13:24 +0000 (21:13 +0000)]
Implement the interfaces to update value numbering information. Add an
assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13679
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:12:38 +0000 (21:12 +0000)]
Several *major* changes to the AA interfaces:
1. Provide interfaces so that clients can update alias analyses to reflect
the changes made by the transformations.
2. Change how alias analysis implementations work overall. In particular,
now clients will automatically forward to chained AA implementations: they
don't have to remember to do it themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13678
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:11:17 +0000 (21:11 +0000)]
Add interfaces to update value numbering results
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13677
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:10:58 +0000 (21:10 +0000)]
Rename a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13676
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:07:27 +0000 (21:07 +0000)]
Make use of the new doc_author class. "Seperate content from presentation" they said.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13675
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:06:58 +0000 (21:06 +0000)]
Lots of minor cleanups and clarifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13674
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:06:21 +0000 (21:06 +0000)]
Remove implemented stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13673
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:06:01 +0000 (21:06 +0000)]
Describe the new garbage collector intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13672
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:05:39 +0000 (21:05 +0000)]
Lots of minor fixes and formatting improvements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13671
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:05:07 +0000 (21:05 +0000)]
Update the coding standards, removign the bit about avoiding exceptions and
rtti (they shouldn't be used in the main compiler, but that's because
optimizations aren't allowed to fail!)
Remove the big section about iterators, because people who do not know what
they are doing shouldn't be writing them. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13670
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:04:01 +0000 (21:04 +0000)]
Substantially expand and update the alias analysis documentation, including
adding blurbs about all of the implementations we have
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13669
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:03:30 +0000 (21:03 +0000)]
Various changes to make the docs look nicer. Add a new doc_author class.
The one thing that someone (misha?) should look at is fixing doc_code so that it sizes to fit the code instead of going to the right margin all of the way. Fixing it at a particular number of pixels was just wrong. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13668
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:02:20 +0000 (21:02 +0000)]
Add a new document describing the LLVM accurate garbage collection support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13667
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 21:00:47 +0000 (21:00 +0000)]
Add a simple implementation of Andersen's interprocedural pointer analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13666
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 23 May 2004 20:58:02 +0000 (20:58 +0000)]
Fixed up my changes to add support for cloning Machine Instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13665
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 23 May 2004 20:54:39 +0000 (20:54 +0000)]
Remove virtual destructor from InstVisitor. This class should never be
used through a base pointer/reference so inproper destruction should
never be an issue. Removing this last virtual function also saves 4
bytes off each InstVisitor instance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13664
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 20:42:08 +0000 (20:42 +0000)]
Fix a couple misplaced div tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13663
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 May 2004 20:29:35 +0000 (20:29 +0000)]
Revert back to the previous version, as it doesn't work with mozilla, and people REALLY CAN just click the link. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13662
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 23 May 2004 19:35:12 +0000 (19:35 +0000)]
Adding support to clone MachineInstr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13661
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 23 May 2004 17:23:13 +0000 (17:23 +0000)]
Added a "Miscellaneous Improvements" section to cover things like the
Bytecode File Format documentation, getting all documents in HTML 4.01
(Strict) compliance, and any other minor improvement that shoud be noted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13660
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 23 May 2004 17:12:45 +0000 (17:12 +0000)]
Make the file HTML 4.01 (Strict) clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13659
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 23 May 2004 17:05:09 +0000 (17:05 +0000)]
Additional content describing variable bit rate encoding, correcting the
definition of the signature block and module block, and adding definitions
of the global type pool and symbol table. More still to come.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13658
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 23 May 2004 11:10:55 +0000 (11:10 +0000)]
Put back the inlined bug list. Use the OBJECT tag to make it HTML-4.01
(Strict)-compliant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13655
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 23 May 2004 08:05:14 +0000 (08:05 +0000)]
Remember the set of leaders. Also compute on demand and cache the equiv
class for each leader. Finally, rename Elem2ECLeaderMap to Elem2LeaderMap
(most of the changed lines are only due to the latter).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13651
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 23 May 2004 08:02:45 +0000 (08:02 +0000)]
Add getCaller() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13650
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 23 May 2004 08:00:34 +0000 (08:00 +0000)]
Inline both direct and indirect callees in the CBU phase because
a direct callee may have indirect callees and so may have changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13649
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 23 May 2004 07:54:02 +0000 (07:54 +0000)]
Complete rewrite of the code that merges DS graphs for equivalence classes
of functions called at a common call site. The rewrite inlines the
resulting graphs bottom-up on the SCCs of the CBU call graph. It also
simplifies the merging of equivalence classes by exploiting the fact that
functions in non-trivial SCCs are already merged.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13645
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 23 May 2004 07:34:53 +0000 (07:34 +0000)]
Fix size/offset assertion to allow negative offsets and folded nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13644
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 23 May 2004 05:10:06 +0000 (05:10 +0000)]
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13643
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 23 May 2004 05:04:00 +0000 (05:04 +0000)]
Fix a typo in the head-of-file comment.
Rewrite the comments about the different versions of BuildMI, to
better emphasize their differences.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13642
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 22 May 2004 05:56:41 +0000 (05:56 +0000)]
Some additional data added to the bytecode specification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13626
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 22 May 2004 02:28:36 +0000 (02:28 +0000)]
Added an initial template/overview for documentation of the LLVM Bytecode
file format. This format is being extracted from the source code and the
small recesses of Chris' brain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13625
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 22 May 2004 01:04:19 +0000 (01:04 +0000)]
Removed the 64-bit fix from the "to do" list since the bug is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13624
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 21 May 2004 23:21:11 +0000 (23:21 +0000)]
Pass the Makefile flags to recursive makes in {PARALLEL,OPTIONAL}_DIRS targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13623
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 May 2004 18:38:16 +0000 (18:38 +0000)]
It's not clear to me whether the old version was correct C++ code, but in
any case it's not portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13621
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 May 2004 18:37:13 +0000 (18:37 +0000)]
Starting an identifier with an _ is not legal C/C++ code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13620
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 May 2004 16:48:20 +0000 (16:48 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13619
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 May 2004 16:47:21 +0000 (16:47 +0000)]
Fix for PR340: Verifier misses malformed switch instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13618
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 May 2004 16:47:02 +0000 (16:47 +0000)]
Testcase for PR340: Verifier misses malformed switch instruction
This testcase was reduced by John, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13617
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 21 May 2004 00:09:21 +0000 (00:09 +0000)]
Pass given flags on to recursive sub-makes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13616
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Thu, 20 May 2004 21:31:43 +0000 (21:31 +0000)]
Change DEPRECATED macro to ATTR_DEPRECATED as this conflicts with some
java constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13611
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 May 2004 20:25:50 +0000 (20:25 +0000)]
Fix to make the CBE always emit comparisons inline. Hopefully this will
fix the really bad code we're getting on PPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13609
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 20 May 2004 07:43:40 +0000 (07:43 +0000)]
Fix a bug in outputting branches to constant PCs. Since the PC is supplied as
a full 64-bit address, it must be adjusted to fit in the branch instruction's
immediate field. (This is only used in the reoptimizer, for now.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13608
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 19 May 2004 21:30:01 +0000 (21:30 +0000)]
Minor simplification: eliminate a dyn_cast.
Fix a typo in a debug message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13607
91177308-0d34-0410-b5e6-
96231b3b80d8