Commit Graph

54 Commits

Author SHA1 Message Date
Duncan Sands
d634afe3aa 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).

llvm-svn: 52044
2008-06-06 12:08:01 +00:00
Matthijs Kooijman
1923146775 Fix example to be valid LLVM assembly.
llvm-svn: 51942
2008-06-04 15:46:35 +00:00
Arnold Schwaighofer
ee9e46e049 Add documentation for tail call optimization to CodeGenerator.html. Add a link
referring to it to LangRef.html.

llvm-svn: 51097
2008-05-14 09:17:12 +00:00
Dan Gohman
cabaec582f Rename MRegisterInfo to TargetRegisterInfo.
llvm-svn: 46930
2008-02-10 18:45:23 +00:00
Chris Lattner
de54e62962 update a couple of references to SSARegMap.
llvm-svn: 45468
2007-12-31 04:16:08 +00:00
Dan Gohman
19c41221cc 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.

llvm-svn: 45013
2007-12-13 20:43:47 +00:00
Dan Gohman
e5052584b5 Document the -view-sunit-dags option.
llvm-svn: 43015
2007-10-15 21:07:59 +00:00
Evan Cheng
9eb57bc1d0 LLVM does not use the old style simple isel any more.
llvm-svn: 42758
2007-10-08 17:54:24 +00:00
Gabor Greif
f8138f9cb9 first pass of nomenclature changes in .html files
llvm-svn: 37956
2007-07-06 22:07:22 +00:00
Jim Laskey
fd20d94dda Adding credit for PPC changes.
llvm-svn: 35101
2007-03-14 19:30:33 +00:00
Jim Laskey
484fae3d46 Pass html validation.
llvm-svn: 32598
2006-12-15 10:40:48 +00:00
Jim Laskey
7ba38e29d8 Start of PowerPC info.
llvm-svn: 32578
2006-12-14 17:19:50 +00:00
Bill Wendling
1796691858 Clean-up of formatting and spelling.
llvm-svn: 30885
2006-10-11 18:00:22 +00:00
Bill Wendling
692ac6b337 Put code example inside of "doc_code" divisions.
llvm-svn: 30876
2006-10-11 06:30:10 +00:00
Anton Korobeynikov
7c2118575c Added some eye-candy for Subtarget type checking
Added X86 StdCall & FastCall calling conventions. Codegen will follow.

llvm-svn: 30446
2006-09-17 20:25:45 +00:00
Bill Wendling
3f7ab0eb9f *** empty log message ***
llvm-svn: 30145
2006-09-07 08:39:35 +00:00
Bill Wendling
e2623c5f2f Fixed my rotten Engrish grammar.
llvm-svn: 30144
2006-09-07 08:36:28 +00:00
Bill Wendling
1a6e014f29 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.

llvm-svn: 30129
2006-09-06 18:42:41 +00:00
Bill Wendling
782d1a8b9b First draft of the "Live Interval Analysis" section. This is the "Live
Variable Analysis" pass.

llvm-svn: 30106
2006-09-04 23:35:52 +00:00
Bill Wendling
3233cae4be Fixed formatting problem.
llvm-svn: 30033
2006-09-01 21:47:10 +00:00
Bill Wendling
23ab3ad3eb Added documentation Fernando Magno Quintao Pereira wrote for the register
allocator. (First draft)

llvm-svn: 30031
2006-09-01 21:46:00 +00:00
Bill Wendling
9f4f5a7754 Spell naively with the i-Umlaut...
llvm-svn: 29939
2006-08-28 03:04:05 +00:00
Bill Wendling
90f66e3344 Messed up and put a "To be written" in a section that was written.
llvm-svn: 29938
2006-08-28 02:57:41 +00:00
Bill Wendling
cc6d652824 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.

