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

Side by Side Diff: src/IceCfg.cpp

Issue 1961743002: Subzero: Update for LLVM 3.9 (trunk). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: Remove unnecessary variable Created 4 years, 7 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
« no previous file with comments | « src/IceBitVector.h ('k') | src/IceCfgNode.cpp » ('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/IceCfg.cpp - Control flow graph implementation ---------===// 1 //===- subzero/src/IceCfg.cpp - Control flow graph 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 /// \file 10 /// \file
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 } 1095 }
1096 1096
1097 if (Verbose) { 1097 if (Verbose) {
1098 getContext()->getStrDump() << "Created: "; 1098 getContext()->getStrDump() << "Created: ";
1099 ShuffleVector->dump(this); 1099 ShuffleVector->dump(this);
1100 getContext()->getStrDump() << "\n"; 1100 getContext()->getStrDump() << "\n";
1101 } 1101 }
1102 1102
1103 Instr.setDeleted(); 1103 Instr.setDeleted();
1104 auto &LoweringContext = getTarget()->getContext(); 1104 auto &LoweringContext = getTarget()->getContext();
1105 LoweringContext.setInsertPoint(Instr); 1105 LoweringContext.setInsertPoint(instToIterator(&Instr));
1106 LoweringContext.insert(ShuffleVector); 1106 LoweringContext.insert(ShuffleVector);
1107 } 1107 }
1108 } 1108 }
1109 } 1109 }
1110 1110
1111 void Cfg::doNopInsertion() { 1111 void Cfg::doNopInsertion() {
1112 if (!getFlags().getShouldDoNopInsertion()) 1112 if (!getFlags().getShouldDoNopInsertion())
1113 return; 1113 return;
1114 TimerMarker T(TimerStack::TT_doNopInsertion, this); 1114 TimerMarker T(TimerStack::TT_doNopInsertion, this);
1115 RandomNumberGenerator RNG(getFlags().getRandomSeed(), RPE_NopInsertion, 1115 RandomNumberGenerator RNG(getFlags().getRandomSeed(), RPE_NopInsertion,
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 } 1478 }
1479 } 1479 }
1480 // Print each basic block 1480 // Print each basic block
1481 for (CfgNode *Node : Nodes) 1481 for (CfgNode *Node : Nodes)
1482 Node->dump(this); 1482 Node->dump(this);
1483 if (isVerbose(IceV_Instructions)) 1483 if (isVerbose(IceV_Instructions))
1484 Str << "}\n"; 1484 Str << "}\n";
1485 } 1485 }
1486 1486
1487 } // end of namespace Ice 1487 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceBitVector.h ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698