Owen Anderson
8bc1b3b7e5
Add initial stab at documenting the use of LLVM with threaded clients.
...
Comments welcome!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73456 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-16 01:17:16 +00:00
Misha Brukman
1af789f74c
HTML-escape '>' as '>' in sample C++ code.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70569 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-01 20:40:51 +00:00
Jeffrey Yasskin
714257f5de
Add a mention of TypeBuilder to the programmer's manual, and clean up the class
...
comment a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70515 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-30 22:33:41 +00:00
Gabor Greif
6a65f4208f
add some text to explain sentinels
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 10:30:31 +00:00
Gabor Greif
0cbcabedc5
minor tweaks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66788 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 09:47:03 +00:00
Chris Lattner
f1a3082513
don't allow hash_map or hash_set.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66400 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 05:20:45 +00:00
Duncan Sands
667d4b8de6
Introduce new linkage types linkonce_odr, weak_odr, common_odr
...
and extern_weak_odr. These are the same as the non-odr versions,
except that they indicate that the global will only be overridden
by an *equivalent* global. In C, a function with weak linkage can
be overridden by a function which behaves completely differently.
This means that IP passes have to skip weak functions, since any
deductions made from the function definition might be wrong, since
the definition could be replaced by something completely different
at link time. This is not allowed in C++, thanks to the ODR
(One-Definition-Rule): if a function is replaced by another at
link-time, then the new function must be the same as the original
function. If a language knows that a function or other global can
only be overridden by an equivalent global, it can give it the
weak_odr linkage type, and the optimizers will understand that it
is alright to make deductions based on the function body. The
code generators on the other hand map weak and weak_odr linkage
to the same thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66339 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-07 15:45:40 +00:00
Gabor Greif
0186250b31
document ilist_traits
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65631 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 13:28:07 +00:00
Gabor Greif
2946d1c928
Expand a bit on iplist. If you are more expert on this class, please review!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65630 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 12:02:19 +00:00
Gabor Greif
3899e498df
update ilist documentation and add some blurb on ilist_node
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65629 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 11:37:41 +00:00
Gabor Greif
fd095b6389
Get rid of the tagging functions and use PointerIntPair.
...
This means that we have to include an additional header.
This patch should be functionally equivalent. I cannot outrule any performance
degradation, though I do not expect any.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61694 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-05 16:05:32 +00:00
Misha Brukman
444087057a
Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60880 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-11 17:34:48 +00:00
Chris Lattner
62810e3202
This method got renamed, thanks to Mattias Holm for pointing this out.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60039 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-25 18:34:50 +00:00
Eric Christopher
203e71db29
Fix syntax of iterate_complex example. Noticed by Martin!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58900 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-08 08:20:49 +00:00
Daniel Dunbar
58c2ac0e41
Change PointerType::get -> getUnqual
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57032 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-03 22:17:25 +00:00
Nick Lewycky
b6d1f39cd0
Fix documentation for these functions; they do not only modify users within the
...
block specified by the InstList. Patch by Stefanus Du Toit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56200 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-15 06:31:52 +00:00
Gabor Greif
d41720a2d7
Use present tense when talking about User layout. It is implemented now.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52699 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-25 00:10:22 +00:00
Chris Lattner
28e6ff57d4
Fix typo, fix suggested by Nicholas Olsen
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52524 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-20 05:03:17 +00:00
Gabor Greif
a9c0f2b03f
fix validator warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52461 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-18 14:05:31 +00:00
Gabor Greif
dfed118f22
prettify, no semantic changes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52460 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-18 13:44:57 +00:00
Gabor Greif
e98fc279e2
Move some documentation from the header file into ProgrammersManual. About to improve.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52360 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-16 21:06:12 +00:00
Chris Lattner
da021aa410
Fix inst_iterator example.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51954 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-04 18:20:42 +00:00
Chris Lattner
9f8ec25805
simplify this.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47187 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-15 22:57:17 +00:00
Chris Lattner
2e438ca03b
add info on walking preds/succs of a block.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45537 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-03 16:56:04 +00:00
Nick Lewycky
10d64b95a1
Type::IntTy hasn't existed for a while. Just sub in Type::Int32Ty.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44526 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-03 01:52:52 +00:00
Chris Lattner
c28476f1d9
document DenseSet.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42475 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-30 00:58:59 +00:00
Chris Lattner
7086ce7268
explain why not vector<bool>
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42324 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-25 22:37:50 +00:00
Daniel Berlin
1939ace3ba
Add section on bit containers.
...
(Not the most well written stuff in the universe :P)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42267 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-24 17:52:25 +00:00
Chris Lattner
76c1b97e40
Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo
...
Add a new DenseMapInfo::isEqual method to allow clients to redefine
the equality predicate used when probing the hash table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42042 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-17 18:34:04 +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
Tanya Lattner
c5dfcdb3a5
Modify deleting global variable with an even easier way.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37676 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-20 20:46:37 +00:00
Tanya Lattner
b011c66da4
Add blurb on deleting global variables.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37674 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-20 18:33:15 +00:00
Duncan Sands
8036ca47e2
Various hopefully correct easy fixes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35506 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 12:22:09 +00:00
Chris Lattner
9bb3dbb6ff
Stop using the foo HTML tag :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35436 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 18:27:57 +00:00
Reid Spencer
4474d87fd3
Fix a typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34826 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-02 01:31:31 +00:00
Reid Spencer
97b4ee34ed
Clarify the use of getValue/getSExtValue/getZExtValue and add the new
...
APInt constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34811 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-01 21:05:33 +00:00
Chris Lattner
263a98e465
update symtab section to reflect recent changes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34340 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-16 04:37:31 +00:00
Reid Spencer
485bad1a09
For PR1195:
...
Packed -> Vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34296 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 03:07:05 +00:00
Reid Spencer
9d6565a5b1
For PR1195:
...
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34293 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 02:26:10 +00:00
Reid Spencer
6b6c73e7bc
Change a reference to gccas to a reference to opt.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34095 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-09 16:00:28 +00:00
Chris Lattner
796f9faffd
update this.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34063 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 19:14:21 +00:00
Chris Lattner
e6a7a8585e
remove some obsolete SymbolTable methods. These docs need to be updated
...
now that PR411 landed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 06:24:17 +00:00
Chris Lattner
32d84765c8
add a note
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33904 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 06:30:51 +00:00
Chris Lattner
edca3c5a1e
describe SmallSetVector
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33847 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-04 00:00:26 +00:00
Chris Lattner
e3683e1651
null -> pointer, nul -> character :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33841 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 22:04:27 +00:00
Reid Spencer
128a7a7a4a
Fix some spellos.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33840 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 21:06:43 +00:00
Chris Lattner
a4a264de3b
fix grammar
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33839 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 20:17:53 +00:00
Chris Lattner
2b78d967ea
Serious cleanups. Make the TOC match the text for the class hierarchy,
...
move the sections of the class-h around in the right order, make it actually
reflect the classes in LLVM today.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33838 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 20:02:25 +00:00
Chris Lattner
f369252d03
Add TOC
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33837 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 19:51:56 +00:00
Chris Lattner
c57224318a
describe map-like containers
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33836 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 19:49:31 +00:00