Commit Graph

1992 Commits

Author SHA1 Message Date
Reid Spencer ebd7cac7e4 Update for changes in location of Stacker.
llvm-svn: 33293
2007-01-17 05:37:42 +00:00
Reid Spencer e6a338d263 One more @ to remove.
llvm-svn: 33240
2007-01-15 18:28:34 +00:00
Reid Spencer cf7ebf5cef Update documentation for parameter attributes for the syntax change.
llvm-svn: 33238
2007-01-15 18:27:39 +00:00
Chris Lattner 298ca5518d Change to match API changes.
llvm-svn: 33219
2007-01-15 01:55:32 +00:00
Chris Lattner c0f423a452 Terminology change: drop 'integral' completely. Now we just have integer,
which includes i1.  Change the semantics of the various instructions to
support i1 where they didn't before: for example, it is now legal [though
not terribly useful, as it is the same as xor] to add two i1 values.

llvm-svn: 33217
2007-01-15 01:54:13 +00:00
Chris Lattner e20b4707c6 clarify linkonce/weak linkage
llvm-svn: 33201
2007-01-14 06:51:48 +00:00
Reid Spencer 69240dfa72 Fix an incorrect conversion of int -> i32
llvm-svn: 33199
2007-01-14 06:29:54 +00:00
Chris Lattner 5760c5042c add a global variable example
llvm-svn: 33190
2007-01-14 00:27:09 +00:00
Anton Korobeynikov a0554d90e8 * PIC codegen for X86/Linux has been implemented
* PIC-aware internal structures in X86 Codegen have been refactored
* Visibility (default/weak) has been added
* Docs fixes (external weak linkage, visibility, formatting)

