File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -145,19 +145,19 @@ FunctionPass *llvm::createControlHeightReductionLegacyPass() {
145
145
namespace {
146
146
147
147
struct CHRStats {
148
- CHRStats () : NumBranches(0 ), NumBranchesDelta(0 ),
149
- WeightedNumBranchesDelta (0 ) {}
148
+ CHRStats () = default ;
150
149
void print (raw_ostream &OS) const {
151
150
OS << " CHRStats: NumBranches " << NumBranches
152
151
<< " NumBranchesDelta " << NumBranchesDelta
153
152
<< " WeightedNumBranchesDelta " << WeightedNumBranchesDelta;
154
153
}
155
- uint64_t NumBranches; // The original number of conditional branches /
156
- // selects
157
- uint64_t NumBranchesDelta; // The decrease of the number of conditional
158
- // branches / selects in the hot paths due to CHR.
159
- uint64_t WeightedNumBranchesDelta; // NumBranchesDelta weighted by the profile
160
- // count at the scope entry.
154
+ // The original number of conditional branches / selects
155
+ uint64_t NumBranches = 0 ;
156
+ // The decrease of the number of conditional branches / selects in the hot
157
+ // paths due to CHR.
158
+ uint64_t NumBranchesDelta = 0 ;
159
+ // NumBranchesDelta weighted by the profile count at the scope entry.
160
+ uint64_t WeightedNumBranchesDelta = 0 ;
161
161
};
162
162
163
163
// RegInfo - some properties of a Region.
You can’t perform that action at this time.
0 commit comments