OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |