Index: src/main.cpp |
diff --git a/src/llvm2ice.cpp b/src/main.cpp |
similarity index 97% |
rename from src/llvm2ice.cpp |
rename to src/main.cpp |
index 8b73de8426419310a1bca78a02e3f3720b2fed18..604be3d630bf49f81fa545d4ada503e580b11e1f 100644 |
--- a/src/llvm2ice.cpp |
+++ b/src/main.cpp |
@@ -1,4 +1,4 @@ |
-//===- subzero/src/llvm2ice.cpp - Driver for testing ----------------------===// |
+//===- subzero/src/main.cpp - Driver for bitcode translation --------------===// |
// |
// The Subzero Code Generator |
// |
@@ -7,9 +7,11 @@ |
// |
//===----------------------------------------------------------------------===// |
// |
-// This file defines a driver that uses LLVM capabilities to parse a |
-// bitcode file and build the LLVM IR, and then convert the LLVM basic |
-// blocks, instructions, and operands into their Subzero equivalents. |
+// This file defines a driver for translating PNaCl bitcode into native code. |
+// It can either directly parse the binary bitcode file, or use LLVM routines to |
+// parse a textual bitcode file into LLVM IR and then convert LLVM IR into ICE. |
+// In either case, the high-level ICE is then compiled down to native code, as |
+// either an ELF object file or a textual asm file. |
// |
//===----------------------------------------------------------------------===// |