1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/docs
Chris Lattner a106725fc5 Land the long talked about "type system rewrite" patch. This
patch brings numerous advantages to LLVM.  One way to look at it
is through diffstat:
 109 files changed, 3005 insertions(+), 5906 deletions(-)

Removing almost 3K lines of code is a good thing.  Other advantages
include:

1. Value::getType() is a simple load that can be CSE'd, not a mutating
   union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
   uniques them.  This means that the compiler doesn't merge them structurally
   which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
   struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
   in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead 
   "const Type *" everywhere.

Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.  
"LLVM 3.0" is the right time to do this.

There are still some cleanups pending after this, this patch is large enough
as-is.

llvm-svn: 134829
2011-07-09 17:41:24 +00:00
..
CommandGuide Comment edit. 2011-04-23 03:27:19 +00:00
HistoricalNotes Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
img Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
tutorial docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
AliasAnalysis.html Update documentation: -basicaa does chaining these days. 2011-05-24 22:01:32 +00:00
BitCodeFormat.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
BranchWeightMetadata.html Add documenation about "branch_weight" metadata and __builtin_expect instruction 2011-07-06 18:31:02 +00:00
Bugpoint.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CFEBuildInstrs.html docs: Canonicalize URLs. 2011-04-09 02:13:37 +00:00
CMake.html Update instructions: LLVM.cmake is now LLVMConfig.cmake 2011-05-01 02:12:20 +00:00
CodeGenerator.html document thiscall, PR9101 2011-05-22 22:28:47 +00:00
CodingStandards.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CommandLine.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
CompilerDriver.html 1. Keep lines in 80 columns. 2011-05-06 22:11:29 +00:00
CompilerDriverTutorial.html Regenerate. 2011-04-24 14:17:37 +00:00
CompilerWriterInfo.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
DebuggingJITedCode.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
DeveloperPolicy.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
doxygen.cfg.in Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
doxygen.css docs/doxygen.css: Tweak padding on memdoc. 2011-04-29 09:59:12 +00:00
doxygen.footer docs: Canonicalize URLs. 2011-04-09 02:13:37 +00:00
doxygen.header Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
doxygen.intro Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ExceptionHandling.html Implement and document the llvm.eh.resume intrinsic, which is 2011-05-28 07:45:59 +00:00
ExtendedIntegerResults.txt Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ExtendingLLVM.html The enum was moved to ISDOpcodes.h. 2011-06-30 06:37:07 +00:00
FAQ.html docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">. 2011-04-18 23:59:50 +00:00
GarbageCollection.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GCCFEBuildInstrs.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GetElementPtr.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GettingStarted.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GettingStartedVS.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
GoldPlugin.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
HowToReleaseLLVM.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
HowToSubmitABug.html Typo. 2011-06-07 20:03:13 +00:00
index.html Add documenation about "branch_weight" metadata and __builtin_expect instruction 2011-07-06 18:31:02 +00:00
LangRef.html Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
Lexicon.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
LinkTimeOptimization.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
llvm.css docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html. 2011-04-21 01:52:00 +00:00
Makefile Don't run ocamldoc if it's not installed 2011-02-09 18:32:04 +00:00
MakefileGuide.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
Packaging.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
Passes.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
ProgrammersManual.html Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
Projects.html Corrections and additional information for "Creating and LLVM Project" 2011-06-03 02:20:48 +00:00
re_format.7 Revert r103213. It broke several sections of live website. 2010-05-07 00:28:04 +00:00
ReleaseNotes.html Clean out the 2.9 Release Notes. Mostly limited to What's New in LLVM 2011-05-27 22:50:46 +00:00
SourceLevelDebugging.html Fix html formatting. 2011-05-31 18:06:14 +00:00
SystemLibrary.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
TableGenFundamentals.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
TestingGuide.html Correct typos in TestingGuide.html 2011-05-18 18:07:16 +00:00
UsingLibraries.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00
WritingAnLLVMBackend.html Use set operations instead of plain lists to enumerate register classes. 2011-06-15 23:28:14 +00:00
WritingAnLLVMPass.html docs: Introduce cascading style <div> and <p> continued on <h[2-5]>. 2011-04-23 00:30:22 +00:00