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

Side by Side Diff: src/IceTargetLowering.cpp

Issue 956123002: Subzero: Change the name llvm2ice to the more appropriate pnacl-sz. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make comment correct Created 5 years, 10 months 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
OLDNEW
1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===// 1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===//
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 implements the skeleton of the TargetLowering class, 10 // This file implements the skeleton of the TargetLowering class,
(...skipping 11 matching lines...) Expand all
22 #include "IceCfgNode.h" 22 #include "IceCfgNode.h"
23 #include "IceOperand.h" 23 #include "IceOperand.h"
24 #include "IceRegAlloc.h" 24 #include "IceRegAlloc.h"
25 #include "IceTargetLowering.h" 25 #include "IceTargetLowering.h"
26 #include "IceTargetLoweringX8632.h" 26 #include "IceTargetLoweringX8632.h"
27 27
28 namespace Ice { 28 namespace Ice {
29 29
30 namespace { 30 namespace {
31 31
32 // TODO(stichnot): Move this machinery into llvm2ice.cpp. 32 // TODO(stichnot): Move this machinery into main.cpp.
33 namespace cl = llvm::cl; 33 namespace cl = llvm::cl;
34 cl::opt<bool> DoNopInsertion("nop-insertion", cl::desc("Randomly insert NOPs"), 34 cl::opt<bool> DoNopInsertion("nop-insertion", cl::desc("Randomly insert NOPs"),
35 cl::init(false)); 35 cl::init(false));
36 36
37 cl::opt<int> MaxNopsPerInstruction( 37 cl::opt<int> MaxNopsPerInstruction(
38 "max-nops-per-instruction", 38 "max-nops-per-instruction",
39 cl::desc("Max number of nops to insert per instruction"), cl::init(1)); 39 cl::desc("Max number of nops to insert per instruction"), cl::init(1));
40 40
41 cl::opt<int> NopProbabilityAsPercentage( 41 cl::opt<int> NopProbabilityAsPercentage(
42 "nop-insertion-percentage", 42 "nop-insertion-percentage",
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 if (Target == Target_ARM64) 269 if (Target == Target_ARM64)
270 return std::unique_ptr<TargetDataLowering>(TargetDataARM64::create(Ctx)); 270 return std::unique_ptr<TargetDataLowering>(TargetDataARM64::create(Ctx));
271 #endif 271 #endif
272 llvm_unreachable("Unsupported target"); 272 llvm_unreachable("Unsupported target");
273 return nullptr; 273 return nullptr;
274 } 274 }
275 275
276 TargetDataLowering::~TargetDataLowering() {} 276 TargetDataLowering::~TargetDataLowering() {}
277 277
278 } // end of namespace Ice 278 } // end of namespace Ice
OLDNEW
« README.rst ('K') | « src/IceGlobalInits.h ('k') | src/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698