Duncan Sands
a294c549ca
Release notes for DragonEgg.
...
llvm-svn: 144298
2011-11-10 18:44:29 +00:00
Daniel Dunbar
82219ad4dc
llvm-build: Add an explicit component type to represent targets.
...
- Gives us a place to hang target specific metadata (like whether the target has a JIT).
llvm-svn: 144250
2011-11-10 00:49:51 +00:00
Bill Wendling
302d7ce0ab
Reformat the quote and tag the math stuff with <tt> tags.
...
llvm-svn: 144204
2011-11-09 19:33:56 +00:00
Bill Wendling
b33bd11c71
Add Eero to the list of external projects.
...
llvm-svn: 144076
2011-11-08 05:22:54 +00:00
Bill Wendling
1654bb22ca
Cleanup the formatting.
...
llvm-svn: 144053
2011-11-08 00:32:45 +00:00
Bill Wendling
fc1935c8bf
Add ISPC to the external projects list.
...
llvm-svn: 144026
2011-11-07 22:05:17 +00:00
Andrew Trick
6c0a11bf61
Release Notes: add a description of -enable-iv-rewrite.
...
llvm-svn: 143878
2011-11-06 17:59:24 +00:00
NAKAMURA Takumi
a61f0cc731
docs/GettingStarted.html: [Git] Add another example for "[Gmail]/Drafts" in Traditional Chinese.
...
Thanks to Chen Weiren.
llvm-svn: 143862
2011-11-06 06:51:58 +00:00
Peter Collingbourne
dc66efeb10
Recommend the -flto flag instead of -use-gold-plugin, and update
...
other aspects of the gold plugin docs to reflect reality.
llvm-svn: 143785
2011-11-05 04:17:28 +00:00
Daniel Dunbar
e9733850be
llvm-build: Add initial --write-cmake-fragment option.
...
llvm-svn: 143744
2011-11-04 23:10:37 +00:00
Bill Wendling
ef3cdeab45
Fix some misplaced punctuation.
...
llvm-svn: 143737
2011-11-04 20:40:41 +00:00
Daniel Dunbar
ab3b1804fe
llvm-build: Add initial code for --write-make-fragment.
...
llvm-svn: 143661
2011-11-03 22:46:19 +00:00
Bill Wendling
ed4cc4432f
Keep the Crack language as an external project.
...
llvm-svn: 143643
2011-11-03 20:10:01 +00:00
Daniel Dunbar
bf9bba47a1
build: Add initial cut at LLVMBuild.txt files.
...
llvm-svn: 143634
2011-11-03 18:53:17 +00:00
Daniel Dunbar
445e8f9d35
llvm-build: Add "--write-library-table" option for generating the C++ library
...
dependency table used by llvm-config.
llvm-svn: 143628
2011-11-03 17:56:28 +00:00
Daniel Dunbar
774421ec26
docs: Sketch docs for llvm-build tool.
...
llvm-svn: 143627
2011-11-03 17:56:24 +00:00
Daniel Dunbar
6972721d5f
docs: Add initial docs on LLVMBuild organization.
...
llvm-svn: 143619
2011-11-03 17:55:59 +00:00
Galina Kistanova
98989469a2
Cleaned text, fixed HTML.
...
llvm-svn: 143607
2011-11-03 05:57:26 +00:00
Galina Kistanova
3246d3556b
Few corrections on the document page.
...
llvm-svn: 143578
2011-11-02 22:05:18 +00:00
Tobias Grosser
325569f716
docs: Fix two typos
...
llvm-svn: 143565
2011-11-02 19:51:04 +00:00
Daniel Dunbar
f5918316e4
docs: Remove an out-of-date and unnecessary tool list.
...
llvm-svn: 143544
2011-11-02 15:57:05 +00:00
Daniel Dunbar
9a28c4a522
docs: Separate development process type of documentation from programming
...
documentation.
llvm-svn: 143543
2011-11-02 15:56:58 +00:00
Daniel Dunbar
1ad9bd9a4e
docs: Remove UsingLibraries page, which was inaccurate / out-of-date and not
...
particularly useful.
llvm-svn: 143542
2011-11-02 15:56:55 +00:00
Bill Wendling
eda350d8ab
Add LuaAV to external projects list.
...
llvm-svn: 143431
2011-11-01 04:08:23 +00:00
Tanya Lattner
e9839c045f
Reapply r141657.
...
Also revert the change to CREATE_SUBDIRS as this is what caused the CSS to break on the website and generate the much longer URLs.
llvm-svn: 143401
2011-10-31 23:46:50 +00:00
Ted Kremenek
aff3640d13
Update 'Getting Started' to suggest using GCC 4.2 or higher (or Clang). There is no reason to support older versions of GCC.
...
llvm-svn: 143366
2011-10-31 21:23:15 +00:00
Galina Kistanova
9545514c60
Added instruction how to add a builder to docs.
...
llvm-svn: 143365
2011-10-31 21:13:06 +00:00
NAKAMURA Takumi
a35cdd68cf
docs/*.html: Fix markups.
...
llvm-svn: 143349
2011-10-31 13:04:26 +00:00
NAKAMURA Takumi
b8004d9b4c
docs/*.html: Appease W3C Checker to add "charset=utf-8".
...
llvm-svn: 143348
2011-10-31 11:21:59 +00:00
Nick Lewycky
cd196f6b4f
Close <div> that was indenting the rest of the page.
...
llvm-svn: 143328
2011-10-31 01:32:21 +00:00
Roman Divacky
2634d778a6
Update on PPC32.
...
llvm-svn: 143306
2011-10-30 07:49:04 +00:00
Bill Wendling
edc208762e
Revise ThreadSanitizer mention so that it lists the correct frontends.
...
llvm-svn: 143268
2011-10-29 01:11:15 +00:00
Bill Wendling
ca8dc4a617
Add Cling to the External Projects list.
...
llvm-svn: 143267
2011-10-29 01:10:01 +00:00
Jim Grosbach
07ae229048
Clarify example snippets a bit.
...
llvm-svn: 143224
2011-10-28 20:52:20 +00:00
Dan Gohman
4c9fca99c9
Remove the Alpha backend.
...
llvm-svn: 143164
2011-10-27 22:56:32 +00:00
Eli Friedman
5487356336
The default alias analysis is -noaa; update the docs to reflect that. Patch by Michael Ilseman.
...
llvm-svn: 143159
2011-10-27 22:32:13 +00:00
Daniel Dunbar
a054790390
tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests.
...
llvm-svn: 143143
2011-10-27 20:59:26 +00:00
Peter Collingbourne
f7d1e7be55
Add a pinned metadata name for fpaccuracy, and document it
...
llvm-svn: 143135
2011-10-27 19:19:14 +00:00
Peter Collingbourne
ec9ff67e22
Document tbaa metadata in LangRef (documentation largely based on
...
comments at top of TypeBasedAliasAnalysis.cpp).
llvm-svn: 143134
2011-10-27 19:19:07 +00:00
Bill Wendling
a2ae87bef2
Add include-what-you-use to the External Projects list.
...
llvm-svn: 143073
2011-10-26 22:55:18 +00:00
Bill Wendling
16133782dc
Some formatting changes.
...
llvm-svn: 143045
2011-10-26 18:46:16 +00:00
Bill Wendling
d535a6ee92
Add the blurb about the new exception handling.
...
llvm-svn: 143042
2011-10-26 18:33:01 +00:00
Bill Wendling
5ee37be14f
Add clReflect to the External Projects list.
...
llvm-svn: 143041
2011-10-26 18:23:06 +00:00
Bill Wendling
4d9c8e5f31
Add LanguageKit and Pragmatic Smalltalk to the External Projects list.
...
llvm-svn: 143040
2011-10-26 18:20:54 +00:00
Bill Wendling
fe845d5340
Add ThreadSanitizer to the External Projects list.
...
llvm-svn: 143024
2011-10-26 09:25:01 +00:00
Bill Wendling
39fe265e9c
Add ZooLib to the External Projects list.
...
llvm-svn: 143022
2011-10-26 07:42:45 +00:00
Bill Wendling
8fae82a196
Add the Stupid D Compiler to the External Projects list.
...
llvm-svn: 143020
2011-10-26 07:38:19 +00:00
Bill Wendling
c902d13653
Fix grammar.
...
llvm-svn: 143012
2011-10-26 04:24:15 +00:00
Eli Friedman
2c25d9c0c5
Add a note about the removal of the atomic intrinsics to the "Major Changes" section of the release notes.
...
llvm-svn: 142998
2011-10-26 00:55:23 +00:00
Eli Friedman
4bfff503fd
Remove dead atomic intrinsics from LangRef.
...
llvm-svn: 142994
2011-10-26 00:36:41 +00:00
Bill Wendling
0ed5747220
Add mention of AddressSanitizer to external OS projects.
...
llvm-svn: 142991
2011-10-26 00:17:54 +00:00
Bill Wendling
fd9eb573e4
Add mention of Mono to external OS projects.
...
llvm-svn: 142990
2011-10-26 00:16:17 +00:00
Bill Wendling
3bb971b74b
Add mention of ClamAV to external OS projects.
...
llvm-svn: 142989
2011-10-26 00:14:36 +00:00
Bill Wendling
97b889d6e5
Add mention of Renderscript to external OS projects.
...
llvm-svn: 142988
2011-10-26 00:12:04 +00:00
Bill Wendling
3bb93ad281
Add mention of GHC to external OS projects.
...
llvm-svn: 142987
2011-10-26 00:09:55 +00:00
Bill Wendling
bf72f2ca19
Add mention of SAFECode to external OS projects.
...
llvm-svn: 142966
2011-10-25 20:40:26 +00:00
Bill Wendling
58209296e0
Add mention of Pure to external OS projects.
...
llvm-svn: 142965
2011-10-25 20:39:06 +00:00
Bill Wendling
e8caad5241
Add mention of Portable OpenCL to external OS projects.
...
llvm-svn: 142963
2011-10-25 20:37:45 +00:00
Bill Wendling
3e3968e7aa
Add mention of gwScript to external OS projects.
...
llvm-svn: 142960
2011-10-25 20:35:31 +00:00
Bill Wendling
ae9aa3541e
Add mention of Tart to external OS projects.
...
llvm-svn: 142955
2011-10-25 20:27:37 +00:00
Bill Wendling
53aa7a8110
Add TTA-based Co-design Environment to external OS projects.
...
llvm-svn: 142954
2011-10-25 20:24:32 +00:00
Bruno Cardoso Lopes
4f6d7d489f
According to Mips folks, the backend is now generally reliable (they can
...
compile and use a bunch of stuff using o32 abi). Also the rt-rk.com team
claims that the JIT support they contributed, is complete for the mips
"static" relocation model.
llvm-svn: 142950
2011-10-25 20:09:31 +00:00
Bill Wendling
99ba0b6339
Comment out external projects so that they can be refreshed for 3.0.
...
llvm-svn: 142893
2011-10-25 01:01:42 +00:00
Dan Gohman
b43c36f391
Remove the Blackfin backend.
...
llvm-svn: 142880
2011-10-25 00:05:42 +00:00
Dan Gohman
dfc96aea90
Remove the SystemZ backend.
...
llvm-svn: 142878
2011-10-24 23:48:32 +00:00
Tanya Lattner
8a8d6466ff
Revert r141657 for now. This has broken css and changed links on llvm.org. I'd like to understand exactly why the links have changed and if a newer doxygen is required. This may be reapplied once we upgrade on llvm.org and it is fully tested.
...
llvm-svn: 142686
2011-10-21 20:51:54 +00:00
David Greene
fba251f267
Document Paste
...
Document paste as a shorthand for !strconcat.
llvm-svn: 142528
2011-10-19 13:04:59 +00:00
David Greene
e7c3ea9704
Document NAME
...
Document NAME as a special member of def records that should
not be defined anywhere else.
llvm-svn: 142527
2011-10-19 13:04:56 +00:00
Bill Wendling
d569648aa5
Remove mention of llvm-gcc and add mention of dragonegg.
...
llvm-svn: 142243
2011-10-17 20:28:54 +00:00
Bill Wendling
3fafe6d3f8
Install the PNG file as well. PR4780.
...
llvm-svn: 142125
2011-10-16 08:24:30 +00:00
Bill Wendling
01e554f905
Update tutorial to reflect the current APIs. Also correct a small omission in
...
LangImpl6.html (it needed to defined the 'binary :' operator).
PR9052
llvm-svn: 142123
2011-10-16 08:06:54 +00:00
Bill Wendling
e33d040331
Enable CREATE_SUBDIRS for a performance win, because there are a lot of files being generated.
...
llvm-svn: 142112
2011-10-16 06:43:10 +00:00
NAKAMURA Takumi
bccadaf1a3
CMake: Introduce LLVM_CLANG_SOURCE_DIR, "tools/clang" by default. Clang will not be built if LLVM_CLANG_SOURCE_DIR="" or ${LLVM_CLANG_SOURCE_DIR}/CMakeLists.txt is not found.
...
llvm-svn: 142103
2011-10-16 02:54:33 +00:00
Douglas Gregor
936c75bd51
Mention some of the improvements in Clang 3.0 over 2.9.
...
llvm-svn: 142029
2011-10-15 00:48:01 +00:00
Lang Hames
91fc0905a2
Fixed typo.
...
llvm-svn: 141906
2011-10-13 23:04:49 +00:00
Eli Friedman
c1702c8f22
Enhance the memdep interface so that users can tell the difference between a dependency which cannot be calculated and a path reaching the entry point of the function. This patch introduces isNonFuncLocal, which replaces isUnknown in some cases.
...
Patch by Xiaoyi Guo.
llvm-svn: 141896
2011-10-13 22:14:57 +00:00
NAKAMURA Takumi
9423f99d68
docs/CMake.html: Clarify LLVM_LIT_TOOLS_DIR as :PATH.
...
llvm-svn: 141872
2011-10-13 17:36:02 +00:00
Chris Lattner
7bd0ea3487
target data is a contract with the code generator, not the "processor"
...
llvm-svn: 141734
2011-10-11 23:02:17 +00:00
Chris Lattner
487974042e
improve some of the documentation around target data layout strings.
...
llvm-svn: 141733
2011-10-11 23:01:39 +00:00
Eric Christopher
6647b83087
Add a new wrapper node for a DILexicalBlock that encapsulates it and a
...
file. Since it should only be used when necessary propagate it through
the backend code generation and tweak testcases accordingly.
This helps with code like in clang's test/CodeGen/debug-info-line.c where
we have multiple #line directives within a single lexical block and want
to generate only a single block that contains each file change.
Part of rdar://10246360
llvm-svn: 141729
2011-10-11 22:59:11 +00:00
Daniel Dunbar
037fc9311a
Clean up a few references to System/. We still have docs/SystemLibrary.html
...
lying around...
llvm-svn: 141703
2011-10-11 20:02:52 +00:00
Lang Hames
ff2c52ce63
Fixed docs to reflect the proper default value and behaviour of the natural stack alignment.
...
llvm-svn: 141687
2011-10-11 17:50:14 +00:00
Duncan Sands
1cb28fdd54
Mention the cmake build guide on the main docs page.
...
llvm-svn: 141674
2011-10-11 16:35:07 +00:00
Bill Wendling
c8a78ded33
Update to a newer doxygen version. PR8214. Patch by Jeremy Huddleston.
...
llvm-svn: 141657
2011-10-11 07:25:38 +00:00
Bill Wendling
ffc3bd0e08
Minor modifications to make the Hello World example resemble the Hello World
...
pass in the tree. Also some minor formatting changes.
PR9413
llvm-svn: 141655
2011-10-11 07:03:52 +00:00
Bill Wendling
b4d076e37e
Use the proper name for "externally visible" linkage -- 'external'. This is the
...
keyword in LLVM for externally visible linkage.
PR10636
llvm-svn: 141649
2011-10-11 06:41:28 +00:00
Bill Wendling
05d9151d2c
Reword the SetVector description to reflect reality.
...
Patch by Michael Ilseman!
llvm-svn: 141648
2011-10-11 06:33:56 +00:00
Lang Hames
de7ab801cc
Add a natural stack alignment field to TargetData, and prevent InstCombine from
...
promoting allocas to preferred alignments that exceed the natural
alignment. This avoids some potentially expensive dynamic stack realignments.
The natural stack alignment is set in target data strings via the "S<size>"
option. Size is in bits and must be a multiple of 8. The natural stack alignment
defaults to "unspecified" (represented by a zero value), and the "unspecified"
value does not prevent any alignment promotions. Target maintainers that care
about avoiding promotions should explicitly add the "S<size>" option to their
target data strings.
llvm-svn: 141599
2011-10-10 23:42:08 +00:00
David Greene
33f619971f
Remove Multidefs
...
Multidefs are a bit unwieldy and incomplete. Remove them in favor of
another mechanism, probably for loops.
Revert "Make Test More Thorough"
Revert "Fix a typo."
Revert "Vim Support for Multidefs"
Revert "Emacs Support for Multidefs"
Revert "Document Multidefs"
Revert "Add a Multidef Test"
Revert "Update Test for Multidefs"
Revert "Process Multidefs"
Revert "Parser Multidef Support"
Revert "Lexer Support for Multidefs"
Revert "Add Multidef Data Structures"
llvm-svn: 141378
2011-10-07 18:25:05 +00:00
Evan Cheng
77f79a1a4f
Jakob is the code owner of register allocation and TableGen.
...
llvm-svn: 141372
2011-10-07 17:26:38 +00:00
David Greene
b6eb065ffc
Fix a typo.
...
Fix the argument passed in the multidef example.
llvm-svn: 141243
2011-10-05 23:16:44 +00:00
David Greene
ce3852464a
Document Multidefs
...
Provide documentation for multidefs, explaining in detail how they
work.
llvm-svn: 141236
2011-10-05 22:42:49 +00:00
David Chisnall
b24263ec49
Tell people using the tutorial how to make it actually work.
...
llvm-svn: 141103
2011-10-04 19:36:30 +00:00
Rafael Espindola
74e5a2a712
Remove last references to hotpatch.
...
llvm-svn: 141057
2011-10-04 03:08:43 +00:00
Rafael Espindola
cc349c8dd8
Add the returns_twice attribute to LLVM.
...
llvm-svn: 141001
2011-10-03 14:45:37 +00:00
Torok Edwin
52cac090c4
some 3.0 API notes
...
llvm-svn: 140851
2011-09-30 13:07:52 +00:00
Eric Christopher
508503b473
Add a note on removing LLVMC.
...
llvm-svn: 140715
2011-09-28 19:47:28 +00:00
Bill Wendling
b762df5840
Remove incorrect passage.
...
llvm-svn: 140631
2011-09-27 20:16:57 +00:00
Bill Wendling
d9f23c4f6b
Add FCA to the lexicon.
...
llvm-svn: 140619
2011-09-27 18:44:01 +00:00
Bill Wendling
614c8e5146
Remove some not-really-correct wording.
...
llvm-svn: 140600
2011-09-27 10:37:28 +00:00
Bill Wendling
878a67397d
Fix grammar.
...
llvm-svn: 140564
2011-09-26 21:10:31 +00:00
Bill Wendling
dec0ee3237
Remove dead table entry.
...
llvm-svn: 140563
2011-09-26 21:08:28 +00:00
Bill Wendling
58c80f886c
Some minor (and more involved) cleanups. No real context changes.
...
llvm-svn: 140561
2011-09-26 21:06:33 +00:00
Chris Lattner
ad4ab93e48
Duncan owns dragonegg too, it's all his fault :)
...
llvm-svn: 140430
2011-09-23 22:46:43 +00:00
Chris Lattner
e643b854a5
Resynch intro to section with copyright section.
...
llvm-svn: 140326
2011-09-22 18:54:31 +00:00
Bill Wendling
91fecb36b6
Remove mention of llvm-gcc and llvm-g++. -Ministry of Truth
...
llvm-svn: 140163
2011-09-20 18:24:04 +00:00
Bill Wendling
12e58f9c22
Remove some missed references to dead intrinsics.
...
llvm-svn: 140129
2011-09-20 01:14:54 +00:00
Bill Wendling
011618454d
Update the EH doc to reflect the new EH model.
...
This basically involved removing references to llvm.eh.exception,
llvm.eh.selector, and llvm.eh.resume and replacing them with references to the
landingpad and resume instructions.
llvm-svn: 140128
2011-09-20 01:08:53 +00:00
Eric Christopher
cafab2ef2e
More llvmc bits. Spotted by Benjamin on IRC.
...
llvm-svn: 140124
2011-09-20 00:42:28 +00:00
Eric Christopher
69c02e9476
Remove more of llvmc and dependencies.
...
llvm-svn: 140121
2011-09-20 00:34:27 +00:00
Jakob Stoklund Olesen
1c4831764c
X86 has asterisk-free inline asm support now.
...
Floating point stack inline asm works.
llvm-svn: 140033
2011-09-19 18:15:46 +00:00
Bill Wendling
fd24834588
Remove obsolete .pod files.
...
llvm-svn: 140000
2011-09-18 12:52:55 +00:00
Bill Wendling
1e7126d68c
Fix up the formating and change llvm-gcc to clang.
...
Note that this example doesn't work anymore!
llvm-svn: 139999
2011-09-18 12:51:05 +00:00
Bill Wendling
2488f168cc
Remove mention of llvm-gcc/llvm-g++ from doc.
...
llvm-svn: 139998
2011-09-18 12:37:20 +00:00
Chad Rosier
f0d3786945
Add -rfunc and -rglob options to llvm-extract to support regular
...
expression matching.
llvm-svn: 139945
2011-09-16 21:09:17 +00:00
Nick Lewycky
ac17552138
s/SequeuentiallyConsistent/SequentiallyConsistent/g
...
llvm-svn: 139481
2011-09-11 15:50:05 +00:00
Nick Lewycky
bdf62403d9
Fix verb tense agreement.
...
llvm-svn: 139480
2011-09-11 15:30:08 +00:00
Devang Patel
24a674bfc7
Update docs to reflect recent addition of new CompileUnit elements.
...
llvm-svn: 139374
2011-09-09 17:07:15 +00:00
Duncan Sands
a098436b32
Split the init.trampoline intrinsic, which currently combines GCC's
...
init.trampoline and adjust.trampoline intrinsics, into two intrinsics
like in GCC. While having one combined intrinsic is tempting, it is
not natural because typically the trampoline initialization needs to
be done in one function, and the result of adjust trampoline is needed
in a different (nested) function. To get around this llvm-gcc hacks the
nested function lowering code to insert an additional parent variable
holding the adjust.trampoline result that can be accessed from the child
function. Dragonegg doesn't have the luxury of tweaking GCC code, so it
stored the result of adjust.trampoline in the memory GCC set aside for
the trampoline itself (this is always available in the child function),
and set up some new memory (using an alloca) to hold the trampoline.
Unfortunately this breaks Go which allocates trampoline memory on the
heap and wants to use it even after the parent has exited (!). Rather
than doing even more hacks to get Go working, it seemed best to just use
two intrinsics like in GCC. Patch mostly by Sanjoy Das.
llvm-svn: 139140
2011-09-06 13:37:06 +00:00
Chandler Carruth
ceb4e6408a
Update the CMake documentation to the correct variables.
...
Patch by arrowdodger!
llvm-svn: 139106
2011-09-04 23:24:13 +00:00
Rafael Espindola
a45c20b049
Remove the old tail duplication pass. It is not used and is unable to update
...
ssa, so it has to be run really early in the pipeline. Any replacement
should probably use the SSAUpdater.
llvm-svn: 138841
2011-08-30 23:03:45 +00:00
Rafael Espindola
f3458e5594
Preliminary documentation in docs/SegmentedStacks.html.
...
llvm-svn: 138823
2011-08-30 20:25:49 +00:00
Tobias Grosser
e8f2009f27
Update docs: Bugpoint understands -O[123]
...
Eli added this in revision 132695.
llvm-svn: 138805
2011-08-30 18:26:11 +00:00
Eli Friedman
0cb3b56de5
Some minor updates to atomic acquire/release docs in LangRef.
...
llvm-svn: 138472
2011-08-24 20:28:39 +00:00
Rafael Espindola
f9a688176f
Fix an example in the documentation.
...
Patch by Sanjoy Das!
llvm-svn: 138346
2011-08-23 18:26:56 +00:00
NAKAMURA Takumi
2b462b54b9
docs/ReleaseNotes.html: Mention that Windows 2000 will not be supported any more.
...
llvm-svn: 138297
2011-08-22 23:22:05 +00:00
Eli Friedman
95f69a42d2
Some minor wording updates and cross-linking for atomic docs. Explicitly note that we don't try to portably define what volatile in LLVM IR means.
...
llvm-svn: 138274
2011-08-22 21:35:27 +00:00
Devang Patel
59e27c5f12
Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly.
...
llvm-svn: 138145
2011-08-19 23:28:12 +00:00
John Criswell
f0d536a445
Fixed some punctuation. Sentences can be combined with semi-colons but not
...
commas.
llvm-svn: 138043
2011-08-19 16:57:55 +00:00
Devang Patel
eb1bb4e419
Until now all debug info MDNodes referred to a root MDNode, a compile unit. This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL.
...
MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up.
llvm-svn: 137778
2011-08-16 22:09:43 +00:00
Devang Patel
2b8acaf4f3
Add a finalize() hook, that'll let DIBuilder construct compile unit lazily.
...
llvm-svn: 137673
2011-08-15 23:00:00 +00:00
Eli Friedman
d8874dc1d6
Fix the getelementptr description so it is extremely clear that array indices passed to getelementptr are signed.
...
llvm-svn: 137538
2011-08-12 23:37:55 +00:00
Eli Friedman
02e737b08e
Move "atomic" and "volatile" designations on instructions after the opcode
...
of the instruction.
Note that this change affects the existing non-atomic load and store
instructions; the parser now accepts both forms, and the change is noted
in the release notes.
llvm-svn: 137527
2011-08-12 22:50:01 +00:00
Eli Friedman
c13f05c978
Some reorganization of atomic docs. Added explicit section for NonAtomic. Added example for illegal non-atomic operation.
...
llvm-svn: 137520
2011-08-12 21:50:54 +00:00
Bill Wendling
fae1475823
Initial commit of the 'landingpad' instruction.
...
This implements the 'landingpad' instruction. It's used to indicate that a basic
block is a landing pad. There are several restrictions on its use (see
LangRef.html for more detail). These restrictions allow the exception handling
code to gather the information it needs in a much more sane way.
This patch has the definition, implementation, C interface, parsing, and bitcode
support in it.
llvm-svn: 137501
2011-08-12 20:24:12 +00:00
Chris Lattner
30e697ebaf
apparently variable naming conventions never got added, document the
...
prevailing convention. Thanks to Dave Zarzycki for the patch.
llvm-svn: 137497
2011-08-12 19:49:16 +00:00
Chris Lattner
2c945b3d88
minor typo
...
llvm-svn: 137496
2011-08-12 19:48:19 +00:00
Chris Lattner
3253173c34
fix one reference that slipped through, thanks Eli
...
llvm-svn: 137488
2011-08-12 18:12:40 +00:00
Chris Lattner
190552d3e0
add new accessors to reflect new terminology in struct types.
...
llvm-svn: 137468
2011-08-12 17:31:02 +00:00
NAKAMURA Takumi
5dd4132ab8
docs/GettingStarted.html: [Git] Add instructions how to generate patchset with Git.
...
llvm-svn: 137444
2011-08-12 07:48:06 +00:00
NAKAMURA Takumi
d92a5fe2fb
docs/GettingStarted.html: [Git] Mention branch.master.rebase for the tracking branch.
...
Thanks to Jeff Yasskin to reword.
llvm-svn: 137443
2011-08-12 07:48:01 +00:00
NAKAMURA Takumi
d9b1c6ecd0
docs/GettingStarted.html: [Git] Split the subsubsection for committer's section.
...
llvm-svn: 137442
2011-08-12 07:47:55 +00:00
NAKAMURA Takumi
0300d88af5
docs: Update HTML markup(s).
...
llvm-svn: 137433
2011-08-12 06:17:17 +00:00
NAKAMURA Takumi
8e01926b24
docs/llvm.css: Introduce <blockquote><pre>. It may be used as blockquoted "doc_code".
...
llvm-svn: 137432
2011-08-12 06:17:11 +00:00
Eli Friedman
4826b7f13a
Misc atomic doc tweaks; reordering operations across Acquire/Release can be beneficial.
...
llvm-svn: 137425
2011-08-12 03:38:32 +00:00
Eli Friedman
c67b9d3879
Fix up this paragraph (including a nasty typo).
...
llvm-svn: 137408
2011-08-12 01:26:06 +00:00
Andrew Trick
7bab70a7a5
Clarify the definition of SequentiallyConsistent operations.
...
llvm-svn: 137403
2011-08-12 00:36:38 +00:00
Eli Friedman
1696033373
Fix mismatched tag.
...
llvm-svn: 137388
2011-08-11 23:48:52 +00:00
Eli Friedman
7b8cc7e938
Revision to Atomics guide, per Chris's comments.
...
llvm-svn: 137386
2011-08-11 23:44:25 +00:00
Justin Holewinski
6c6a7fd692
PTX: Add basic documentation to CodeGenerator.html
...
llvm-svn: 137315
2011-08-11 17:34:16 +00:00
Eli Friedman
224fe0d4cb
Changes per Jeffrey's comments.
...
llvm-svn: 137243
2011-08-10 20:17:43 +00:00
Eli Friedman
753625397b
Fix minor typo.
...
llvm-svn: 137177
2011-08-09 23:26:12 +00:00
Eli Friedman
59b66883ea
Representation of 'atomic load' and 'atomic store' in IR.
...
llvm-svn: 137170
2011-08-09 23:02:53 +00:00
Eli Friedman
84cd7927b9
First draft of the practical guide to atomics.
...
This is mostly descriptive of the intended state once atomic load and store have landed.
llvm-svn: 137145
2011-08-09 21:07:10 +00:00
Bill Wendling
49bfb12c46
Clean up the grammar for the landingpad instruction.
...
llvm-svn: 137042
2011-08-08 08:06:05 +00:00
Bill Wendling
a503fc0494
Fix typo found by John.
...
llvm-svn: 137040
2011-08-08 07:58:58 +00:00
Jay Foad
2755e07e1e
Reword.
...
llvm-svn: 136866
2011-08-04 10:43:43 +00:00
Bill Wendling
2d3138c112
Remove the LowerSetJmp pass. It wasn't used effectively by any of the targets.
...
This is some of my original LLVM code. *wipes tear*
llvm-svn: 136821
2011-08-03 22:18:20 +00:00
Bill Wendling
c5a136103b
Go back to the old definition. It's not clear that a 'resume' can be 'outlined' from the function with the landing pad for all platforms.
...
llvm-svn: 136799
2011-08-03 18:37:32 +00:00
Bill Wendling
0524b8d1f4
Explain how clauses are applied.
...
llvm-svn: 136790
2011-08-03 17:17:06 +00:00
Bill Wendling
bbcb7cde34
Add the documentation for the 'landingpad' instruction. Improve the 'invoke'
...
instruction's documentation to reference the landingpad and resume instructions.
llvm-svn: 136729
2011-08-02 21:52:38 +00:00
Chris Lattner
d3d65ab791
no need to count the terminators.
...
llvm-svn: 136718
2011-08-02 20:29:13 +00:00
Bill Wendling
6bc7caa334
Duncan's english is better than mine. :-)
...
llvm-svn: 136684
2011-08-02 06:39:13 +00:00
Bill Wendling
46ffaa95bd
Remove the LLVMBuildUnwind C API function.
...
The 'unwind' function is going away with the new EH rewrite. This is step 0 in
keeping front-ends from using it.
llvm-svn: 136683
2011-08-02 06:20:17 +00:00
John McCall
c26ea5a51a
I am the code owner for Clang's IR generation; this has been true
...
for awhile, but it's good to make this official.
Just to be clear, Doug and Ted "elected" me to this position.
Might as well add myself to the credits list while I'm at it.
llvm-svn: 136673
2011-08-02 01:38:19 +00:00
Eli Friedman
4bc9f3c174
Minor wording tweak for memory model.
...
llvm-svn: 136668
2011-08-02 01:15:34 +00:00
Roman Divacky
2fbb48ae20
Fix a typo.
...
llvm-svn: 136646
2011-08-01 20:38:27 +00:00
Bill Wendling
ae8b5ea838
Fix some validation errors.
...
llvm-svn: 136591
2011-07-31 06:47:33 +00:00
Bill Wendling
537603b35d
Fix some validation errors.
...
llvm-svn: 136590
2011-07-31 06:45:03 +00:00
Bill Wendling
f891bf8b30
Add the 'resume' instruction for the new EH rewrite.
...
This adds the 'resume' instruction class, IR parsing, and bitcode reading and
writing. The 'resume' instruction resumes propagation of an existing (in-flight)
exception whose unwinding was interrupted with a 'landingpad' instruction (to be
added later).
llvm-svn: 136589
2011-07-31 06:30:59 +00:00
Bill Wendling
ad088e6724
Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,
...
r136339, r136341, r136369, r136387, r136392, r136396, r136429, r136430, r136444,
r136445, r136446, r136253 pending review.
llvm-svn: 136556
2011-07-30 05:42:50 +00:00
Eli Friedman
c9a551ebed
LangRef and basic memory-representation/reading/writing for 'cmpxchg' and
...
'atomicrmw' instructions, which allow representing all the current atomic
rmw intrinsics.
The allowed operands for these instructions are heavily restricted at the
moment; we can probably loosen it a bit, but supporting general
first-class types (where it makes sense) might get a bit complicated,
given how SelectionDAG works.
As an initial cut, these operations do not support specifying an alignment,
but it would be possible to add if we think it's useful. Specifying an
alignment lower than the natural alignment would be essentially
impossible to support on anything other than x86, but specifying a greater
alignment would be possible. I can't think of any useful optimizations which
would use that information, but maybe someone else has ideas.
Optimizer/codegen support coming soon.
llvm-svn: 136404
2011-07-28 21:48:00 +00:00
Bill Wendling
6c923bb8d9
Merge the contents from exception-handling-rewrite to the mainline.
...
This adds the new instructions 'landingpad' and 'resume'.
llvm-svn: 136253
2011-07-27 20:18:04 +00:00
Devang Patel
ac0a1f6146
Update document listing DIVariable elements to reflect recent changes.
...
llvm-svn: 136228
2011-07-27 18:14:50 +00:00
Bill Wendling
f6a91cf41b
Fix a typo.
...
llvm-svn: 136133
2011-07-26 20:42:28 +00:00
Andrew Trick
e69a19569b
Updating stale documentation on regalloc modes.
...
llvm-svn: 136112
2011-07-26 18:31:49 +00:00
Bill Wendling
16b867416f
Clean up the HTML here a bit.
...
llvm-svn: 136074
2011-07-26 10:41:15 +00:00
Bill Wendling
dd7805a24d
Describe the reasoning for compact unwind in better terms. Thanks to Nick Kledzik for the description.
...
llvm-svn: 136064
2011-07-26 07:58:09 +00:00
Eli Friedman
fee02c6c13
Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier.
...
This is just a LangRef entry and reading/writing/memory representation; optimizer+codegen support coming soon.
llvm-svn: 136009
2011-07-25 23:16:38 +00:00
Nick Lewycky
f6e3711674
80 columns.
...
llvm-svn: 135972
2011-07-25 21:13:23 +00:00
Bill Wendling
e2225058ac
Fix some typos.
...
llvm-svn: 135956
2011-07-25 20:25:03 +00:00
Bill Wendling
c708441e3f
An initial description of the compact unwind encoding.
...
llvm-svn: 135955
2011-07-25 20:19:48 +00:00
Rafael Espindola
163d675e72
Add uwtable to the langref.
...
llvm-svn: 135913
2011-07-25 15:27:59 +00:00
Jay Foad
d1b7849d49
Convert GetElementPtrInst to use ArrayRef.
...
llvm-svn: 135904
2011-07-25 09:48:08 +00:00
Chris Lattner
2a843827a2
clarify that opaque is actually a struct type, PR10430
...
llvm-svn: 135861
2011-07-23 19:59:08 +00:00
Chris Lattner
57132e88b7
how about that, StringRef doesn't allow any mutation, thanks to
...
Frits for straightening me out.
llvm-svn: 135856
2011-07-23 17:18:57 +00:00
Chris Lattner
2e3b0769da
add section to ToC
...
llvm-svn: 135811
2011-07-22 21:36:29 +00:00
Chris Lattner
3dbcd8eca7
write the long-overdue strings section of the data structure guide.
...
llvm-svn: 135809
2011-07-22 21:34:12 +00:00
Chris Lattner
355f4bb960
move the section for string-like containers to follow the section for sequential containers.
...
llvm-svn: 135799
2011-07-22 20:46:49 +00:00
Jay Foad
040dd82f44
Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to use
...
ArrayRef.
llvm-svn: 135761
2011-07-22 08:16:57 +00:00
Eli Friedman
f12e4e914b
Some LangRef tweaks, per Dan's comments.
...
llvm-svn: 135744
2011-07-22 03:04:45 +00:00
Jay Foad
857a48a8d7
Sort case-insensitively.
...
llvm-svn: 135674
2011-07-21 14:42:51 +00:00
Jay Foad
ed8db7d9df
Convert ConstantExpr::getGetElementPtr and
...
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
2011-07-21 14:31:17 +00:00
NAKAMURA Takumi
72c4af5d66
docs/GettingStarted.html: Tweak style.
...
llvm-svn: 135637
2011-07-20 23:37:51 +00:00
NAKAMURA Takumi
5d2a7328ed
docs/GettingStarted.html: Fix a typo and tweak a command line.
...
llvm-svn: 135632
2011-07-20 22:58:28 +00:00
Eli Friedman
35b54aa148
Commit LangRef changes for LLVM concurrency model. Start of supporting C++0x memory model and atomics. See thread on llvmdev titled "Reviving the new LLVM concurrency model".
...
llvm-svn: 135624
2011-07-20 21:35:53 +00:00
Bob Wilson
088df09f27
Revert "Update docs to reflect r135457."
...
This reverts commit ba034c0a2e71303c7cf3f43ca8e69dc8436b32e2.
llvm-svn: 135485
2011-07-19 16:31:58 +00:00
Jay Foad
b992a635fb
Convert SimplifyGEPInst to use ArrayRef.
...
llvm-svn: 135482
2011-07-19 15:07:52 +00:00
Jay Foad
528bedaf5d
Convert gep_type_begin and gep_type_end to use ArrayRef.
...
llvm-svn: 135481
2011-07-19 14:42:50 +00:00
Jay Foad
bf904773bb
Convert TargetData::getIndexedOffset to use ArrayRef.
...
llvm-svn: 135478
2011-07-19 14:01:37 +00:00