Home
last modified time | relevance | path

Searched refs:CountersSize (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c105 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize, in __llvm_profile_get_padding_sizes_for_counters() argument
119 *PaddingBytesAfterCounters = calculateBytesNeededToPageAlign(CountersSize); in __llvm_profile_get_padding_sizes_for_counters()
131 uint64_t CountersSize = in __llvm_profile_get_size_for_buffer_internal() local
139 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in __llvm_profile_get_size_for_buffer_internal()
143 DataSize + PaddingBytesBeforeCounters + CountersSize + in __llvm_profile_get_size_for_buffer_internal()
H A DInstrProfilingMerge.c62 Header->CountersSize != in __llvm_profile_check_compatibility()
73 Header->CountersSize * __llvm_profile_counter_entry_size()) in __llvm_profile_check_compatibility()
121 Header->CountersSize * __llvm_profile_counter_entry_size(); in __llvm_profile_merge_from_buffer()
H A DInstrProfilingWriter.c270 const uint64_t CountersSize = in lprofWriteDataImpl() local
287 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in lprofWriteDataImpl()
294 const uint64_t CountersSize = NumCounters; in lprofWriteDataImpl() local
326 {CountersBegin, sizeof(uint8_t), CountersSize, 0}, in lprofWriteDataImpl()
H A DInstrProfilingPlatformFuchsia.c124 uint64_t CountersSize = in __llvm_profile_initialize() local
128 if (!CountersSize) in __llvm_profile_initialize()
H A DInstrProfilingFile.c115 uint64_t CountersSize = in mmapForContinuousMode() local
137 DataSize, CountersSize, NamesSize, &PaddingBytesBeforeCounters, in mmapForContinuousMode()
140 uint64_t PageAlignedCountersLength = CountersSize + PaddingBytesAfterCounters; in mmapForContinuousMode()
580 uint64_t CountersSize = __llvm_profile_get_counters_size( in initializeProfileForContinuousMode() local
646 if (CountersSize > 0) in initializeProfileForContinuousMode()
H A DInstrProfiling.h289 uint64_t DataSize, uint64_t CountersSize, uint64_t NamesSize,
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dmalformed-num-counters-zero.test7 // INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)
H A Dmalformed-not-space-for-another-header.test7 // INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)
H A Dmalformed-ptr-to-counter-array.test7 // INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)
H A Dbinary-ids-padding.test7 // INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp1147 int CountersSize = CountersBySP.size(); in insertCounterWriteout() local
1148 assert(CountersSize == (int)EmitFunctionCallArgsArray.size() && in insertCounterWriteout()
1150 assert(CountersSize == (int)EmitArcsCallArgsArray.size() && in insertCounterWriteout()
1153 ArrayType::get(EmitFunctionCallArgsTy, CountersSize); in insertCounterWriteout()
1161 ArrayType::get(EmitArcsCallArgsTy, CountersSize); in insertCounterWriteout()
1173 {StartFileCallArgs, Builder.getInt32(CountersSize), in insertCounterWriteout()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp403 auto CountersSize = swap(Header.CountersSize) * getCounterTypeSize(); in readHeader() local
415 CountersOffset + CountersSize + PaddingBytesAfterCounters; in readHeader()
443 CountersEnd = CountersStart + CountersSize; in readHeader()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc135 INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)
/llvm-project-15.0.7/compiler-rt/include/profile/
H A DInstrProfData.inc135 INSTR_PROF_RAW_HEADER(uint64_t, CountersSize, CountersSize)