aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide/index.html
blob: 295966c40e87fdf96fb506990431e07adb528377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>LLVM Command Guide</title>
</head>

<body bgcolor=white>

<center><h1>LLVM Command Guide<br></h1></center>

This document is the reference manual for the LLVM utilities.  It will
show you how to use the LLVM commands and what all of their options
are.

<table width=100% border=0>
<tr><td valign=top width=50%>

<!--===============================================================-->
<center><h2><a name="llvmcmds">Basic Commands</a><hr></h2></center>
<!--===============================================================-->

<dl compact>
	<dt><A href="llvm-as.html"><b>llvm-as</b></A>
	<dd>
	Assemble a human-readable LLVM program into LLVM bytecode.
	<p>

	<dt><A href="llvm-dis.html"><b>llvm-dis</b></A>
	<dd>
	Disassemble an LLVM bytecode file into human-readable form.
	<p>

	<dt><A href="analyze.html"><b>analyze</b></A>
	<dd>
	Analyze an LLVM bytecode file.
	<p>

	<dt><A href="opt.html"><b>opt</b></A>
	<dd>
	Optimize an LLVM bytecode file.
	<p>

	<dt><A href="llc.html"><b>llc</b></A>
	<dd>
	Compile an LLVM bytecode program into native machine code.
        <p>

	<dt><A href="lli.html"><b>lli</b></A>
	<dd>
	Run an LLVM bytecode program using either an interpreter or a
	JIT compiler.
	<p>

	<dt><A href="llvm-link.html"><b>llvm-link</b></A>
	<dd>
	Link several LLVM bytecode files together into one LLVM
	bytecode file.
	<p>

	<dt><A href="llvm-nm.html"><b>llvm-nm</b></A>
	<dd>
	Print out the names and types of symbols in an LLVM bytecode file.
	<p>

	<dt><A href="llvm-prof.html"><b>llvm-prof</b></A>
	<dd>
        Transform raw '<tt>llvmprof.out</tt>' data into a human readable report.
	<p>
</dl>

</td><td valign=top width=50%>

<!--===============================================================-->
<center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center>
<!--===============================================================-->

<dl compact>
	<dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
	<dd>
	GCC-based C front end for LLVM.
	<p>

	<dt><A href="llvmgxx.html"><b>llvmg++</b></A>
	<dd>
	GCC-based C++ front end for LLVM.
	<p>

	<dt><A href="gccas.html"><b>gccas</b></A>
	<dd>
	LLVM assembler used by GCC and other native compiler tools.
	<p>

	<dt><A href="gccld.html"><b>gccld</b></A>
	<dd>
	LLVM linker used by GCC and other native compiler tools.
</dl>

<!--===============================================================-->
<center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center>
<!--===============================================================-->

<dl compact>
	<dt><A href="bugpoint.html"><b>bugpoint</b></A>
	<dd>
	Trace an LLVM bytecode program and reduce its failure to a
	simple testcase.
	<p>

	<dt><A href="extract.html"><b>extract</b></A>
	<dd>
	Extract a function from an LLVM bytecode file.
</dl>
</td></tr></table>


<hr><font size=-1>
Maintained by the 
<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br>
Last modified: $Date$
</font>

</body>
</html>