Chris Lattner
4dd45ffdb6
Lots of minor cleanups and clarifications
...
llvm-svn: 13674
2004-05-23 21:06:58 +00:00
Chris Lattner
ed0ec7afbb
Remove implemented stuff
...
llvm-svn: 13673
2004-05-23 21:06:21 +00:00
Chris Lattner
757528b0b6
Describe the new garbage collector intrinsics
...
llvm-svn: 13672
2004-05-23 21:06:01 +00:00
Chris Lattner
411eba181a
Lots of minor fixes and formatting improvements
...
llvm-svn: 13671
2004-05-23 21:05:39 +00:00
Chris Lattner
1dab192f22
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. :)
llvm-svn: 13670
2004-05-23 21:05:07 +00:00
Chris Lattner
2a19d83689
Substantially expand and update the alias analysis documentation, including
...
adding blurbs about all of the implementations we have
llvm-svn: 13669
2004-05-23 21:04:01 +00:00
Chris Lattner
e25f4fffff
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. :)
llvm-svn: 13668
2004-05-23 21:03:30 +00:00
Chris Lattner
f689d57f0f
Add a new document describing the LLVM accurate garbage collection support.
...
llvm-svn: 13667
2004-05-23 21:02:20 +00:00
Chris Lattner
5758134505
Add a simple implementation of Andersen's interprocedural pointer analysis
...
llvm-svn: 13666
2004-05-23 21:00:47 +00:00
Tanya Lattner
9953d86e63
Fixed up my changes to add support for cloning Machine Instructions.
...
llvm-svn: 13665
2004-05-23 20:58:02 +00:00
Alkis Evlogimenos
ee4dcae9ba
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.
llvm-svn: 13664
2004-05-23 20:54:39 +00:00
Chris Lattner
23257069b6
Fix a couple misplaced div tags
...
llvm-svn: 13663
2004-05-23 20:42:08 +00:00
Chris Lattner
f45d23b85c
Revert back to the previous version, as it doesn't work with mozilla, and people REALLY CAN just click the link. :)
...
llvm-svn: 13662
2004-05-23 20:29:35 +00:00
Tanya Lattner
e6a4a7dbcf
Adding support to clone MachineInstr
...
llvm-svn: 13661
2004-05-23 19:35:12 +00:00
Reid Spencer
3e58f5880a
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.
llvm-svn: 13660
2004-05-23 17:23:13 +00:00
Reid Spencer
ac9cc8c82d
Make the file HTML 4.01 (Strict) clean.
...
llvm-svn: 13659
2004-05-23 17:12:45 +00:00
Reid Spencer
eca340ba12
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.
llvm-svn: 13658
2004-05-23 17:05:09 +00:00
Alkis Evlogimenos
22acc1268d
Put back the inlined bug list. Use the OBJECT tag to make it HTML-4.01
...
(Strict)-compliant.
llvm-svn: 13655
2004-05-23 11:10:55 +00:00
Vikram S. Adve
189d626ad6
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).
llvm-svn: 13651
2004-05-23 08:05:14 +00:00
Vikram S. Adve
16f29f349d
Add getCaller() method.
...
llvm-svn: 13650
2004-05-23 08:02:45 +00:00
Vikram S. Adve
159ed21b67
Inline both direct and indirect callees in the CBU phase because
...
a direct callee may have indirect callees and so may have changed.
llvm-svn: 13649
2004-05-23 08:00:34 +00:00
Vikram S. Adve
c5e27638dd
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.
llvm-svn: 13645
2004-05-23 07:54:02 +00:00
Vikram S. Adve
f44d32d9e2
Fix size/offset assertion to allow negative offsets and folded nodes.
...
llvm-svn: 13644
2004-05-23 07:34:53 +00:00
Brian Gaeke
d4889be5ca
Fix a typo in a comment.
...
llvm-svn: 13643
2004-05-23 05:10:06 +00:00
Brian Gaeke
74b08516e9
Fix a typo in the head-of-file comment.
...
Rewrite the comments about the different versions of BuildMI, to
better emphasize their differences.
llvm-svn: 13642
2004-05-23 05:04:00 +00:00
Reid Spencer
257dbb00fe
Some additional data added to the bytecode specification.
...
llvm-svn: 13626
2004-05-22 05:56:41 +00:00
Reid Spencer
9acd412316
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.
llvm-svn: 13625
2004-05-22 02:28:36 +00:00
Reid Spencer
deea18188e
Removed the 64-bit fix from the "to do" list since the bug is fixed.
...
llvm-svn: 13624
2004-05-22 01:04:19 +00:00
Misha Brukman
144c77b515
Pass the Makefile flags to recursive makes in {PARALLEL,OPTIONAL}_DIRS targets.
...
llvm-svn: 13623
2004-05-21 23:21:11 +00:00
Chris Lattner
37c653a28e
It's not clear to me whether the old version was correct C++ code, but in
...
any case it's not portable.
llvm-svn: 13621
2004-05-21 18:38:16 +00:00
Chris Lattner
54291f6005
Starting an identifier with an _ is not legal C/C++ code.
...
llvm-svn: 13620
2004-05-21 18:37:13 +00:00
Chris Lattner
8f7cf27241
Bug fixed
...
llvm-svn: 13619
2004-05-21 16:48:20 +00:00
Chris Lattner
ab5aa14403
Fix for PR340: Verifier misses malformed switch instruction
...
llvm-svn: 13618
2004-05-21 16:47:21 +00:00
Chris Lattner
6041fee872
Testcase for PR340: Verifier misses malformed switch instruction
...
This testcase was reduced by John, thanks!
llvm-svn: 13617
2004-05-21 16:47:02 +00:00
Misha Brukman
3e810058a7
Pass given flags on to recursive sub-makes.
...
llvm-svn: 13616
2004-05-21 00:09:21 +00:00
Alkis Evlogimenos
e716bafbc8
Change DEPRECATED macro to ATTR_DEPRECATED as this conflicts with some
...
java constants.
llvm-svn: 13611
2004-05-20 21:31:43 +00:00
Chris Lattner
83c139d575
Fix to make the CBE always emit comparisons inline. Hopefully this will
...
fix the really bad code we're getting on PPC.
llvm-svn: 13609
2004-05-20 20:25:50 +00:00
Brian Gaeke
7b7a14d718
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.)
llvm-svn: 13608
2004-05-20 07:43:40 +00:00
Brian Gaeke
e8949b3083
Minor simplification: eliminate a dyn_cast.
...
Fix a typo in a debug message.
llvm-svn: 13607
2004-05-19 21:30:01 +00:00
Misha Brukman
bd094e73d2
Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.
...
llvm-svn: 13606
2004-05-19 21:20:40 +00:00
Alkis Evlogimenos
c5bd926a62
Declare function defined in namespace llvm as gcc-3.4 doesn't accept a definition in a namespace of a non-declared function.
...
llvm-svn: 13602
2004-05-19 19:17:48 +00:00
Brian Gaeke
72185765bc
Add CloneTraceInto(), which is based on (and has mostly the same
...
effects as) CloneFunctionInto().
llvm-svn: 13601
2004-05-19 09:08:14 +00:00
Brian Gaeke
6182acf92a
Move RemapInstruction() to ValueMapper, so that it can be shared with
...
CloneTrace, and because it is primarily an operation on ValueMaps. It
is now a global (non-static) function which can be pulled in using
ValueMapper.h.
llvm-svn: 13600
2004-05-19 09:08:12 +00:00
Misha Brukman
926e0f9eef
Minor aesthetic alignments; no functional changes.
...
llvm-svn: 13593
2004-05-17 22:28:21 +00:00
Misha Brukman
40c6d6d307
* Minor aesthetic alignment of iterator declarations
...
* Removed redundant function comments
llvm-svn: 13592
2004-05-17 22:25:12 +00:00
Brian Gaeke
fced05bd44
Define erase forwarding method on traces
...
llvm-svn: 13591
2004-05-17 21:17:21 +00:00
Brian Gaeke
e8a6bf3d21
Fold two assertions with backwards error messages into one with a
...
correct error message.
llvm-svn: 13590
2004-05-17 21:15:18 +00:00
Brian Gaeke
27e4943516
Clean up this pass somewhat:
...
Add better comments, including a better head-of-file comment.
Prune #includes.
Fix a FIXME that Chris put here by using doInitialization().
Use DEBUG() to print out debug msgs.
Give names to basic blocks inserted by this pass.
Expand tabs.
Use InsertProfilingInitCall() from ProfilingUtils to insert the initialize call.
llvm-svn: 13581
2004-05-14 21:21:52 +00:00
Misha Brukman
7e39a19ecb
Rename "User's Guide" to "Command Guide" to be consistent with current scheme.
...
llvm-svn: 13580
2004-05-14 20:29:11 +00:00
Misha Brukman
0dbe2acf5f
Ignore generated ps files.
...
llvm-svn: 13579
2004-05-14 20:26:45 +00:00