Commit Graph

55 Commits

Author SHA1 Message Date
Dan Gohman
03e585737b Fix an error in the two-address example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52253 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-13 17:55:57 +00:00
Duncan Sands
83ec4b6711 Wrap MVT::ValueType in a struct to get type safety
and better control the abstraction.  Rename the type
to MVT.  To update out-of-tree patches, the main
thing to do is to rename MVT::ValueType to MVT, and
rewrite expressions like MVT::getSizeInBits(VT) in
the form VT.getSizeInBits().  Use VT.getSimpleVT()
to extract a MVT::SimpleValueType for use in switch
statements (you will get an assert failure if VT is
an extended value type - these shouldn't exist after
type legalization).
This results in a small speedup of codegen and no
new testsuite failures (x86-64 linux).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52044 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-06 12:08:01 +00:00
Matthijs Kooijman
61399af13f Fix example to be valid LLVM assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51942 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-04 15:46:35 +00:00
Arnold Schwaighofer
9097d14e57 Add documentation for tail call optimization to CodeGenerator.html. Add a link
referring to it to LangRef.html.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51097 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-14 09:17:12 +00:00
Dan Gohman
6f0d024a53 Rename MRegisterInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46930 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-10 18:45:23 +00:00
Chris Lattner
534bcfb270 update a couple of references to SSARegMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45468 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-31 04:16:08 +00:00
Dan Gohman
fd80072059 Make it more clear that some things that can't be done in .td files can
still be done in the LLVM code generator. And update the summary for the
X86 target.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45013 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13 20:43:47 +00:00
Dan Gohman
e9bb13d494 Document the -view-sunit-dags option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43015 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-15 21:07:59 +00:00
Evan Cheng
7794935327 LLVM does not use the old style simple isel any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42758 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-08 17:54:24 +00:00
Gabor Greif
04367bfc20 first pass of nomenclature changes in .html files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-06 22:07:22 +00:00
Jim Laskey
d201f4ed62 Adding credit for PPC changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35101 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-14 19:30:33 +00:00
Jim Laskey
b744c256e6 Pass html validation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32598 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-15 10:40:48 +00:00
Jim Laskey
762b6cbd7b Start of PowerPC info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32578 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-14 17:19:50 +00:00
Bill Wendling
82e2eea168 Clean-up of formatting and spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30885 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 18:00:22 +00:00
Bill Wendling
3cd5ca6c72 Put code example inside of "doc_code" divisions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30876 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 06:30:10 +00:00
Anton Korobeynikov
bcb9770efe Added some eye-candy for Subtarget type checking
Added X86 StdCall & FastCall calling conventions. Codegen will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-17 20:25:45 +00:00
Bill Wendling
41b3252e79 *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30145 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-07 08:39:35 +00:00
Bill Wendling
bd0d7b53a2 Fixed my rotten Engrish grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30144 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-07 08:36:28 +00:00
Bill Wendling
3fc488d0ce Cleaned up some of the grammar in the Live Intervals section. Removed the
huge honking FIXME comment. I'll address the "Live Intervals Analysis"
section soon.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30129 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-06 18:42:41 +00:00
Bill Wendling
2f87a883b8 First draft of the "Live Interval Analysis" section. This is the "Live
Variable Analysis" pass.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30106 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-04 23:35:52 +00:00
Bill Wendling
bf77441605 Fixed formatting problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30033 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-01 21:47:10 +00:00
Bill Wendling
a396ee8e17 Added documentation Fernando Magno Quintao Pereira wrote for the register
allocator. (First draft)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30031 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-01 21:46:00 +00:00
Bill Wendling
1644877280 Spell naively with the i-Umlaut...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29939 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-28 03:04:05 +00:00
Bill Wendling
546c421c1d Messed up and put a "To be written" in a section that was written.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29938 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-28 02:57:41 +00:00
Bill Wendling
91e10c42ea Added some preliminary text to the TargetJITInfo class section.
Fixed some inconsistencies with format. Corrected some of the text.
Put code inside of "code" div tags.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29937 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-28 02:26:32 +00:00
Chris Lattner
2a60703cb7 Remove V9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27886 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:42:23 +00:00
Reid Spencer
05fe4b0256 Changes docs for llvm.cs.uiuc.edu -> llvm.org
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26746 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 05:39:39 +00:00
Jeff Cohen
0b81cdae50 Fix spelling of 'separate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23971 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 16:54:55 +00:00
Chris Lattner
a1ff93159a Apparently, people object to floating pointers. Picky picky.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23770 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 15:19:24 +00:00
Jim Laskey
82d61a18d5 As requested, a blurb on sub-targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23769 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 12:19:10 +00:00
Chris Lattner
7d6915cf43 fix some grammar-o's I noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23768 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 04:18:41 +00:00
Chris Lattner
c38959ff77 Feedback from Nate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23767 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 03:09:31 +00:00
Chris Lattner
df921f0709 Document -view-isel-dags and -view-sched-dags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23766 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 01:40:33 +00:00
Chris Lattner
7a025c8b4d Add a bunch of info about the isel autogenerator. Review appreciated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23763 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-16 20:02:19 +00:00
Chris Lattner
32e89f2b92 Fill this out some more. Add description of MBB/MF. Fix some broken links,
turn some broken <a name> into <a href>'s.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23762 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-16 18:31:08 +00:00
Chris Lattner
47adebb3e3 Add a stub for the TargetSubtarget class. Jim, please fill a blurb in here
when you get a chance.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23761 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-16 17:06:07 +00:00
Chris Lattner
e35d3bb84e update this a little bit to talk about the dag combiner and remove inaccuracies.
This still doesn't talk about autogen much


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23757 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-16 00:36:38 +00:00
Chris Lattner
88a06d2e3e Update the discussion of TargetRegisterDesc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23563 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-30 17:46:55 +00:00
Chris Lattner
a307978610 remove some sparc-v9-specific information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22467 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-19 03:37:48 +00:00
Reid Spencer
627cd0005c Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22466 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-19 01:36:35 +00:00
Chris Lattner
9b988be187 add a note so I can remember the common t-t's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22386 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-12 00:20:49 +00:00
Chris Lattner
e0c1317f8a Fix bug noticed by Tzu-Chien Chiu, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21815 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-09 15:41:03 +00:00
Chris Lattner
fd84c2d89c fix some bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21515 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-25 00:38:52 +00:00
Reid Spencer
ad1f0cd0cc Make this readable for newbies and those who can only understand one set of
grammar rules for the English language.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21503 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-24 20:56:18 +00:00
Misha Brukman
600df458ff Remove colloquialisms from the documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20233 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-17 22:22:24 +00:00
Chris Lattner
aa5bcb526b Add some initial documentation for the SelectionDAG based instruction selectors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19872 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-28 17:22:53 +00:00
John Criswell
82bd0c51d7 Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18455 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 15:59:26 +00:00
Reid Spencer
bdbcb8a260 Fix a few typos, spellos, grammaros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14043 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-05 14:39:24 +00:00
Chris Lattner
0ccf5496a9 Fix extraneous tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14008 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:40:53 +00:00
Chris Lattner
ec94f80b07 Fix PR356: [doc] lib/Target/X86/README.txt needs update
Also add some documentation about how instructions work


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14006 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:16:02 +00:00