Lines Matching refs:stats_
45 : stats_(in_out_stats), vstate_(state) {} in StatsAggregator()
51 ++stats_->version_hist[vstate_->version()]; in aggregate()
52 ++stats_->generator_hist[vstate_->generator()]; in aggregate()
68 ++stats_->capability_hist[capability]; in ProcessCapability()
75 ++stats_->extension_hist[extension]; in ProcessExtension()
81 ++stats_->opcode_hist[opcode]; in ProcessOpcode()
89 auto step_it = stats_->opcode_markov_hist.begin(); in ProcessOpcode()
90 for (; step_it != stats_->opcode_markov_hist.end(); --idx, ++step_it) { in ProcessOpcode()
114 ++stats_->s16_constant_hist[inst->GetOperandAs<int16_t>(2)]; in ProcessConstant()
116 ++stats_->u16_constant_hist[inst->GetOperandAs<uint16_t>(2)]; in ProcessConstant()
119 ++stats_->s32_constant_hist[inst->GetOperandAs<int32_t>(2)]; in ProcessConstant()
121 ++stats_->u32_constant_hist[inst->GetOperandAs<uint32_t>(2)]; in ProcessConstant()
124 ++stats_->s64_constant_hist[inst->GetOperandAs<int64_t>(2)]; in ProcessConstant()
126 ++stats_->u64_constant_hist[inst->GetOperandAs<uint64_t>(2)]; in ProcessConstant()
133 ++stats_->f32_constant_hist[inst->GetOperandAs<float>(2)]; in ProcessConstant()
135 ++stats_->f64_constant_hist[inst->GetOperandAs<double>(2)]; in ProcessConstant()
143 SpirvStats* stats_; member in spvtools::stats::__anon2cd5bc3e0111::StatsAggregator