Index: llvm/trunk/docs/CommandGuide/FileCheck.rst =================================================================== --- llvm/trunk/docs/CommandGuide/FileCheck.rst +++ llvm/trunk/docs/CommandGuide/FileCheck.rst @@ -1,6 +1,8 @@ FileCheck - Flexible pattern matching file verifier =================================================== +.. program:: FileCheck + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/bugpoint.rst =================================================================== --- llvm/trunk/docs/CommandGuide/bugpoint.rst +++ llvm/trunk/docs/CommandGuide/bugpoint.rst @@ -1,6 +1,8 @@ bugpoint - automatic test case reduction tool ============================================= +.. program:: bugpoint + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/dsymutil.rst =================================================================== --- llvm/trunk/docs/CommandGuide/dsymutil.rst +++ llvm/trunk/docs/CommandGuide/dsymutil.rst @@ -1,6 +1,8 @@ dsymutil - manipulate archived DWARF debug symbol files ======================================================= +.. program:: dsymutil + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/lit.rst =================================================================== --- llvm/trunk/docs/CommandGuide/lit.rst +++ llvm/trunk/docs/CommandGuide/lit.rst @@ -1,6 +1,8 @@ lit - LLVM Integrated Tester ============================ +.. program:: lit + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llc.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llc.rst +++ llvm/trunk/docs/CommandGuide/llc.rst @@ -1,6 +1,8 @@ llc - LLVM static compiler ========================== +.. program:: llc + SYNOPSIS -------- @@ -41,6 +43,11 @@ Print a summary of command line options. +.. option:: -o + + Use ```` as the output filename. See the summary above for more + details. + .. option:: -O=uint Generate code at different optimization levels. These correspond to the Index: llvm/trunk/docs/CommandGuide/lli.rst =================================================================== --- llvm/trunk/docs/CommandGuide/lli.rst +++ llvm/trunk/docs/CommandGuide/lli.rst @@ -1,6 +1,8 @@ lli - directly execute programs from LLVM bitcode ================================================= +.. program:: lli + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-ar.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-ar.rst +++ llvm/trunk/docs/CommandGuide/llvm-ar.rst @@ -1,6 +1,7 @@ llvm-ar - LLVM archiver ======================= +.. program:: llvm-ar SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-as.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-as.rst +++ llvm/trunk/docs/CommandGuide/llvm-as.rst @@ -1,6 +1,8 @@ llvm-as - LLVM assembler ======================== +.. program:: llvm-as + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-bcanalyzer.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-bcanalyzer.rst +++ llvm/trunk/docs/CommandGuide/llvm-bcanalyzer.rst @@ -1,6 +1,8 @@ llvm-bcanalyzer - LLVM bitcode analyzer ======================================= +.. program:: llvm-bcanalyzer + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-build.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-build.rst +++ llvm/trunk/docs/CommandGuide/llvm-build.rst @@ -1,6 +1,7 @@ llvm-build - LLVM Project Build Utility ======================================= +.. program:: llvm-build SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-config.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-config.rst +++ llvm/trunk/docs/CommandGuide/llvm-config.rst @@ -1,6 +1,7 @@ llvm-config - Print LLVM compilation options ============================================ +.. program:: llvm-config SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-cov.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-cov.rst +++ llvm/trunk/docs/CommandGuide/llvm-cov.rst @@ -1,6 +1,8 @@ llvm-cov - emit coverage information ==================================== +.. program:: llvm-cov + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-cxxfilt.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-cxxfilt.rst +++ llvm/trunk/docs/CommandGuide/llvm-cxxfilt.rst @@ -1,6 +1,8 @@ llvm-cxxfilt - LLVM symbol name demangler ========================================= +.. program:: llvm-cxxfilt + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-cxxmap.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-cxxmap.rst +++ llvm/trunk/docs/CommandGuide/llvm-cxxmap.rst @@ -1,6 +1,8 @@ llvm-cxxmap - Mangled name remapping tool ========================================= +.. program:: llvm-cxxmap + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-diff.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-diff.rst +++ llvm/trunk/docs/CommandGuide/llvm-diff.rst @@ -1,6 +1,7 @@ llvm-diff - LLVM structural 'diff' ================================== +.. program:: llvm-diff SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-dis.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-dis.rst +++ llvm/trunk/docs/CommandGuide/llvm-dis.rst @@ -1,6 +1,7 @@ llvm-dis - LLVM disassembler ============================ +.. program:: llvm-dis SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst +++ llvm/trunk/docs/CommandGuide/llvm-dwarfdump.rst @@ -1,6 +1,8 @@ llvm-dwarfdump - dump and verify DWARF debug information ======================================================== +.. program:: llvm-dwarfdump + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-exegesis.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-exegesis.rst +++ llvm/trunk/docs/CommandGuide/llvm-exegesis.rst @@ -1,6 +1,8 @@ llvm-exegesis - LLVM Machine Instruction Benchmark ================================================== +.. program:: llvm-exegesis + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-extract.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-extract.rst +++ llvm/trunk/docs/CommandGuide/llvm-extract.rst @@ -1,6 +1,8 @@ llvm-extract - extract a function from an LLVM module ===================================================== +.. program:: llvm-extract + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-lib.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-lib.rst +++ llvm/trunk/docs/CommandGuide/llvm-lib.rst @@ -1,6 +1,7 @@ llvm-lib - LLVM lib.exe compatible library tool =============================================== +.. program:: llvm-lib SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-link.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-link.rst +++ llvm/trunk/docs/CommandGuide/llvm-link.rst @@ -1,6 +1,8 @@ llvm-link - LLVM bitcode linker =============================== +.. program:: llvm-link + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-lipo.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-lipo.rst +++ llvm/trunk/docs/CommandGuide/llvm-lipo.rst @@ -1,6 +1,8 @@ llvm-lipo - LLVM tool for manipulating universal binaries ========================================================= +.. program:: llvm-lipo + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-mca.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-mca.rst +++ llvm/trunk/docs/CommandGuide/llvm-mca.rst @@ -1,6 +1,8 @@ llvm-mca - LLVM Machine Code Analyzer ===================================== +.. program:: llvm-mca + SYNOPSIS -------- @@ -64,6 +66,11 @@ Print a summary of command line options. +.. option:: -o + + Use ```` as the output filename. See the summary above for more + details. + .. option:: -mtriple= Specify a target triple string. Index: llvm/trunk/docs/CommandGuide/llvm-nm.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-nm.rst +++ llvm/trunk/docs/CommandGuide/llvm-nm.rst @@ -1,6 +1,8 @@ llvm-nm - list LLVM bitcode and object file's symbol table ========================================================== +.. program:: llvm-nm + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-objdump.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-objdump.rst +++ llvm/trunk/docs/CommandGuide/llvm-objdump.rst @@ -1,6 +1,8 @@ llvm-objdump - LLVM's object file dumper ======================================== +.. program:: llvm-objdump + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-pdbutil.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-pdbutil.rst +++ llvm/trunk/docs/CommandGuide/llvm-pdbutil.rst @@ -1,6 +1,8 @@ llvm-pdbutil - PDB File forensics and diagnostics ================================================= +.. program:: llvm-pdbutil + .. contents:: :local: Index: llvm/trunk/docs/CommandGuide/llvm-profdata.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-profdata.rst +++ llvm/trunk/docs/CommandGuide/llvm-profdata.rst @@ -1,6 +1,8 @@ llvm-profdata - Profile data tool ================================= +.. program:: llvm-profdata + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-readobj.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-readobj.rst +++ llvm/trunk/docs/CommandGuide/llvm-readobj.rst @@ -1,6 +1,8 @@ llvm-readobj - LLVM Object Reader ================================= +.. program:: llvm-readobj + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-stress.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-stress.rst +++ llvm/trunk/docs/CommandGuide/llvm-stress.rst @@ -1,6 +1,8 @@ llvm-stress - generate random .ll files ======================================= +.. program:: llvm-stress + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/llvm-symbolizer.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-symbolizer.rst +++ llvm/trunk/docs/CommandGuide/llvm-symbolizer.rst @@ -1,6 +1,8 @@ llvm-symbolizer - convert addresses into source code locations ============================================================== +.. program:: llvm-symbolizer + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/opt.rst =================================================================== --- llvm/trunk/docs/CommandGuide/opt.rst +++ llvm/trunk/docs/CommandGuide/opt.rst @@ -1,6 +1,8 @@ opt - LLVM optimizer ==================== +.. program:: opt + SYNOPSIS -------- Index: llvm/trunk/docs/CommandGuide/tblgen.rst =================================================================== --- llvm/trunk/docs/CommandGuide/tblgen.rst +++ llvm/trunk/docs/CommandGuide/tblgen.rst @@ -1,6 +1,8 @@ tblgen - Target Description To C++ Code Generator ================================================= +.. program:: tblgen + SYNOPSIS -------- Index: llvm/trunk/docs/WritingAnLLVMPass.rst =================================================================== --- llvm/trunk/docs/WritingAnLLVMPass.rst +++ llvm/trunk/docs/WritingAnLLVMPass.rst @@ -2,6 +2,8 @@ Writing an LLVM Pass ==================== +.. program:: opt + .. contents:: :local: @@ -264,7 +266,7 @@ you would go ahead and make it do the cool transformations you want. Once you get it all working and tested, it may become useful to find out how fast your pass is. The :ref:`PassManager ` provides a -nice command line option (:option:`--time-passes`) that allows you to get +nice command line option (:option:`-time-passes`) that allows you to get information about the execution time of your pass along with the other passes you queue up. For example: