llvm.org GIT mirror llvm / baf8c08
Fix documentation typos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197757 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 5 years ago
10 changed file(s) with 14 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
255255 W: http://sylvestre.ledru.info/
256256 W: http://llvm.org/apt/
257257 D: Debian and Ubuntu packaging
258 D: Continous integration with jenkins
258 D: Continuous integration with jenkins
259259
260260 N: Andrew Lenharth
261261 E: alenhar2@cs.uiuc.edu
1111 This interface provides an OCaml API for LLVM scalar transforms, the
1212 classes in the [LLVMScalarOpts] library. *)
1313
14 (** See the [llvm::createConstantPropogationPass] function. *)
14 (** See the [llvm::createConstantPropagationPass] function. *)
1515 external add_constant_propagation : [
1616 -> unit
1717 = "llvm_add_constant_propagation"
1515 self.assertEqual(count, 3)
1616 self.assertEqual(s, '\tjcxz\t-127')
1717
18 def test_nonexistant_triple(self):
18 def test_nonexistent_triple(self):
1919 with self.assertRaisesRegexp(Exception, "Could not obtain disassembler for triple"):
20 Disassembler("nonexistant-triple-raises")
20 Disassembler("nonexistent-triple-raises")
2121
2222 def test_get_instructions(self):
2323 sequence = '\x67\xe3\x81\x01\xc7' # jcxz -127; addl %eax, %edi
151151 # Add external project that may want to be built as part of llvm such as Clang,
152152 # lld, and Polly. This adds two options. One for the source directory of the
153153 # project, which defaults to ${CMAKE_CURRENT_SOURCE_DIR}/${name}. Another to
154 # enable or disable building it with everthing else.
154 # enable or disable building it with everything else.
155155 # Additional parameter can be specified as the name of directory.
156156 macro(add_llvm_external_project name)
157157 set(add_llvm_external_dir "${ARGN}")
247247 endfunction()
248248
249249 # This function provides an automatic way to 'configure'-like generate a file
250 # based on a set of common and custom variables, specifically targetting the
250 # based on a set of common and custom variables, specifically targeting the
251251 # variables needed for the 'lit.site.cfg' files. This function bundles the
252252 # common variables that any Lit instance is likely to need, and custom
253253 # variables can be passed in.
314314
315315 ``BuildTool`` components are like ``Tool`` components, except that the
316316 tool is supposed to be built for the platform where the build is running
317 (instead of that platform being targetted). Build systems are expected
317 (instead of that platform being targeted). Build systems are expected
318318 to handle the fact that required libraries may need to be built for
319319 multiple platforms in order to be able to link this tool.
320320
272272 For a list of all math functions implemented in libdevice, see
273273 `libdevice Users Guide `_.
274274
275 To accomodate various math-related compiler flags that can affect code
275 To accommodate various math-related compiler flags that can affect code
276276 generation of libdevice code, the library code depends on a special LLVM IR
277277 pass (``NVVMReflect``) to handle conditional compilation within LLVM IR. This
278278 pass looks for calls to the ``@__nvvm_reflect`` function and replaces them
600600 ...
601601
602602 A ``defm`` can also be used inside a multiclass providing several levels of
603 multiclass instanciations.
603 multiclass instantiations.
604604
605605 .. code-block:: llvm
606606
726726
727727 It's also possible to use "let" expressions inside multiclasses, providing more
728728 ways to factor out commonality from the records, specially if using several
729 levels of multiclass instanciations. This also avoids the need of using "let"
729 levels of multiclass instantiations. This also avoids the need of using "let"
730730 expressions within subsequent records inside a multiclass.
731731
732732 .. code-block:: llvm
640640 it is parsed. This allows dynamic types of nodes. But the YAML I/O model uses
641641 static typing, so there are limits to how you can use tags with the YAML I/O
642642 model. Recently, we added support to YAML I/O for checking/setting the optional
643 tag on a map. Using this functionality it is even possbile to support differnt
643 tag on a map. Using this functionality it is even possbile to support different
644644 mappings, as long as they are convertable.
645645
646646 To check a tag, inside your mapping() method you can use io.mapTag() to specify
279279 # For small to medium size projects (<1000 input files) the default value is
280280 # probably good enough. For larger projects a too small cache size can cause
281281 # doxygen to be busy swapping symbols to and from disk most of the time
282 # causing a significant performance penality.
282 # causing a significant performance penalty.
283283 # If the system has enough physical memory increasing the cache will improve the
284284 # performance by keeping more symbols in memory. Note that the value works on
285 # a logarithmic scale so increasing the size by one will rougly double the
285 # a logarithmic scale so increasing the size by one will roughly double the
286286 # memory usage. The cache size is given by this formula:
287287 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
288288 # corresponding to a cache size of 2^16 = 65536 symbols
122122 The instruction selector sometimes misses folding a load into a compare. The
123123 pattern is written as (cmp reg, (load p)). Because the compare isn't
124124 commutative, it is not matched with the load on both sides. The dag combiner
125 should be made smart enough to cannonicalize the load into the RHS of a compare
125 should be made smart enough to canonicalize the load into the RHS of a compare
126126 when it can invert the result of the compare for free.
127127
128128 //===---------------------------------------------------------------------===//