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

Side by Side Diff: src/IceCfgNode.h

Issue 1746613002: Subzero: Reduce copying of Liveness bitvectors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix huge perf problem in MINIMAL build Created 4 years, 9 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/IceCfgNode.h - Control flow graph node -------*- C++ -*-===// 1 //===- subzero/src/IceCfgNode.h - Control flow graph node -------*- C++ -*-===//
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 void validatePhis(); 93 void validatePhis();
94 void placePhiLoads(); 94 void placePhiLoads();
95 void placePhiStores(); 95 void placePhiStores();
96 void deletePhis(); 96 void deletePhis();
97 void advancedPhiLowering(); 97 void advancedPhiLowering();
98 void doAddressOpt(); 98 void doAddressOpt();
99 void doNopInsertion(RandomNumberGenerator &RNG); 99 void doNopInsertion(RandomNumberGenerator &RNG);
100 void genCode(); 100 void genCode();
101 void livenessLightweight(); 101 void livenessLightweight();
102 bool liveness(Liveness *Liveness); 102 bool liveness(Liveness *Liveness, LivenessBV *ScratchBV);
103 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, 103 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum,
104 InstNumberT LastInstNum); 104 InstNumberT LastInstNum);
105 void contractIfEmpty(); 105 void contractIfEmpty();
106 void doBranchOpt(const CfgNode *NextNode); 106 void doBranchOpt(const CfgNode *NextNode);
107 void emit(Cfg *Func) const; 107 void emit(Cfg *Func) const;
108 void emitIAS(Cfg *Func) const; 108 void emitIAS(Cfg *Func) const;
109 void dump(Cfg *Func) const; 109 void dump(Cfg *Func) const;
110 110
111 void profileExecutionCount(VariableDeclaration *Var); 111 void profileExecutionCount(VariableDeclaration *Var);
112 112
(...skipping 12 matching lines...) Expand all
125 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate 125 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate
126 NodeList InEdges; /// in no particular order 126 NodeList InEdges; /// in no particular order
127 NodeList OutEdges; /// in no particular order 127 NodeList OutEdges; /// in no particular order
128 PhiList Phis; /// unordered set of phi instructions 128 PhiList Phis; /// unordered set of phi instructions
129 InstList Insts; /// ordered list of non-phi instructions 129 InstList Insts; /// ordered list of non-phi instructions
130 }; 130 };
131 131
132 } // end of namespace Ice 132 } // end of namespace Ice
133 133
134 #endif // SUBZERO_SRC_ICECFGNODE_H 134 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698