From fc8d930f6ef1aa4fbd402c5b36f734214863d5d4 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 18 Apr 2011 23:59:50 +0000 Subject: docs: Use as Heading elements instead of
. H1 ... doc_title H2 ... doc_section H3 ... doc_subsection H4 ... doc_subsubsection llvm-svn: 129736 --- llvm/docs/tutorial/LangImpl1.html | 8 +++---- llvm/docs/tutorial/LangImpl2.html | 22 +++++++++---------- llvm/docs/tutorial/LangImpl3.html | 15 ++++++------- llvm/docs/tutorial/LangImpl4.html | 14 ++++++------ llvm/docs/tutorial/LangImpl5.html | 39 +++++++++++++--------------------- llvm/docs/tutorial/LangImpl6.html | 14 ++++++------ llvm/docs/tutorial/LangImpl7.html | 21 ++++++++---------- llvm/docs/tutorial/LangImpl8.html | 24 ++++++++------------- llvm/docs/tutorial/OCamlLangImpl1.html | 8 +++---- llvm/docs/tutorial/OCamlLangImpl2.html | 22 +++++++++---------- llvm/docs/tutorial/OCamlLangImpl3.html | 15 ++++++------- llvm/docs/tutorial/OCamlLangImpl4.html | 14 ++++++------ llvm/docs/tutorial/OCamlLangImpl5.html | 39 +++++++++++++--------------------- llvm/docs/tutorial/OCamlLangImpl6.html | 14 ++++++------ llvm/docs/tutorial/OCamlLangImpl7.html | 21 ++++++++---------- llvm/docs/tutorial/OCamlLangImpl8.html | 24 ++++++++------------- llvm/docs/tutorial/index.html | 2 +- 17 files changed, 135 insertions(+), 181 deletions(-) (limited to 'llvm/docs/tutorial') diff --git a/llvm/docs/tutorial/LangImpl1.html b/llvm/docs/tutorial/LangImpl1.html index c96cb9fd44f..cc2fa9735f3 100644 --- a/llvm/docs/tutorial/LangImpl1.html +++ b/llvm/docs/tutorial/LangImpl1.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Tutorial Introduction and the Lexer
+

Kaleidoscope: Tutorial Introduction and the Lexer

- +

Tutorial Introduction

@@ -123,7 +123,7 @@ languages!

- +

The Basic Language

@@ -181,7 +181,7 @@ a Mandelbrot Set at various levels of magnification.

- +

The Lexer

diff --git a/llvm/docs/tutorial/LangImpl2.html b/llvm/docs/tutorial/LangImpl2.html index ac4f1ee6df7..bfe8d3fca09 100644 --- a/llvm/docs/tutorial/LangImpl2.html +++ b/llvm/docs/tutorial/LangImpl2.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Implementing a Parser and AST
+

Kaleidoscope: Implementing a Parser and AST

- +

Chapter 2 Introduction

@@ -61,7 +61,7 @@ Tree.

- +

The Abstract Syntax Tree (AST)

@@ -178,7 +178,7 @@ bodies in Kaleidoscope.

- +

Parser Basics

@@ -239,8 +239,7 @@ piece of our grammar: numeric literals.

- +

Basic Expression Parsing

@@ -394,8 +393,7 @@ They are a bit more complex.

- +

Binary Expression Parsing

@@ -617,7 +615,7 @@ handle function definitions, etc.

- +

Parsing the Rest

@@ -714,7 +712,7 @@ actually execute this code we've built!

- +

The Driver

@@ -753,7 +751,7 @@ type "4+5;", and the parser will know you are done.

- +

Conclusions

@@ -790,7 +788,7 @@ Representation (IR) from the AST.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl3.html b/llvm/docs/tutorial/LangImpl3.html index 42e51696d91..468a1bfe5ff 100644 --- a/llvm/docs/tutorial/LangImpl3.html +++ b/llvm/docs/tutorial/LangImpl3.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Code generation to LLVM IR
+

