Mercurial > hg > CbC > CbC_llvm
comparison docs/tutorial/OCamlLangImpl3.rst @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | 7d135dc70f03 |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
63 functions and global variables in a chunk of code. In many ways, it is | 63 functions and global variables in a chunk of code. In many ways, it is |
64 the top-level structure that the LLVM IR uses to contain code. | 64 the top-level structure that the LLVM IR uses to contain code. |
65 | 65 |
66 The ``Codegen.builder`` object is a helper object that makes it easy to | 66 The ``Codegen.builder`` object is a helper object that makes it easy to |
67 generate LLVM instructions. Instances of the | 67 generate LLVM instructions. Instances of the |
68 ```IRBuilder`` <http://llvm.org/doxygen/IRBuilder_8h-source.html>`_ | 68 `IRBuilder <http://llvm.org/doxygen/IRBuilder_8h-source.html>`_ |
69 class keep track of the current place to insert instructions and has | 69 class keep track of the current place to insert instructions and has |
70 methods to create new instructions. | 70 methods to create new instructions. |
71 | 71 |
72 The ``Codegen.named_values`` map keeps track of which values are defined | 72 The ``Codegen.named_values`` map keeps track of which values are defined |
73 in the current scope and what their LLVM representation is. (In other | 73 in the current scope and what their LLVM representation is. (In other |