Searched refs:NumCounters (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/lib/profile/ |
| H A D | InstrProfilingMerge.c | 77 SrcData->NumCounters != DstData->NumCounters) in __llvm_profile_check_compatibility() 112 NC = SrcData->NumCounters; in __llvm_profile_merge_from_buffer()
|
| H A D | InstrProfilingPlatformOther.c | 47 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function() 56 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
|
| H A D | InstrProfData.inc | 90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \ 91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 265 uint64_t NumCounters; in readNextRecord() local 268 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord() 270 if (NumCounters == 0) in readNextRecord() 275 Record.Counts.reserve(NumCounters); in readNextRecord() 276 for (uint64_t I = 0; I < NumCounters; ++I) { in readNextRecord() 409 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local 411 if (NumCounters == 0) in readRawCounts() 414 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 731 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local 733 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters() 835 uint64_t NumCounters = TotalNS * NumCountersPerValueSite; in emitVNodes() local 844 if (NumCounters < INSTR_PROF_MIN_VAL_COUNTS) in emitVNodes() 845 NumCounters = std::max(INSTR_PROF_MIN_VAL_COUNTS, (int)NumCounters * 2); in emitVNodes() 854 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes()
|
| H A D | PGOInstrumentation.cpp | 571 unsigned NumCounters = 0; in getNumCounters() local 574 NumCounters++; in getNumCounters() 576 return NumCounters + SIVisitor.getNumOfSelectInsts(); in getNumCounters() 730 unsigned NumCounters = FuncInfo.getNumCounters(); in instrumentOneFunc() local 745 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc() 750 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, in instrumentOneFunc() 752 assert(I == NumCounters); in instrumentOneFunc() 778 F, NumCounters, FuncInfo.FuncNameVar, FuncInfo.FunctionHash); in instrumentOneFunc()
|
| H A D | GCOVProfiling.cpp | 1101 auto *NumCounters = in insertCounterWriteout() local 1108 Builder.CreateICmpSLT(Builder.getInt32(0), NumCounters); in insertCounterWriteout() 1139 auto *CounterLoopCond = Builder.CreateICmpSLT(NextJV, NumCounters); in insertCounterWriteout()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfData.inc | 90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \ 91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
|