diff options
author | Sylvestre Ledru <sledru@mozilla.com> | 2020-03-22 22:42:03 +0100 |
---|---|---|
committer | Sylvestre Ledru <sledru@mozilla.com> | 2020-03-22 22:49:33 +0100 |
commit | 72fd1033ea577a769cc855fde6b5576b82380715 (patch) | |
tree | 3a70b8b227d6153dacdfb9869c7ded34da48a932 /llvm/docs/tutorial | |
parent | 006244152d6c7dd6a390ff89b236cc7801834b46 (diff) | |
download | llvm-72fd1033ea577a769cc855fde6b5576b82380715.zip llvm-72fd1033ea577a769cc855fde6b5576b82380715.tar.gz llvm-72fd1033ea577a769cc855fde6b5576b82380715.tar.bz2 |
Doc: Links should use https
Diffstat (limited to 'llvm/docs/tutorial')
10 files changed, 14 insertions, 14 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT1.rst b/llvm/docs/tutorial/BuildingAJIT1.rst index 5c711fc..33d3689 100644 --- a/llvm/docs/tutorial/BuildingAJIT1.rst +++ b/llvm/docs/tutorial/BuildingAJIT1.rst @@ -320,4 +320,4 @@ Here is the code: +-----------------------------+-----------------------------------------------+ .. [3] See the ErrorHandling section in the LLVM Programmer's Manual - (http://llvm.org/docs/ProgrammersManual.html#error-handling) + (https://llvm.org/docs/ProgrammersManual.html#error-handling) diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst index ab9656b..9091043 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst @@ -718,7 +718,7 @@ Full Code Listing Here is the complete code listing for our running example. Because this uses the LLVM libraries, we need to link them in. To do this, we use the -`llvm-config <http://llvm.org/cmds/llvm-config.html>`_ tool to inform +`llvm-config <https://llvm.org/cmds/llvm-config.html>`_ tool to inform our makefile/command line about which options to use: .. code-block:: bash diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst index 50e8c44..32472e3 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst @@ -20,7 +20,7 @@ later. LLVM 3.6 and before will not work with it. Also note that you need to use a version of this tutorial that matches your LLVM release: If you are using an official LLVM release, use the version of the documentation included with your release or on the `llvm.org releases -page <http://llvm.org/releases/>`_. +page <https://llvm.org/releases/>`_. Code Generation Setup ===================== @@ -90,7 +90,7 @@ detail, we just need a single instance to pass into APIs that require it. The ``Builder`` object is a helper object that makes it easy to generate LLVM instructions. Instances of the -`IRBuilder <http://llvm.org/doxygen/IRBuilder_8h-source.html>`_ +`IRBuilder <https://llvm.org/doxygen/IRBuilder_8h-source.html>`_ class template keep track of the current place to insert instructions and has methods to create new instructions. @@ -549,7 +549,7 @@ Full Code Listing Here is the complete code listing for our running example, enhanced with the LLVM code generator. Because this uses the LLVM libraries, we need to link them in. To do this, we use the -`llvm-config <http://llvm.org/cmds/llvm-config.html>`_ tool to inform +`llvm-config <https://llvm.org/cmds/llvm-config.html>`_ tool to inform our makefile/command line about which options to use: .. code-block:: bash diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst index 24c2b0f..85c233c 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst @@ -98,7 +98,7 @@ LLVM Optimization Passes Due to the transition to the new PassManager infrastructure this tutorial is based on ``llvm::legacy::FunctionPassManager`` which can be found in - `LegacyPassManager.h <http://llvm.org/doxygen/classllvm_1_1legacy_1_1FunctionPassManager.html>`_. + `LegacyPassManager.h <https://llvm.org/doxygen/classllvm_1_1legacy_1_1FunctionPassManager.html>`_. For the purpose of the this tutorial the above should be used until the pass manager transition is complete. diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.rst index 11ae79de..a55cfe2 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.rst @@ -213,7 +213,7 @@ Kaleidoscope looks like this: } To visualize the control flow graph, you can use a nifty feature of the -LLVM '`opt <http://llvm.org/cmds/opt.html>`_' tool. If you put this LLVM +LLVM '`opt <https://llvm.org/cmds/opt.html>`_' tool. If you put this LLVM IR into "t.ll" and run "``llvm-as < t.ll | opt -analyze -view-cfg``", `a window will pop up <../../ProgrammersManual.html#viewing-graphs-while-debugging-code>`_ and you'll see this graph: diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst index 8277600..16b4532 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst @@ -23,7 +23,7 @@ machine. To specify the architecture that you want to target, we use a string called a "target triple". This takes the form ``<arch><sub>-<vendor>-<sys>-<abi>`` (see the `cross compilation docs -<http://clang.llvm.org/docs/CrossCompilation.html#target-triple>`_). +<https://clang.llvm.org/docs/CrossCompilation.html#target-triple>`_). As an example, we can see what clang thinks is our current target triple: diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst index 4cdecc3..0304c8e 100644 --- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst +++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst @@ -165,13 +165,13 @@ DWARF Emission Setup ==================== Similar to the ``IRBuilder`` class we have a -`DIBuilder <http://llvm.org/doxygen/classllvm_1_1DIBuilder.html>`_ class +`DIBuilder <https://llvm.org/doxygen/classllvm_1_1DIBuilder.html>`_ class that helps in constructing debug metadata for an LLVM IR file. It corresponds 1:1 similarly to ``IRBuilder`` and LLVM IR, but with nicer names. Using it does require that you be more familiar with DWARF terminology than you needed to be with ``IRBuilder`` and ``Instruction`` names, but if you read through the general documentation on the -`Metadata Format <http://llvm.org/docs/SourceLevelDebugging.html>`_ it +`Metadata Format <https://llvm.org/docs/SourceLevelDebugging.html>`_ it should be a little more clear. We'll be using this class to construct all of our IR level descriptions. Construction for it takes a module so we need to construct it shortly after we construct our module. We've left it diff --git a/llvm/docs/tutorial/OCamlLangImpl3.rst b/llvm/docs/tutorial/OCamlLangImpl3.rst index fb06489..0b37ecd 100644 --- a/llvm/docs/tutorial/OCamlLangImpl3.rst +++ b/llvm/docs/tutorial/OCamlLangImpl3.rst @@ -65,7 +65,7 @@ the top-level structure that the LLVM IR uses to contain code. The ``Codegen.builder`` object is a helper object that makes it easy to generate LLVM instructions. Instances of the -`IRBuilder <http://llvm.org/doxygen/IRBuilder_8h-source.html>`_ +`IRBuilder <https://llvm.org/doxygen/IRBuilder_8h-source.html>`_ class keep track of the current place to insert instructions and has methods to create new instructions. @@ -522,7 +522,7 @@ Full Code Listing Here is the complete code listing for our running example, enhanced with the LLVM code generator. Because this uses the LLVM libraries, we need to link them in. To do this, we use the -`llvm-config <http://llvm.org/cmds/llvm-config.html>`_ tool to inform +`llvm-config <https://llvm.org/cmds/llvm-config.html>`_ tool to inform our makefile/command line about which options to use: .. code-block:: bash diff --git a/llvm/docs/tutorial/OCamlLangImpl5.rst b/llvm/docs/tutorial/OCamlLangImpl5.rst index 34d2dbb..871eb05d 100644 --- a/llvm/docs/tutorial/OCamlLangImpl5.rst +++ b/llvm/docs/tutorial/OCamlLangImpl5.rst @@ -161,7 +161,7 @@ Kaleidoscope looks like this: } To visualize the control flow graph, you can use a nifty feature of the -LLVM '`opt <http://llvm.org/cmds/opt.html>`_' tool. If you put this LLVM +LLVM '`opt <https://llvm.org/cmds/opt.html>`_' tool. If you put this LLVM IR into "t.ll" and run "``llvm-as < t.ll | opt -analyze -view-cfg``", `a window will pop up <../ProgrammersManual.html#viewing-graphs-while-debugging-code>`_ and you'll see this graph: diff --git a/llvm/docs/tutorial/index.rst b/llvm/docs/tutorial/index.rst index 8aa4518..e3c50f0 100644 --- a/llvm/docs/tutorial/index.rst +++ b/llvm/docs/tutorial/index.rst @@ -51,5 +51,5 @@ External Tutorials Advanced Topics =============== -#. `Writing an Optimization for LLVM <http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>`_ +#. `Writing an Optimization for LLVM <https://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>`_ |