Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: src/llvm2ice.cpp

Issue 756543002: Subzero: Fix new issues after the LLVM 3.5 merge. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Also use `llvm-config --system-libs` Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceRNG.cpp ('k') | tests_lit/assembler/x86/immediate_encodings.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/llvm2ice.cpp - Driver for testing ----------------------===// 1 //===- subzero/src/llvm2ice.cpp - Driver for testing ----------------------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file defines a driver that uses LLVM capabilities to parse a 10 // This file defines a driver that uses LLVM capabilities to parse a
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 static cl::opt<bool> 122 static cl::opt<bool>
123 EnablePhiEdgeSplit("phi-edge-split", 123 EnablePhiEdgeSplit("phi-edge-split",
124 cl::desc("Enable edge splitting for Phi lowering"), 124 cl::desc("Enable edge splitting for Phi lowering"),
125 cl::init(true)); 125 cl::init(true));
126 126
127 static cl::opt<bool> DecorateAsm( 127 static cl::opt<bool> DecorateAsm(
128 "asm-verbose", 128 "asm-verbose",
129 cl::desc("Decorate textual asm output with register liveness info")); 129 cl::desc("Decorate textual asm output with register liveness info"));
130 130
131 static cl::opt<bool> 131 static cl::opt<bool>
132 DumpStats("stats", 132 DumpStats("szstats",
133 cl::desc("Print statistics after translating each function")); 133 cl::desc("Print statistics after translating each function"));
134 134
135 // This is currently needed by crosstest.py. 135 // This is currently needed by crosstest.py.
136 static cl::opt<bool> AllowUninitializedGlobals( 136 static cl::opt<bool> AllowUninitializedGlobals(
137 "allow-uninitialized-globals", 137 "allow-uninitialized-globals",
138 cl::desc("Allow global variables to be uninitialized")); 138 cl::desc("Allow global variables to be uninitialized"));
139 139
140 static cl::opt<NaClFileFormat> InputFileFormat( 140 static cl::opt<NaClFileFormat> InputFileFormat(
141 "bitcode-format", cl::desc("Define format of input file:"), 141 "bitcode-format", cl::desc("Define format of input file:"),
142 cl::values(clEnumValN(LLVMFormat, "llvm", "LLVM file (default)"), 142 cl::values(clEnumValN(LLVMFormat, "llvm", "LLVM file (default)"),
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 if (SubzeroTimingEnabled) 327 if (SubzeroTimingEnabled)
328 Ctx.dumpTimers(); 328 Ctx.dumpTimers();
329 if (TimeEachFunction) { 329 if (TimeEachFunction) {
330 const bool DumpCumulative = false; 330 const bool DumpCumulative = false;
331 Ctx.dumpTimers(Ice::GlobalContext::TSK_Funcs, DumpCumulative); 331 Ctx.dumpTimers(Ice::GlobalContext::TSK_Funcs, DumpCumulative);
332 } 332 }
333 const bool FinalStats = true; 333 const bool FinalStats = true;
334 Ctx.dumpStats("_FINAL_", FinalStats); 334 Ctx.dumpStats("_FINAL_", FinalStats);
335 return GetReturnValue(ErrorStatus); 335 return GetReturnValue(ErrorStatus);
336 } 336 }
OLDNEW
« no previous file with comments | « src/IceRNG.cpp ('k') | tests_lit/assembler/x86/immediate_encodings.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698