llvm-svn: 29937
2006-08-28 02:26:32 +00:00
Chris Lattner
620311b3f5 Remove V9
llvm-svn: 27886
2006-04-20 17:42:23 +00:00
Reid Spencer
1667ea03b6 Changes docs for llvm.cs.uiuc.edu -> llvm.org
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Jeff Cohen
65a59de236 Fix spelling of 'separate'.
llvm-svn: 23971
2005-10-24 16:54:55 +00:00
Chris Lattner
84f1fb55c2 Apparently, people object to floating pointers. Picky picky.
llvm-svn: 23770
2005-10-17 15:19:24 +00:00
Jim Laskey
47bcddb491 As requested, a blurb on sub-targets.
llvm-svn: 23769
2005-10-17 12:19:10 +00:00
Chris Lattner
31d368acdc fix some grammar-o's I noticed
llvm-svn: 23768
2005-10-17 04:18:41 +00:00
Chris Lattner
cd78af4417 Feedback from Nate.
llvm-svn: 23767
2005-10-17 03:09:31 +00:00
Chris Lattner
f5b250fb9c Document -view-isel-dags and -view-sched-dags
llvm-svn: 23766
2005-10-17 01:40:33 +00:00
Chris Lattner
7a61ff2741 Add a bunch of info about the isel autogenerator. Review appreciated!
llvm-svn: 23763
2005-10-16 20:02:19 +00:00
Chris Lattner
35e81a9487 Fill this out some more. Add description of MBB/MF. Fix some broken links,
turn some broken <a name> into <a href>'s.

llvm-svn: 23762
2005-10-16 18:31:08 +00:00
Chris Lattner
d1242aeb9a Add a stub for the TargetSubtarget class. Jim, please fill a blurb in here
when you get a chance.

llvm-svn: 23761
2005-10-16 17:06:07 +00:00
Chris Lattner
1f2ca991c4 update this a little bit to talk about the dag combiner and remove inaccuracies.
This still doesn't talk about autogen much

llvm-svn: 23757
2005-10-16 00:36:38 +00:00
Chris Lattner
f90f3abcef Update the discussion of TargetRegisterDesc
llvm-svn: 23563
2005-09-30 17:46:55 +00:00
Chris Lattner
342e3bcd33 remove some sparc-v9-specific information
llvm-svn: 22467
2005-07-19 03:37:48 +00:00
Reid Spencer
5e502ee22d Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes.
llvm-svn: 22466
2005-07-19 01:36:35 +00:00
Chris Lattner
81b635da44 add a note so I can remember the common t-t's
llvm-svn: 22386
2005-07-12 00:20:49 +00:00
Chris Lattner
7dffe1ee7c Fix bug noticed by Tzu-Chien Chiu, thanks!
llvm-svn: 21815
2005-05-09 15:41:03 +00:00
Chris Lattner
ad1a80d7d6 fix some bugs
llvm-svn: 21515
2005-04-25 00:38:52 +00:00
Reid Spencer
9bb0fbd3a2 Make this readable for newbies and those who can only understand one set of
grammar rules for the English language.

llvm-svn: 21503
2005-04-24 20:56:18 +00:00
Misha Brukman
31efbcc81c Remove colloquialisms from the documentation.
llvm-svn: 20233
2005-02-17 22:22:24 +00:00
Chris Lattner
a695542e41 Add some initial documentation for the SelectionDAG based instruction selectors
llvm-svn: 19872
2005-01-28 17:22:53 +00:00
John Criswell
197389ca3f Fixed typo.
llvm-svn: 18455
2004-12-03 15:59:26 +00:00
Reid Spencer
ad4e7c5143 Fix a few typos, spellos, grammaros.
llvm-svn: 14043
2004-06-05 14:39:24 +00:00
Chris Lattner
2d2dcb392a Fix extraneous tag
llvm-svn: 14008
2004-06-04 00:40:53 +00:00
Chris Lattner
dac72b8bd3 Fix PR356: [doc] lib/Target/X86/README.txt needs update
Also add some documentation about how instructions work

llvm-svn: 14006
2004-06-04 00:16:02 +00:00
Misha Brukman
eb575df2cd Add a hyphen.
llvm-svn: 13988
2004-06-03 16:55:57 +00:00