Gabor Greif
0cf8da6c06
add some text to explain sentinels
...
llvm-svn: 66790
2009-03-12 10:30:31 +00:00
Gabor Greif
51ea08b090
minor tweaks
...
llvm-svn: 66788
2009-03-12 09:47:03 +00:00
Chris Lattner
620cb99e33
don't allow hash_map or hash_set.
...
llvm-svn: 66400
2009-03-09 05:20:45 +00:00
Duncan Sands
5ab54d488f
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
97657f3984
document ilist_traits
...
llvm-svn: 65631
2009-02-27 13:28:07 +00:00
Gabor Greif
55ffced15e
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
f727fa8225
update ilist documentation and add some blurb on ilist_node
...
llvm-svn: 65629
2009-02-27 11:37:41 +00:00
Gabor Greif
3b91310e36
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
74411f221b
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
7c6a0d4d86
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
f153e3c62e
Fix syntax of iterate_complex example. Noticed by Martin!
...
llvm-svn: 58900
2008-11-08 08:20:49 +00:00
Daniel Dunbar
edea1b15bf
Change PointerType::get -> getUnqual
...
llvm-svn: 57032
2008-10-03 22:17:25 +00:00
Nick Lewycky
d33536e62a
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
c940b5b51e
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
95316306bb
Fix typo, fix suggested by Nicholas Olsen
...
llvm-svn: 52524
2008-06-20 05:03:17 +00:00
Gabor Greif
14dc959397
fix validator warning
...
llvm-svn: 52461
2008-06-18 14:05:31 +00:00
Gabor Greif
41d941a446
prettify, no semantic changes
...
llvm-svn: 52460
2008-06-18 13:44:57 +00:00
Gabor Greif
ae2be0f217
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
d895b277ea
Fix inst_iterator example.
...
llvm-svn: 51954
2008-06-04 18:20:42 +00:00
Chris Lattner
2258e9fd08
simplify this.
...
llvm-svn: 47187
2008-02-15 22:57:17 +00:00
Chris Lattner
5d4e5f277a
add info on walking preds/succs of a block.
...
llvm-svn: 45537
2008-01-03 16:56:04 +00:00
Nick Lewycky
2127c03226
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
f90b39b186
document DenseSet.
...
llvm-svn: 42475
2007-09-30 00:58:59 +00:00
Chris Lattner
1fc2bda34a
explain why not vector<bool>
...
llvm-svn: 42324
2007-09-25 22:37:50 +00:00
Daniel Berlin
2b33136f50
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
cc315726f7
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
f8138f9cb9
first pass of nomenclature changes in .html files
...
llvm-svn: 37956
2007-07-06 22:07:22 +00:00
Tanya Lattner
f9b0bbdec0
Modify deleting global variable with an even easier way.
...
llvm-svn: 37676
2007-06-20 20:46:37 +00:00
Tanya Lattner
14cb38b473
Add blurb on deleting global variables.
...
llvm-svn: 37674
2007-06-20 18:33:15 +00:00
Duncan Sands
05834dfd9e
Various hopefully correct easy fixes.
...
llvm-svn: 35506
2007-03-30 12:22:09 +00:00
Chris Lattner
6847f5465a
Stop using the foo HTML tag :)
...
llvm-svn: 35436
2007-03-28 18:27:57 +00:00
Reid Spencer
1be4796f45
Fix a typo.
...
llvm-svn: 34826
2007-03-02 01:31:31 +00:00
Reid Spencer
0814741c79
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
9ef6d38929
update symtab section to reflect recent changes.
...
llvm-svn: 34340
2007-02-16 04:37:31 +00:00
Reid Spencer
80c836c443
For PR1195:
...
Packed -> Vector
llvm-svn: 34296
2007-02-15 03:07:05 +00:00
Reid Spencer
55e4e98a2a
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
c4b989a655
Change a reference to gccas to a reference to opt.
...
llvm-svn: 34095
2007-02-09 16:00:28 +00:00
Chris Lattner
99f0279c54
update this.
...
llvm-svn: 34063
2007-02-08 19:14:21 +00:00
Chris Lattner
6202b0e796
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
318e23e7fe
add a note
...
llvm-svn: 33904
2007-02-05 06:30:51 +00:00
Chris Lattner
b8fa9c1097
describe SmallSetVector
...
llvm-svn: 33847
2007-02-04 00:00:26 +00:00
Chris Lattner
476eb1ca17
null -> pointer, nul -> character :)
...
llvm-svn: 33841
2007-02-03 22:04:27 +00:00
Reid Spencer
a5c050e5a2
Fix some spellos.
...
llvm-svn: 33840
2007-02-03 21:06:43 +00:00
Chris Lattner
a39cf0efae
fix grammar
...
llvm-svn: 33839
2007-02-03 20:17:53 +00:00
Chris Lattner
6604f31370
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
a7f2a1819d
Add TOC
...
llvm-svn: 33837
2007-02-03 19:51:56 +00:00
Chris Lattner
8a8da2738e
describe map-like containers
...
llvm-svn: 33836
2007-02-03 19:49:31 +00:00
Chris Lattner
9e6e928a9e
improve grammar
...
llvm-svn: 33830
2007-02-03 08:20:15 +00:00
Chris Lattner
fc3a528769
improve grammar
...
llvm-svn: 33829
2007-02-03 08:10:45 +00:00
Chris Lattner
f77e7656d0
close run-away tag
...
llvm-svn: 33828
2007-02-03 07:59:51 +00:00