Home
last modified time | relevance | path

Searched refs:NumCounters (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dperformance_monitor.c114 BITSET_FOREACH_SET(cid, m->ActiveCounters[gid], g->NumCounters) { in init_perf_monitor()
388 struct gl_perf_monitor_counter *c = &counters[g->NumCounters]; in init_groups()
430 g->NumCounters++; in init_groups()
471 BITSET_WORDS(g->NumCounters)); in new_performance_monitor()
523 if (id >= group_obj->NumCounters) in get_counter()
572 *numCounters = group_obj->NumCounters; in _mesa_GetPerfMonitorCountersAMD()
576 unsigned n = MIN2(group_obj->NumCounters, (GLuint) countersSize); in _mesa_GetPerfMonitorCountersAMD()
849 if (counterList[i] >= group_obj->NumCounters) { in _mesa_SelectPerfMonitorCountersAMD()
948 BITSET_FOREACH_SET(counter, m->ActiveCounters[group], g->NumCounters) { in perf_monitor_result_size()
Dmtypes.h2060 GLuint NumCounters; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp267 uint64_t NumCounters; in readNextRecord() local
270 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord()
272 if (NumCounters == 0) in readNextRecord()
277 Record.Counts.reserve(NumCounters); in readNextRecord()
278 for (uint64_t I = 0; I < NumCounters; ++I) { in readNextRecord()
415 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local
417 if (NumCounters == 0) in readRawCounts()
425 if (NumCounters > MaxNumCounters) in readRawCounts()
429 (CounterOffset + NumCounters) > MaxNumCounters) in readRawCounts()
432 auto RawCounts = makeArrayRef(getCounter(CounterOffset), NumCounters); in readRawCounts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp777 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local
779 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters()
883 uint64_t NumCounters = TotalNS * NumCountersPerValueSite; in emitVNodes() local
892 if (NumCounters < INSTR_PROF_MIN_VAL_COUNTS) in emitVNodes()
893 NumCounters = std::max(INSTR_PROF_MIN_VAL_COUNTS, (int)NumCounters * 2); in emitVNodes()
902 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes()
DPGOInstrumentation.cpp816 unsigned NumCounters = in instrumentOneFunc() local
828 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
833 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, in instrumentOneFunc()
835 assert(I == NumCounters); in instrumentOneFunc()
1069 unsigned NumCounters = in setInstrumentedCounts() local
1073 if (NumCounters != CountFromProfile.size()) { in setInstrumentedCounts()
DGCOVProfiling.cpp1119 auto *NumCounters = in insertCounterWriteout() local
1129 Builder.CreateICmpSLT(Builder.getInt32(0), NumCounters); in insertCounterWriteout()
1174 auto *CounterLoopCond = Builder.CreateICmpSLT(NextJV, NumCounters); in insertCounterWriteout()
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerLoop.cpp73 size_t NumCounters = EF->__sanitizer_get_number_of_counters(); in PrepareCounters() local
74 C->CounterBitmap.resize(NumCounters); in PrepareCounters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfData.inc89 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))