mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Convert a bunch of uses of 'bytecode' into 'bitcode'. This
is not everything, but the remaining cases are less trivial. llvm-svn: 115080
This commit is contained in:
parent
963980649e
commit
f66899560c
@ -39,7 +39,7 @@ N: Misha Brukman
|
||||
E: brukman+llvm@uiuc.edu
|
||||
W: http://misha.brukman.net
|
||||
D: Portions of X86 and Sparc JIT compilers, PowerPC backend
|
||||
D: Incremental bytecode loader
|
||||
D: Incremental bitcode loader
|
||||
|
||||
N: Cameron Buschardt
|
||||
E: buschard@uiuc.edu
|
||||
|
@ -249,7 +249,7 @@ order:</p>
|
||||
<li><tt>llvm/*</tt></li>
|
||||
<li><tt>llvm/Analysis/*</tt></li>
|
||||
<li><tt>llvm/Assembly/*</tt></li>
|
||||
<li><tt>llvm/Bytecode/*</tt></li>
|
||||
<li><tt>llvm/Bitcode/*</tt></li>
|
||||
<li><tt>llvm/CodeGen/*</tt></li>
|
||||
<li>...</li>
|
||||
<li><tt>Support/*</tt></li>
|
||||
|
@ -19,7 +19,7 @@
|
||||
</ul></li>
|
||||
<li><a href="#multiphase">Multi-phase communication between LLVM and linker</a>
|
||||
<ul>
|
||||
<li><a href="#phase1">Phase 1 : Read LLVM Bytecode Files</a></li>
|
||||
<li><a href="#phase1">Phase 1 : Read LLVM Bitcode Files</a></li>
|
||||
<li><a href="#phase2">Phase 2 : Symbol Resolution</a></li>
|
||||
<li><a href="#phase3">Phase 3 : Optimize Bitcode Files</a></li>
|
||||
<li><a href="#phase4">Phase 4 : Symbol Resolution after optimization</a></li>
|
||||
|
@ -4,5 +4,5 @@
|
||||
|
||||
This project is an extremely simple example of using some simple pieces of the
|
||||
LLVM API. The actual executable generated by this project simply emits an
|
||||
LLVM bytecode file to standard output. It is designed to show some basic
|
||||
LLVM bitcode file to standard output. It is designed to show some basic
|
||||
usage of LLVM APIs, and how to link to LLVM libraries.
|
||||
|
@ -197,7 +197,7 @@ Options:
|
||||
Typical components:
|
||||
all All LLVM libraries (default).
|
||||
backend Either a native backend or the C backend.
|
||||
engine Either a native JIT or a bytecode interpreter.
|
||||
engine Either a native JIT or a bitcode interpreter.
|
||||
__EOD__
|
||||
exit(1);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
# it from finding a problem unless the set of failing optimizations are
|
||||
# known and given to it on the command line.
|
||||
#
|
||||
# Given a bytecode file that produces correct output (or return code),
|
||||
# Given a bitcode file that produces correct output (or return code),
|
||||
# this script will run through all the optimizations passes that gccas
|
||||
# uses (in the same order) and will narrow down which optimizations
|
||||
# cause the program either generate different output or return a
|
||||
@ -21,7 +21,7 @@
|
||||
#
|
||||
# Where:
|
||||
# bcfile
|
||||
# is the bytecode file input (the unoptimized working case)
|
||||
# is the bitcode file input (the unoptimized working case)
|
||||
# outdir
|
||||
# is a directory into which intermediate results are placed
|
||||
# progargs
|
||||
|
@ -14,7 +14,7 @@
|
||||
# second build contains some experimental optimization features that
|
||||
# are suspected of producing a misoptimization.
|
||||
#
|
||||
# The script takes two bytecode files, one from each build. They are
|
||||
# The script takes two bitcode files, one from each build. They are
|
||||
# presumed to be a compilation of the same program or program fragment
|
||||
# with the only difference being the builds.
|
||||
#
|
||||
@ -39,9 +39,9 @@
|
||||
# llvm2
|
||||
# is the path to the second llvm build dir
|
||||
# bc1
|
||||
# is the bytecode file for the first llvm environment
|
||||
# is the bitcode file for the first llvm environment
|
||||
# bc2
|
||||
# is the bytecode file for the second llvm environment
|
||||
# is the bitcode file for the second llvm environment
|
||||
# filter1
|
||||
# is an optional filter for filtering the llvm1 generated assembly
|
||||
# filter2
|
||||
|
@ -193,10 +193,10 @@ native-build [OPTIONS...] FILE
|
||||
|
||||
llvm-native-gcc is a wrapper around the LLVM command-line tools which generates
|
||||
a native object (.o) file by compiling FILE with llvm-gcc, and then running
|
||||
an LLVM back-end (CBE by default) over the resulting bytecode, and then
|
||||
an LLVM back-end (CBE by default) over the resulting bitcode, and then
|
||||
compiling the resulting code to a native object file.
|
||||
|
||||
If called as "native-build", it compiles bytecode to native code, and takes
|
||||
If called as "native-build", it compiles bitcode to native code, and takes
|
||||
different options.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
@ -193,10 +193,10 @@ native-build [OPTIONS...] FILE
|
||||
|
||||
llvm-native-g++ is a wrapper around the LLVM command-line tools which generates
|
||||
a native object (.o) file by compiling FILE with llvm-g++, and then running
|
||||
an LLVM back-end (CBE by default) over the resulting bytecode, and then
|
||||
an LLVM back-end (CBE by default) over the resulting bitcode, and then
|
||||
compiling the resulting code to a native object file.
|
||||
|
||||
If called as "native-build", it compiles bytecode to native code, and takes
|
||||
If called as "native-build", it compiles bitcode to native code, and takes
|
||||
different options.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Synopsis: Insert instrumentation code into a program, run it with the JIT,
|
||||
# then print out a profile report.
|
||||
#
|
||||
# Syntax: profile.pl [OPTIONS] bytecodefile <arguments>
|
||||
# Syntax: profile.pl [OPTIONS] bitcodefile <arguments>
|
||||
#
|
||||
# OPTIONS may include one or more of the following:
|
||||
# -block - Enable basicblock profiling
|
||||
@ -56,7 +56,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
|
||||
$LLVMProfOpts .= " " . $_;
|
||||
}
|
||||
|
||||
die "Must specify LLVM bytecode file as first argument!" if (@ARGV == 0);
|
||||
die "Must specify LLVM bitcode file as first argument!" if (@ARGV == 0);
|
||||
|
||||
my $BytecodeFile = $ARGV[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user