Kaleidoscope: Code generation to LLVM IR

- +

Chapter 3 Introduction

@@ -57,7 +57,7 @@ releases page.

- +

Code Generation Setup

@@ -147,7 +147,7 @@ has already been done, and we'll just use it to emit code.
- +

Expression Code Generation

@@ -293,7 +293,7 @@ basic framework.

- +

Function Code Generation

@@ -515,8 +515,7 @@ def bar() foo(1, 2); # error, unknown function "foo"
- +

Driver Changes and Closing Thoughts

@@ -657,7 +656,7 @@ support to this so we can actually start running code!

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl4.html b/llvm/docs/tutorial/LangImpl4.html index 2d876229c41..d73f8a351d8 100644 --- a/llvm/docs/tutorial/LangImpl4.html +++ b/llvm/docs/tutorial/LangImpl4.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Adding JIT and Optimizer Support
+

Kaleidoscope: Adding JIT and Optimizer Support

- +

Chapter 4 Introduction

@@ -48,8 +48,7 @@ for the Kaleidoscope language.

- +

Trivial Constant Folding

@@ -134,8 +133,7 @@ range of optimizations that you can use, in the form of "passes".

- +

LLVM Optimization Passes

@@ -266,7 +264,7 @@ executing it!

- +

Adding a JIT Compiler

@@ -474,7 +472,7 @@ tackling some interesting LLVM IR issues along the way.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl5.html b/llvm/docs/tutorial/LangImpl5.html index 2c1a07f6144..4fbf7beca42 100644 --- a/llvm/docs/tutorial/LangImpl5.html +++ b/llvm/docs/tutorial/LangImpl5.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Extending the Language: Control Flow
+

Kaleidoscope: Extending the Language: Control Flow

- +

Chapter 5 Introduction

@@ -65,7 +65,7 @@ have an if/then/else expression plus a simple 'for' loop.

- +

If/Then/Else

@@ -111,8 +111,7 @@ pieces.

- +

Lexer Extensions for If/Then/Else

@@ -146,8 +145,7 @@ stuff:

- +

AST Extensions for If/Then/Else

@@ -172,8 +170,7 @@ public:
- +

Parser Extensions for If/Then/Else

