Daniel Dunbar
4975db6276
Initial update to VMCore to use Twines for string arguments.
...
- The only meat here is in Value.{h,cpp} the rest is essential 'const
std::string &' -> 'const Twine &'.
llvm-svn: 77048
2009-07-25 04:41:11 +00:00
Daniel Dunbar
04bbd9cd34
Rewrite examples to use DEBUG instead of DOUT.
...
llvm-svn: 77042
2009-07-25 01:55:32 +00:00
Stefanus Du Toit
667cd9abe2
Fix link to BasicBlock doxygen documentation in Programmer's Manual
...
llvm-svn: 73635
2009-06-17 21:12:26 +00:00
Owen Anderson
4741b5782a
Update the threading section to reflect current plans/implementation.
...
llvm-svn: 73521
2009-06-16 18:04:19 +00:00
Owen Anderson
eb105f99ec
Fix validation errors.
...
llvm-svn: 73515
2009-06-16 17:40:28 +00:00
Owen Anderson
f0ffb777d9
Add initial stab at documenting the use of LLVM with threaded clients.
...
Comments welcome!
llvm-svn: 73456
2009-06-16 01:17:16 +00:00
Misha Brukman
3268c95840
HTML-escape '>' as '>' in sample C++ code.
...
llvm-svn: 70569
2009-05-01 20:40:51 +00:00
Jeffrey Yasskin
590dc3c9ac
Add a mention of TypeBuilder to the programmer's manual, and clean up the class
...
comment a bit.
llvm-svn: 70515
2009-04-30 22:33:41 +00:00
Gabor Greif
02ab9ab66d
add some text to explain sentinels
...
llvm-svn: 66790
2009-03-12 10:30:31 +00:00
Gabor Greif
4ef9bc053a
minor tweaks
...
llvm-svn: 66788
2009-03-12 09:47:03 +00:00
Chris Lattner
4ce03e66a1
don't allow hash_map or hash_set.
...
llvm-svn: 66400
2009-03-09 05:20:45 +00:00
Duncan Sands
12da8ce3d2
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.
llvm-svn: 66339
2009-03-07 15:45:40 +00:00
Gabor Greif
b4b608c617
document ilist_traits
...
llvm-svn: 65631
2009-02-27 13:28:07 +00:00
Gabor Greif
8243b8c1e5
Expand a bit on iplist. If you are more expert on this class, please review!
...
llvm-svn: 65630
2009-02-27 12:02:19 +00:00
Gabor Greif
d5575adbc4
update ilist documentation and add some blurb on ilist_node
...
llvm-svn: 65629
2009-02-27 11:37:41 +00:00
Gabor Greif
2231c2cac3
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.
llvm-svn: 61694
2009-01-05 16:05:32 +00:00
Misha Brukman
86242e1990
Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
...
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Chris Lattner
c09f2c2bb0
This method got renamed, thanks to Mattias Holm for pointing this out.
...
llvm-svn: 60039
2008-11-25 18:34:50 +00:00
Eric Christopher
6e670388c0
Fix syntax of iterate_complex example. Noticed by Martin!
...
llvm-svn: 58900
2008-11-08 08:20:49 +00:00
Daniel Dunbar
b9e03a65cd
Change PointerType::get -> getUnqual
...
llvm-svn: 57032
2008-10-03 22:17:25 +00:00
Nick Lewycky
57368a561f
Fix documentation for these functions; they do not only modify users within the
...
block specified by the InstList. Patch by Stefanus Du Toit.
llvm-svn: 56200
2008-09-15 06:31:52 +00:00
Gabor Greif
845eb8ea44
Use present tense when talking about User layout. It is implemented now.
...
llvm-svn: 52699
2008-06-25 00:10:22 +00:00
Chris Lattner
643b00a3e6
Fix typo, fix suggested by Nicholas Olsen
...
llvm-svn: 52524
2008-06-20 05:03:17 +00:00
Gabor Greif
687f35f466
fix validator warning
...
llvm-svn: 52461
2008-06-18 14:05:31 +00:00
Gabor Greif
095502edfe
prettify, no semantic changes
...
llvm-svn: 52460
2008-06-18 13:44:57 +00:00
Gabor Greif
5c28a6c31e
Move some documentation from the header file into ProgrammersManual. About to improve.
...
llvm-svn: 52360
2008-06-16 21:06:12 +00:00
Chris Lattner
09ebde227e
Fix inst_iterator example.
...
llvm-svn: 51954
2008-06-04 18:20:42 +00:00
Chris Lattner
0c46309b02
simplify this.
...
llvm-svn: 47187
2008-02-15 22:57:17 +00:00
Chris Lattner
67793d8d60
add info on walking preds/succs of a block.
...
llvm-svn: 45537
2008-01-03 16:56:04 +00:00
Nick Lewycky
d93847a96a
Type::IntTy hasn't existed for a while. Just sub in Type::Int32Ty.
...
llvm-svn: 44526
2007-12-03 01:52:52 +00:00
Chris Lattner
bd0079c603
document DenseSet.
...
llvm-svn: 42475
2007-09-30 00:58:59 +00:00
Chris Lattner
ccc1b69a52
explain why not vector<bool>
...
llvm-svn: 42324
2007-09-25 22:37:50 +00:00
Daniel Berlin
d746bbd908
Add section on bit containers.
...
(Not the most well written stuff in the universe :P)
llvm-svn: 42267
2007-09-24 17:52:25 +00:00
Chris Lattner
0625bd6472
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.
llvm-svn: 42042
2007-09-17 18:34:04 +00:00
Gabor Greif
a54634adef
first pass of nomenclature changes in .html files
...
llvm-svn: 37956
2007-07-06 22:07:22 +00:00
Tanya Lattner
872bf1bdc3
Modify deleting global variable with an even easier way.
...
llvm-svn: 37676
2007-06-20 20:46:37 +00:00
Tanya Lattner
1a08cf311e
Add blurb on deleting global variables.
...
llvm-svn: 37674
2007-06-20 18:33:15 +00:00
Duncan Sands
16f122e6ad
Various hopefully correct easy fixes.
...
llvm-svn: 35506
2007-03-30 12:22:09 +00:00
Chris Lattner
3d9c1bd9e2
Stop using the foo HTML tag :)
...
llvm-svn: 35436
2007-03-28 18:27:57 +00:00
Reid Spencer
91643aa96f
Fix a typo.
...
llvm-svn: 34826
2007-03-02 01:31:31 +00:00
Reid Spencer
bbd97b1edb
Clarify the use of getValue/getSExtValue/getZExtValue and add the new
...
APInt constructor.
llvm-svn: 34811
2007-03-01 21:05:33 +00:00
Chris Lattner
406fb4f2eb
update symtab section to reflect recent changes.
...
llvm-svn: 34340
2007-02-16 04:37:31 +00:00
Reid Spencer
404a3259f9
For PR1195:
...
Packed -> Vector
llvm-svn: 34296
2007-02-15 03:07:05 +00:00
Reid Spencer
d84d35ba70
For PR1195:
...
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
2007-02-15 02:26:10 +00:00
Reid Spencer
2543a22035
Change a reference to gccas to a reference to opt.
...
llvm-svn: 34095
2007-02-09 16:00:28 +00:00
Chris Lattner
d81d7be3cd
update this.
...
llvm-svn: 34063
2007-02-08 19:14:21 +00:00
Chris Lattner
b2fa25c8f9
remove some obsolete SymbolTable methods. These docs need to be updated
...
now that PR411 landed
llvm-svn: 33991
2007-02-07 06:24:17 +00:00
Chris Lattner
9132f16d6c
add a note
...
llvm-svn: 33904
2007-02-05 06:30:51 +00:00
Chris Lattner
0a165eedd1
describe SmallSetVector
...
llvm-svn: 33847
2007-02-04 00:00:26 +00:00
Chris Lattner
265345fc65
null -> pointer, nul -> character :)
...
llvm-svn: 33841
2007-02-03 22:04:27 +00:00
Reid Spencer
31882b8831
Fix some spellos.
...
llvm-svn: 33840
2007-02-03 21:06:43 +00:00
Chris Lattner
f043f7653e
fix grammar
...
llvm-svn: 33839
2007-02-03 20:17:53 +00:00
Chris Lattner
9dd7a380a8
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.
llvm-svn: 33838
2007-02-03 20:02:25 +00:00
Chris Lattner
4e406a9f8e
Add TOC
...
llvm-svn: 33837
2007-02-03 19:51:56 +00:00
Chris Lattner
f233c425cd
describe map-like containers
...
llvm-svn: 33836
2007-02-03 19:49:31 +00:00
Chris Lattner
68b0ec54c2
improve grammar
...
llvm-svn: 33830
2007-02-03 08:20:15 +00:00
Chris Lattner
f5ddd043d6
improve grammar
...
llvm-svn: 33829
2007-02-03 08:10:45 +00:00
Chris Lattner
cb292fc808
close run-away tag
...
llvm-svn: 33828
2007-02-03 07:59:51 +00:00
Chris Lattner
ac76029f91
fill in the section on Set-like containers.
...
llvm-svn: 33827
2007-02-03 07:59:07 +00:00
Chris Lattner
694e110a2e
fix validation issues
...
llvm-svn: 33823
2007-02-03 03:06:52 +00:00
Chris Lattner
099213becc
fix validation problems
...
llvm-svn: 33822
2007-02-03 03:05:57 +00:00
Chris Lattner
9d9985cab5
Add some notes about choice of container.
...
llvm-svn: 33821
2007-02-03 03:04:03 +00:00
Chris Lattner
298ca5518d
Change to match API changes.
...
llvm-svn: 33219
2007-01-15 01:55:32 +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
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
9e224a2533
Update the documentation for SymbolTable class.
...
llvm-svn: 32970
2007-01-07 00:41:39 +00:00
Chris Lattner
bc5cc2e7fa
Fix broken links, reported by Baptiste Lepilleur
...
llvm-svn: 32882
2007-01-04 22:01:45 +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
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
22e978a736
Removing even more <iostream> includes.
...
llvm-svn: 32320
2006-12-07 20:04:42 +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
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
83ee73fdb8
Correct the Superclasses list for GlobalVariable and Function to indicate
...
that they are "Constant" as they derive from GlobalValue. Also, fix some of
the wording where it mentions this.
Patch inspired by Nai Xia.
llvm-svn: 27701
2006-04-14 14:11:48 +00:00
Reid Spencer
ca05854a71
Changes docs for llvm.cs.uiuc.edu -> llvm.org
...
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Chris Lattner
1f47b25727
Use std:: where appropriate
...
llvm-svn: 24494
2005-11-28 02:30:22 +00:00
Misha Brukman
93b8cb17ac
* Replace ampersands in section titles with more formal ``and''
...
* Surround C++ template operators with <tt>
* Add <> after templated operators for consistency
llvm-svn: 24144
2005-11-01 21:12:49 +00:00
Chris Lattner
ed54f2f5e7
Add notes about MF.viewCFG() and friends.
...
llvm-svn: 23765
2005-10-17 01:36:23 +00:00
Misha Brukman
c3967716a8
Remove vim modeline; this should go into ~/.vimrc
...
llvm-svn: 21848
2005-05-10 22:06:41 +00:00
Chris Lattner
2bfe36214d
no parens
...
llvm-svn: 21577
2005-04-26 22:57:07 +00:00
Chris Lattner
730a5da1af
update some paths
...
llvm-svn: 21576
2005-04-26 22:56:16 +00:00
Chris Lattner
d1039cc581
Add feedback from Vikram
...
llvm-svn: 21534
2005-04-25 15:47:57 +00:00
Chris Lattner
fdfb25a9e1
add a bunch of documentation about the LLVM type resolution machinery
...
llvm-svn: 21475
2005-04-23 17:27:36 +00:00
Chris Lattner
c6ce71d434
make an advanced topics section, move symtab to it
...
llvm-svn: 21473
2005-04-23 16:10:52 +00:00
Chris Lattner
16431f7b3c
remove 'another common example', which doesn't work with VC++, and indent
...
another example properly
llvm-svn: 21442
2005-04-22 04:49:59 +00:00
Chris Lattner
bc18ef02ce
methods removed.
...
llvm-svn: 20602
2005-03-15 05:19:20 +00:00
Chris Lattner
5ce25cdc6d
switch from a* to arg_* and g* to global_* for argument/global var iterators
...
llvm-svn: 20596
2005-03-15 04:48:32 +00:00
Chris Lattner
897cc8e1ec
cleanup some html
...
remove a statement that is no longer true
remove comment about a dead method.
llvm-svn: 20486
2005-03-06 06:00:13 +00:00
Chris Lattner
807db03233
These methods are removed.
...
llvm-svn: 20473
2005-03-06 02:37:21 +00:00
Chris Lattner
f7648e7110
Fix typos noticed by Gabor Greif, thanks Gabor!
...
llvm-svn: 19621
2005-01-17 00:12:04 +00:00
Chris Lattner
292e6602ac
Test commit
...
llvm-svn: 18654
2004-12-08 19:05:44 +00:00
Tanya Lattner
0e6622157a
Fixed broken link to Bruce Eckle's book.
...
llvm-svn: 18650
2004-12-08 18:34:56 +00:00
Reid Spencer
0777321b8f
Attempt HTML 4.01 Strict compliance.
...
llvm-svn: 17399
2004-11-01 09:16:30 +00:00
Reid Spencer
f0714dd617
Cleanup the constants section.
...
llvm-svn: 17398
2004-11-01 09:02:53 +00:00
Reid Spencer
c3c4c4f843
Minor format tweask for tables.
...
llvm-svn: 17394
2004-11-01 08:19:36 +00:00
Misha Brukman
ad279bfe07
* Add spaces between function names for readability
...
* Separate paragraphs, flush HTML text to left margin for ease of editing
llvm-svn: 17333
2004-10-29 04:33:19 +00:00