llvm-svn: 33136
2007-01-12 19:20:47 +00:00
Reid Spencer 2759b18e5d Make a couple organizational changes. Type no longer derives from Value
(hasn't for ages) so move it up one level in the table of contents.
Type needs to be understood before Value so move it before Value. Make
the descriptions of types stand out a little more.  Add references to the
doxygen for the Type class.

llvm-svn: 33122
2007-01-12 17:26:25 +00:00
Reid Spencer b9e5d10cf7 Update documentation for arbitrary precision integers:
1. int -> i32
2. Describe the IntegerType class.
3. Correct the description of Type and its primitive type subclasses.
4. Document OpaqueType and PackedType a little better.

llvm-svn: 33120
2007-01-12 17:11:23 +00:00
Reid Spencer 07c9c68825 Fix a typo.
llvm-svn: 33118
2007-01-12 15:46:11 +00:00
Reid Spencer e4c7fcd1bd Update for changes in the IR. The ConstantIntegral, ConstantBool, and
ConstantInt classes were merged into just ConstantInt.

llvm-svn: 33107
2007-01-12 03:36:33 +00:00
Reid Spencer 36a1542bcb Update for changes in the assembly syntax. bool is replaced with i1.
llvm-svn: 33106
2007-01-12 03:35:51 +00:00
Reid Spencer e3db84c6c2 Explain that bitcast can only cast a pointer to another pointer.
llvm-svn: 33041
2007-01-09 20:08:58 +00:00
Chris Lattner db0790c2fd Fully specify the type of the llvm.va* intrinsics. This helps resolve
Pr1093

llvm-svn: 33009
2007-01-08 07:55:15 +00:00
Chris Lattner 65842fe4cd llvm.isunordered is no longer alive.
llvm-svn: 32995
2007-01-07 08:53:26 +00:00
Reid Spencer 9e224a2533 Update the documentation for SymbolTable class.
llvm-svn: 32970
2007-01-07 00:41:39 +00:00
Reid Spencer db94353bff Add an example to the trunc instruction to clarify trunc to bool.
Example provided by Baptiste Lepilleur.

llvm-svn: 32931
2007-01-05 21:33:08 +00:00
Reid Spencer 92c671e77e Correct the documentation for function declarations. They can have dllimport
or extern_weak linkage as well as "externally visible".

llvm-svn: 32887
2007-01-05 00:59:10 +00:00
Chris Lattner bc5cc2e7fa Fix broken links, reported by Baptiste Lepilleur
llvm-svn: 32882
2007-01-04 22:01:45 +00:00
Reid Spencer 8392ed123a Document this tool as experimental and list its deficiencies.
llvm-svn: 32878
2007-01-04 17:55:11 +00:00
Reid Spencer 3e628eb989 Clean up usage of "unsigned" and "signed" in the documentation to indicate
only that specific instructions regard their operands as signed and
unsigned not that the operands *are* signed or unsigned.

llvm-svn: 32874
2007-01-04 16:43:23 +00:00
Bill Wendling 4d95e91eca Removed reference to "cnull" because typical users shouldn't need to use
it.

llvm-svn: 32869
2007-01-04 08:38:04 +00:00
Chris Lattner 424d4dc713 ding dong llvm-gcc3 is dead
llvm-svn: 32868
2007-01-04 07:08:27 +00:00
Chris Lattner 13ce918505 gcc 4.1.1 on amd64 is broken
llvm-svn: 32867
2007-01-04 07:06:05 +00:00
Reid Spencer 784ef79b55 icmp and fcmp do not take packed type operands.
llvm-svn: 32864
2007-01-04 05:19:58 +00:00
Reid Spencer 72ba499004 Remove documentation of non-existent cextcc and csretextcc calling
conventions as these have been replaced with parameter attributes.

llvm-svn: 32797
2006-12-31 21:30:18 +00:00
Reid Spencer 655dcc6fce One more try on the table formatting.
llvm-svn: 32793
2006-12-31 07:20:23 +00:00
Reid Spencer 58c08716af Clean up some typos and formatting.
llvm-svn: 32792
2006-12-31 07:18:34 +00:00
Reid Spencer b5ebf3d667 For PR950:
Update for signless integer types:
1. Replace [us]byte with i8
2. Replace [u]short with i16
3. Replace [u]int   with i32
4. Replace [u]long  with i64
5. Document the "define" keyword and use it in all examples.
6. Document parameter attributes and how they affect function types.

llvm-svn: 32791
2006-12-31 07:07:53 +00:00
Nick Lewycky bfe93dfdd8 Typo.
llvm-svn: 32774
2006-12-31 03:44:08 +00:00
Reid Spencer c329a4e9cc Preview of new calling conventions: cextcc and csretextcc to handle explicit
sign and zero extension in function calls.

llvm-svn: 32764
2006-12-28 16:55:55 +00:00
Chris Lattner d7ed9c92c2 fix a typo
llvm-svn: 32713
2006-12-20 04:23:36 +00:00
Reid Spencer 85f3c06003 Remove documentation for isSigned and isUnsigned methods of Type class.
llvm-svn: 32708
2006-12-19 23:12:09 +00:00
Chris Lattner 58e5345894 update to reflect changes in statistic class.
llvm-svn: 32691
2006-12-19 21:46:21 +00:00
Reid Spencer 8810d370af Fix an example that used the old SetCondInst instruction.
llvm-svn: 32681
2006-12-19 19:47:54 +00:00
Reid Spencer c6be386754 Make changes for removal of SETCC instruction to unify with LangRef.html.
llvm-svn: 32680
2006-12-19 19:47:19 +00:00
Bill Wendling 3307244ce9 Added example of how to code print() methods so that they will disappear
from the code if "cnull" is passed into them.

llvm-svn: 32641
2006-12-17 11:40:40 +00:00
Jim Laskey 57825843d0 Pass html validation.
llvm-svn: 32598
2006-12-15 10:40:48 +00:00
Jim Laskey ef58334ddb Start of PowerPC info.
llvm-svn: 32578
2006-12-14 17:19:50 +00:00
Bill Wendling b0629487d8 Fixed some formatting.
llvm-svn: 32392
2006-12-09 01:35:43 +00:00
Bill Wendling c78ae26ff8 Another example of using the llvm IO streams.
llvm-svn: 32391
2006-12-09 01:27:51 +00:00
Bill Wendling 2b52dc1753 Add documentation for how to use the new LLVM streams.
llvm-svn: 32390
2006-12-09 01:20:34 +00:00
Andrew Lenharth 78f9389d79 A backwards compatible bc format for packed structs
llvm-svn: 32360
2006-12-08 17:50:05 +00:00
Andrew Lenharth 8df88e2cc9 Packed Structure Definitions (docs)
llvm-svn: 32357
2006-12-08 17:13:00 +00:00
Bill Wendling 22e978a736 Removing even more <iostream> includes.
llvm-svn: 32320
2006-12-07 20:04:42 +00:00
Reid Spencer 02e0d1de90 Tie the ordered/unordered predicate descriptions to their meaning wrt
to QNAN values.

llvm-svn: 32272
2006-12-06 07:08:07 +00:00
Reid Spencer cee005cbf2 We only support 32-bit or 64-bit sequential type indices for GEP. Document
it as so.

llvm-svn: 32197
2006-12-04 21:29:24 +00:00
Reid Spencer 9965ee72f5 Document the icmp and fcmp constant expressions.
llvm-svn: 32188
2006-12-04 19:23:19 +00:00
Reid Spencer c031269ee3 Update for signless GEP semantics.
llvm-svn: 32159
2006-12-03 16:53:48 +00:00
Reid Spencer 797cb85015 Add llvm-upgrade documentation.
llvm-svn: 32125
2006-12-02 16:36:48 +00:00
Reid Spencer 963bdf3885 Document the llvm-upgrade tool.
llvm-svn: 32124
2006-12-02 16:35:42 +00:00
Jim Laskey 4d98e2e79d Update docs
llvm-svn: 32037
2006-11-30 14:36:22 +00:00
Chris Lattner 5230e9175a remove dead tag
llvm-svn: 31944
2006-11-27 21:53:28 +00:00
John Criswell 4666c085f3 Documented the --disable-compression option in gccld and gccas.
llvm-svn: 31892
2006-11-21 22:53:12 +00:00
Chris Lattner 1f96052d41 Fix PR1005
llvm-svn: 31881
2006-11-20 18:57:02 +00:00
Tanya Lattner 84252caf72 Fixed typo
llvm-svn: 31871
2006-11-20 06:07:10 +00:00
Tanya Lattner da2d1e2319 Adding 1.9 release and removing references to cfrontend
llvm-svn: 31870
2006-11-20 06:04:46 +00:00
Tanya Lattner b0babee602 Changing cfrontend dir to llvm-gcc3.4 as the example.
llvm-svn: 31869
2006-11-20 05:52:06 +00:00
Reid Spencer f69acf3e26 Corrections from review.
llvm-svn: 31865
2006-11-19 03:00:14 +00:00
Reid Spencer e008326b86 Update a reference to the old setcc instruction.
llvm-svn: 31860
2006-11-18 21:55:45 +00:00
Reid Spencer c828a0e3fe For PR950:
Documentation preview of the upcoming icmp and fcmp instructions that
will replace the various setcc instructions.

llvm-svn: 31859
2006-11-18 21:50:54 +00:00
Anton Korobeynikov e7cbbfcb30 Movind newly-intorudced dll* linkage stuff & windows CC to "supported"
list

llvm-svn: 31847
2006-11-18 08:04:48 +00:00
Chris Lattner ef22b57922 fix bug
llvm-svn: 31846
2006-11-18 07:52:10 +00:00
Chris Lattner b81f10efaa first draft of 1.9 release notes
llvm-svn: 31845
2006-11-18 07:51:14 +00:00
Bill Wendling ae2a3097e6 Cleaned up the document. Added "doc_code" divisions for code examples.
llvm-svn: 31784
2006-11-16 09:31:19 +00:00
Reid Spencer e473e41e59 Add a link to the GEP FAQ.
llvm-svn: 31698
2006-11-13 08:03:59 +00:00
Reid Spencer 5b9506439a Document new constant expr operators, rename bitconvert as bitcast.
llvm-svn: 31693
2006-11-11 23:08:07 +00:00
Reid Spencer b7344ff025 Add a preview of two new conversion operators: ptrtoint and inttoptr. Update
the defintion of bitconvert correspondingly.

llvm-svn: 31688
2006-11-11 21:00:47 +00:00
Reid Spencer 51b07256a3 Post-review changes on conversion instructions.
llvm-svn: 31607
2006-11-09 23:03:26 +00:00
Reid Spencer 2e2740d46a Fix runaway <tt> element and section ordering.
llvm-svn: 31606
2006-11-09 21:48:10 +00:00
Reid Spencer 8a82cc6304 Remove futurisms that won't be in our future.
llvm-svn: 31605
2006-11-09 21:42:14 +00:00
Reid Spencer a89fb18c98 One more time for indentation.
llvm-svn: 31604
2006-11-09 21:18:01 +00:00
Reid Spencer 443460a318 Fix indentation problem starting at GEP.
llvm-svn: 31603
2006-11-09 21:15:49 +00:00
Reid Spencer b3aa10f933 Document correct opcodes for post 1.9 release.
llvm-svn: 31566
2006-11-08 20:07:40 +00:00
Reid Spencer 99b21508e6 Update the instruction opcodes for release 1.9
llvm-svn: 31565
2006-11-08 20:06:36 +00:00
Reid Spencer fdff938a7e For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.

llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer 97c5fa4607 Fix the section headings.
llvm-svn: 31532
2006-11-08 01:18:52 +00:00
Reid Spencer 59b6b7d9e4 For PR950:
Early commit of the documentation for new conversion instructions for
easier review.

llvm-svn: 31531
2006-11-08 01:11:31 +00:00
Reid Spencer 6291ddca16 Add a note about warnings from the GNU ld 2.16.X linker.
llvm-svn: 31440
2006-11-04 00:33:42 +00:00
Reid Spencer 7eb55b395f For PR950:
Replace the REM instruction with UREM, SREM and FREM.

llvm-svn: 31369
2006-11-02 01:53:59 +00:00
Reid Spencer 09c440c00a Partial update for Release 1.9
llvm-svn: 31350
2006-11-01 16:15:04 +00:00
Devang Patel 2e13bf24c8 Use doc_code class.
llvm-svn: 31239
2006-10-27 23:06:27 +00:00
Devang Patel 7e5af6808c Document removeModule().
llvm-svn: 31237
2006-10-27 22:02:30 +00:00
Devang Patel 59085445e3 Document getAlignment()
llvm-svn: 31234
2006-10-27 21:58:31 +00:00
Reid Spencer 7e80b0b31e For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.

llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Reid Spencer e0fc4dfc22 For PR950:
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.

llvm-svn: 31063
2006-10-20 07:07:24 +00:00
Owen Anderson 7a312481a6 Add LCSSA to the LLVM lexicon.
llvm-svn: 31032
2006-10-18 05:50:12 +00:00
Chris Lattner c1fb4264f5 clarify
llvm-svn: 30966
2006-10-15 20:05:59 +00:00
Reid Spencer 775168dac1 Document the VAArg, and vector instruction opcodes.
llvm-svn: 30965
2006-10-15 00:11:05 +00:00
Bill Wendling f21825f55a Clean-up of formatting and spelling.
llvm-svn: 30885
2006-10-11 18:00:22 +00:00
Bill Wendling 34ab06769d Put code example inside of "doc_code" divisions.
llvm-svn: 30876
2006-10-11 06:30:10 +00:00
Jim Laskey 37c2c6c860 Update documentaion of node annotation (coloring) in viewGraph.
llvm-svn: 30687
2006-10-02 12:28:07 +00:00
Reid Spencer 48cf6a6f21 Provide a gdb usage fix provided by Zhongzing Xu.
llvm-svn: 30645
2006-09-28 16:53:47 +00:00
Reid Spencer 99dedf4a44 Make the LLVM Publications link point to /pubs/ since this has moved to
its own page on the LLVM web site.

llvm-svn: 30447
2006-09-17 23:05:15 +00:00
Anton Korobeynikov 6f7072c66a 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
Anton Korobeynikov d61d39ec53 Adding dllimport, dllexport and external weak linkage types.
DLL* linkages got full (I hope) codegeneration support in C & both x86
assembler backends.
External weak linkage added for future use, we don't provide any
codegeneration, etc. support for it.

llvm-svn: 30374
2006-09-14 18:23:27 +00:00
Nick Lewycky 426df57aec Document new --enable-valgrind option.
llvm-svn: 30313
2006-09-14 04:33:29 +00:00
John Criswell 1d1835b4ed Correct the URL to the attrib.incl file.
llvm-svn: 30276
2006-09-12 20:30:13 +00:00
John Criswell d894443780 Include the UIUC CS department attribution on the main doxygen page.
llvm-svn: 30247
2006-09-11 14:52:26 +00:00
Jim Laskey ea05a06a49 Missing anchor
llvm-svn: 30227
2006-09-09 09:10:37 +00:00
Chris Lattner 33b73f9cfc new powi intrinsic
llvm-svn: 30175
2006-09-08 06:34:02 +00:00
Chris Lattner aa64b9491f Warn people not to use GCC 4.1.1.
llvm-svn: 30147
2006-09-07 17:34:27 +00:00
Bill Wendling f5ce7ef4a8 *** empty log message ***
llvm-svn: 30145
2006-09-07 08:39:35 +00:00
Bill Wendling d0c0bc502e Fixed my rotten Engrish grammar.
llvm-svn: 30144
2006-09-07 08:36:28 +00:00
Chris Lattner 4d7ce8a554 cleanups and updates to the GSG, patch by B Scott Michel, thanks!
This is PR899

llvm-svn: 30143
2006-09-07 04:19:09 +00:00
Devang Patel 483872338a Document getTargetTriple().
llvm-svn: 30133
2006-09-06 20:22:55 +00:00
Bill Wendling d495bd075a 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 bb902cf0b9 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
Chris Lattner a59bee75a7 Update this to reflect llvm-config usage
llvm-svn: 30094
2006-09-04 06:12:14 +00:00
Chris Lattner 28368120a5 Fix a typo Jim pointed out, thanks!
llvm-svn: 30035
2006-09-01 22:01:36 +00:00
Bill Wendling d81797beca Fixed formatting problem.
llvm-svn: 30033
2006-09-01 21:47:10 +00:00
Chris Lattner b5b0c1ae65 document !strconcat
llvm-svn: 30032
2006-09-01 21:46:01 +00:00
Bill Wendling 00c5aecb74 Added documentation Fernando Magno Quintao Pereira wrote for the register
allocator. (First draft)

llvm-svn: 30031
2006-09-01 21:46:00 +00:00
Chris Lattner f01a85bdf2 Document multiclasses and defm's
llvm-svn: 30030
2006-09-01 21:44:18 +00:00
Chris Lattner b096190f29 Add a note about C++ -> C with libstdc++
llvm-svn: 29993
2006-08-31 04:26:31 +00:00
Bill Wendling 6737f5dc4f Spell naively with the i-Umlaut...
llvm-svn: 29939
2006-08-28 03:04:05 +00:00
Bill Wendling 661faec29a 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 5c385dec57 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 ea3c2b29e5 Update to match changes in RegisterAnalysisGroup usage
llvm-svn: 29933
2006-08-28 00:45:38 +00:00
Reid Spencer 80f843d31d Excise references to the now defunct "analyze" tool. Merge descriptions
where appropriate.

llvm-svn: 29931
2006-08-28 00:34:19 +00:00
Chris Lattner b693cb0e73 update doc: analyze is gone and passes should just use RegisterPass
llvm-svn: 29928
2006-08-27 23:18:52 +00:00
Misha Brukman ac1e58a3eb Added link to ABI documentation, sent by Rafael Espindola.
llvm-svn: 29832
2006-08-22 21:56:43 +00:00
Jim Laskey 98a1385764 Update info on mangled names.
llvm-svn: 29804
2006-08-21 22:57:31 +00:00
Jim Laskey 4771cca1b5 Update debugging documents.
llvm-svn: 29800
2006-08-21 21:21:06 +00:00
Chris Lattner 00597283c4 Fix validation problem
llvm-svn: 29745
2006-08-17 03:26:50 +00:00
Chris Lattner ee02e9743e remove IRC transcript. Anything still misunderstood after the faq is read
can be added to the faq.

llvm-svn: 29744
2006-08-17 03:25:07 +00:00
Reid Spencer 9d121b0897 Fix a thinko noticed by Chandler Carruth.
llvm-svn: 29724
2006-08-16 05:53:32 +00:00
Reid Spencer 34ddd2861f Add a section on how to build an RPM package as an optional release
activity.

llvm-svn: 29719
2006-08-16 00:54:50 +00:00
Patrick Jenkins 499b96d5a8 Fixed the awkward description of the -find-bugs option for bugpoint.
llvm-svn: 29708
2006-08-15 17:39:40 +00:00
Patrick Jenkins d6e477dccf Fixed the awkward description of -find-bugs in the "Advice for using bugpoint" section.
llvm-svn: 29707
2006-08-15 17:38:36 +00:00
Patrick Jenkins c884cfbeb9 Added option description for -find-bugs.
llvm-svn: 29706
2006-08-15 17:31:58 +00:00
Patrick Jenkins 478cc0435b This commit mentions -find-bugs under the advice for using bugpoints section of the bugpoint design and usage document.
llvm-svn: 29705
2006-08-15 17:03:17 +00:00
Jim Laskey 6047ec97ed Haste-o discovered after.
llvm-svn: 29702
2006-08-15 12:15:08 +00:00
Jim Laskey 6cef9de0c1 Hypos pointed out by Jakob Praher.
llvm-svn: 29701
2006-08-15 12:11:42 +00:00
Jim Laskey 00389a8269 Typo.
llvm-svn: 29700
2006-08-15 08:14:19 +00:00
Reid Spencer c438e0879c Okay, make the prose match the example too.
llvm-svn: 29697
2006-08-15 04:00:29 +00:00
Reid Spencer 334e26be28 Some more correction to the examples, thanks to Chris Lattner.
llvm-svn: 29696
2006-08-15 03:57:05 +00:00
Reid Spencer 22bb5c3305 Fix an example.
llvm-svn: 29693
2006-08-15 03:46:38 +00:00
Reid Spencer 6500f40a4e Clarify the first question.
llvm-svn: 29692
2006-08-15 03:43:31 +00:00
Reid Spencer afa58f1c7d Rearrange things for clarity, don't talk about "dereferencing" when we
shouldn't, and add a better example for one of the questions. Thanks to
Chris Lattner for these suggestions.

llvm-svn: 29691
2006-08-15 03:32:10 +00:00
Chris Lattner 6ab6672cac Add a link to the GEP faq.
llvm-svn: 29690
2006-08-15 00:45:58 +00:00
Chris Lattner 667c901622 Add a link in a prominant location.
llvm-svn: 29689
2006-08-15 00:43:35 +00:00
Chris Lattner c7443af7d3 Fix more validation issues
llvm-svn: 29671
2006-08-14 20:51:35 +00:00
Chris Lattner 5b560d98da Update the example to work with llvm-gcc4. Fix validation errors.
llvm-svn: 29670
2006-08-14 20:45:25 +00:00
Chris Lattner a496ec35ed typo
llvm-svn: 29668
2006-08-14 20:07:50 +00:00
Reid Spencer 8627ee227c Fix a typo.
llvm-svn: 29667
2006-08-14 19:51:02 +00:00
Reid Spencer 105780fb7d Fix several grammaros and a few HTML usage items.
llvm-svn: 29665
2006-08-14 19:19:55 +00:00
Devang Patel cee1799a33 Use &lt; and &gt;
llvm-svn: 29662
2006-08-14 18:49:03 +00:00