@@ -231,7 +228,7 @@ static ExprAST *ParsePrimary() {
- +

LLVM IR for If/Then/Else

@@ -347,8 +344,7 @@ directly.

- +

Code Generation for If/Then/Else

@@ -501,7 +497,7 @@ another useful expression that is familiar from non-functional languages...

- +

'for' Loop Expression

@@ -536,8 +532,7 @@ support this.

- +

Lexer Extensions for the 'for' Loop

@@ -566,8 +561,7 @@ the 'for' Loop
- +

AST Extensions for the 'for' Loop

@@ -593,8 +587,7 @@ public:
- +

Parser Extensions for the 'for' Loop

@@ -653,8 +646,7 @@ static ExprAST *ParseForExpr() {
- +

LLVM IR for the 'for' Loop

@@ -699,8 +691,7 @@ expressions, and some basic blocks. Lets see how this fits together.

- +

Code Generation for the 'for' Loop

@@ -877,7 +868,7 @@ language.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html index 72fa9c3b080..510d9dde09a 100644 --- a/llvm/docs/tutorial/LangImpl6.html +++ b/llvm/docs/tutorial/LangImpl6.html @@ -11,7 +11,7 @@ -
Kaleidoscope: Extending the Language: User-defined Operators
+

Kaleidoscope: Extending the Language: User-defined Operators

- +

Chapter 6 Introduction

@@ -60,7 +60,7 @@ an example of what you can build with Kaleidoscope and its feature set.

- +

User-defined Operators: the Idea

@@ -125,7 +125,7 @@ operators.

- +

User-defined Binary Operators

@@ -342,7 +342,7 @@ see what it takes.

- +

User-defined Unary Operators

@@ -491,7 +491,7 @@ is simpler primarily because it doesn't need to handle any predefined operators.
- +

Kicking the Tires

@@ -796,7 +796,7 @@ add variable mutation without building SSA in your front-end.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html index 732d9086921..fc49d070476 100644 --- a/llvm/docs/tutorial/LangImpl7.html +++ b/llvm/docs/tutorial/LangImpl7.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Extending the Language: Mutable Variables
+

Kaleidoscope: Extending the Language: Mutable Variables

- +

Chapter 7 Introduction

@@ -66,7 +66,7 @@ support for this, though the way it works is a bit unexpected for some.

- +

Why is this a hard problem?

@@ -140,7 +140,7 @@ logic.

- +

Memory in LLVM

@@ -321,8 +321,7 @@ variables now!
- +

Mutable Variables in Kaleidoscope

@@ -378,8 +377,7 @@ Kaleidoscope to support new variable definitions.
- +

Adjusting Existing Variables for Mutation

@@ -648,7 +646,7 @@ we'll add the assignment operator.

- +

New Assignment Operator

@@ -745,8 +743,7 @@ add this next!
- +

User-defined Local Variables

@@ -979,7 +976,7 @@ anywhere in sight.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/LangImpl8.html b/llvm/docs/tutorial/LangImpl8.html index 5f993ecf9fa..449ac706620 100644 --- a/llvm/docs/tutorial/LangImpl8.html +++ b/llvm/docs/tutorial/LangImpl8.html @@ -11,8 +11,7 @@ -
Kaleidoscope: Conclusion and other useful LLVM - tidbits
+

Kaleidoscope: Conclusion and other useful LLVM tidbits

- +

Tutorial Conclusion

@@ -154,8 +153,7 @@ are very useful if you want to take advantage of LLVM's capabilities.

- +

Properties of the LLVM IR

@@ -166,8 +164,7 @@ get these out of the way right now, shall we?

- +

Target Independence

@@ -221,7 +218,7 @@ in-kernel language.

- +

Safety Guarantees

@@ -243,8 +240,7 @@ list if you are interested in more details.

- +

Language-Specific Optimizations

@@ -298,7 +294,7 @@ language-specific AST.
- +

Tips and Tricks

@@ -310,8 +306,7 @@ everyone rediscover them, this section talks about some of these issues.

- +

Implementing portable offsetof/sizeof

@@ -331,8 +326,7 @@ in a portable way.

- +

Garbage Collected Stack Frames

diff --git a/llvm/docs/tutorial/OCamlLangImpl1.html b/llvm/docs/tutorial/OCamlLangImpl1.html index 3ec7c1ef772..5446b7a729b 100644 --- a/llvm/docs/tutorial/OCamlLangImpl1.html +++ b/llvm/docs/tutorial/OCamlLangImpl1.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Tutorial Introduction and the Lexer
+

Kaleidoscope: Tutorial Introduction and the Lexer

- +

Tutorial Introduction

@@ -130,7 +130,7 @@ languages!

- +

The Basic Language

@@ -188,7 +188,7 @@ a Mandelbrot Set at various levels of magnification.

- +

The Lexer

diff --git a/llvm/docs/tutorial/OCamlLangImpl2.html b/llvm/docs/tutorial/OCamlLangImpl2.html index 9b002324cf6..deb592ee411 100644 --- a/llvm/docs/tutorial/OCamlLangImpl2.html +++ b/llvm/docs/tutorial/OCamlLangImpl2.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Implementing a Parser and AST
+

Kaleidoscope: Implementing a Parser and AST

- +

Chapter 2 Introduction

@@ -65,7 +65,7 @@ Tree.

- +

The Abstract Syntax Tree (AST)

@@ -146,7 +146,7 @@ bodies in Kaleidoscope.

- +

Parser Basics

@@ -181,8 +181,7 @@ piece of our grammar: numeric literals.

- +

Basic Expression Parsing

@@ -303,8 +302,7 @@ They are a bit more complex.

- +

Binary Expression Parsing

@@ -517,7 +515,7 @@ handle function definitions, etc.

- +

Parsing the Rest

@@ -596,7 +594,7 @@ actually execute this code we've built!

- +

The Driver

@@ -652,7 +650,7 @@ type "4+5;", and the parser will know you are done.

- +

Conclusions

@@ -689,7 +687,7 @@ Representation (IR) from the AST.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl3.html b/llvm/docs/tutorial/OCamlLangImpl3.html index e7c419e2662..cf5afe9b718 100644 --- a/llvm/docs/tutorial/OCamlLangImpl3.html +++ b/llvm/docs/tutorial/OCamlLangImpl3.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Code generation to LLVM IR
+

Kaleidoscope: Code generation to LLVM IR

- +

Chapter 3 Introduction

@@ -57,7 +57,7 @@ LLVM SVN to work. LLVM 2.2 and before will not work with it.

- +

Code Generation Setup

@@ -128,7 +128,7 @@ that this has already been done, and we'll just use it to emit code.

- +

Expression Code Generation

@@ -263,7 +263,7 @@ basic framework.

- +

Function Code Generation

@@ -466,8 +466,7 @@ def bar() foo(1, 2); # error, unknown function "foo"
- +

Driver Changes and Closing Thoughts

@@ -607,7 +606,7 @@ support to this so we can actually start running code!

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl4.html b/llvm/docs/tutorial/OCamlLangImpl4.html index 2219f3ae9eb..e42404561cc 100644 --- a/llvm/docs/tutorial/OCamlLangImpl4.html +++ b/llvm/docs/tutorial/OCamlLangImpl4.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Adding JIT and Optimizer Support
+

Kaleidoscope: Adding JIT and Optimizer Support

- +

Chapter 4 Introduction

@@ -52,8 +52,7 @@ for the Kaleidoscope language.

- +

Trivial Constant Folding

@@ -148,8 +147,7 @@ range of optimizations that you can use, in the form of "passes".

- +

LLVM Optimization Passes

@@ -283,7 +281,7 @@ executing it!

- +

Adding a JIT Compiler

@@ -486,7 +484,7 @@ constructs, tackling some interesting LLVM IR issues along the way.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl5.html b/llvm/docs/tutorial/OCamlLangImpl5.html index 74f28e7f030..59c17492a37 100644 --- a/llvm/docs/tutorial/OCamlLangImpl5.html +++ b/llvm/docs/tutorial/OCamlLangImpl5.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Extending the Language: Control Flow
+

Kaleidoscope: Extending the Language: Control Flow

- +

Chapter 5 Introduction

@@ -69,7 +69,7 @@ have an if/then/else expression plus a simple 'for' loop.

- +

If/Then/Else

@@ -115,8 +115,7 @@ pieces.

- +

Lexer Extensions for If/Then/Else

@@ -153,8 +152,7 @@ stuff:

- +

AST Extensions for If/Then/Else

@@ -175,8 +173,7 @@ type expr =
- +

Parser Extensions for If/Then/Else

@@ -214,7 +211,7 @@ let rec parse_primary = parser
- +

LLVM IR for If/Then/Else

@@ -331,8 +328,7 @@ directly.

- +

Code Generation for If/Then/Else

@@ -493,7 +489,7 @@ another useful expression that is familiar from non-functional languages...

- +

'for' Loop Expression

@@ -528,8 +524,7 @@ support this.

- +

Lexer Extensions for the 'for' Loop

@@ -559,8 +554,7 @@ the 'for' Loop
- +

AST Extensions for the 'for' Loop

@@ -580,8 +574,7 @@ type expr =
- +

Parser Extensions for the 'for' Loop

@@ -628,8 +621,7 @@ let rec parse_primary = parser
- +

LLVM IR for the 'for' Loop

@@ -674,8 +666,7 @@ expressions, and some basic blocks. Lets see how this fits together.

- +

Code Generation for the 'for' Loop

@@ -852,7 +843,7 @@ to our poor innocent language.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl6.html b/llvm/docs/tutorial/OCamlLangImpl6.html index c5772a2d946..693aafc0b38 100644 --- a/llvm/docs/tutorial/OCamlLangImpl6.html +++ b/llvm/docs/tutorial/OCamlLangImpl6.html @@ -12,7 +12,7 @@ -
Kaleidoscope: Extending the Language: User-defined Operators
+

Kaleidoscope: Extending the Language: User-defined Operators

- +

Chapter 6 Introduction

@@ -64,7 +64,7 @@ an example of what you can build with Kaleidoscope and its feature set.

- +

User-defined Operators: the Idea

@@ -129,7 +129,7 @@ operators.

- +

User-defined Binary Operators

@@ -320,7 +320,7 @@ see what it takes.

- +

User-defined Unary Operators

@@ -472,7 +472,7 @@ is simpler primarily because it doesn't need to handle any predefined operators.
- +

Kicking the Tires

@@ -778,7 +778,7 @@ add variable mutation without building SSA in your front-end.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl7.html b/llvm/docs/tutorial/OCamlLangImpl7.html index 42d8141a819..aebc81c08e7 100644 --- a/llvm/docs/tutorial/OCamlLangImpl7.html +++ b/llvm/docs/tutorial/OCamlLangImpl7.html @@ -13,7 +13,7 @@ -
Kaleidoscope: Extending the Language: Mutable Variables
+

Kaleidoscope: Extending the Language: Mutable Variables

- +

Chapter 7 Introduction

@@ -70,7 +70,7 @@ support for this, though the way it works is a bit unexpected for some.

- +

Why is this a hard problem?

@@ -144,7 +144,7 @@ logic.

- +

Memory in LLVM

@@ -325,8 +325,7 @@ variables now!
- +

Mutable Variables in Kaleidoscope

@@ -382,8 +381,7 @@ Kaleidoscope to support new variable definitions.
- +

Adjusting Existing Variables for Mutation

@@ -672,7 +670,7 @@ we'll add the assignment operator.

- +

New Assignment Operator

@@ -773,8 +771,7 @@ add this next!
- +

User-defined Local Variables

@@ -956,7 +953,7 @@ anywhere in sight.

- +

Full Code Listing

diff --git a/llvm/docs/tutorial/OCamlLangImpl8.html b/llvm/docs/tutorial/OCamlLangImpl8.html index 5f993ecf9fa..449ac706620 100644 --- a/llvm/docs/tutorial/OCamlLangImpl8.html +++ b/llvm/docs/tutorial/OCamlLangImpl8.html @@ -11,8 +11,7 @@ -
Kaleidoscope: Conclusion and other useful LLVM - tidbits
+

Kaleidoscope: Conclusion and other useful LLVM tidbits

- +

Tutorial Conclusion

@@ -154,8 +153,7 @@ are very useful if you want to take advantage of LLVM's capabilities.

- +

Properties of the LLVM IR

@@ -166,8 +164,7 @@ get these out of the way right now, shall we?

- +

Target Independence

@@ -221,7 +218,7 @@ in-kernel language.

- +

Safety Guarantees

@@ -243,8 +240,7 @@ list if you are interested in more details.

- +

Language-Specific Optimizations

@@ -298,7 +294,7 @@ language-specific AST.
- +

Tips and Tricks

@@ -310,8 +306,7 @@ everyone rediscover them, this section talks about some of these issues.

- +

Implementing portable offsetof/sizeof

@@ -331,8 +326,7 @@ in a portable way.

- +

Garbage Collected Stack Frames

diff --git a/llvm/docs/tutorial/index.html b/llvm/docs/tutorial/index.html index 11dd5e2d732..0a8cae2c2c9 100644 --- a/llvm/docs/tutorial/index.html +++ b/llvm/docs/tutorial/index.html @@ -12,7 +12,7 @@ -
LLVM Tutorial: Table of Contents
+

LLVM Tutorial: Table of Contents

  1. Kaleidoscope: Implementing a Language with LLVM -- cgit v1.2.3