Searched refs:NumValueSites (Results 1 – 11 of 11) sorted by relevance
/external/compiler-rt/lib/profile/ |
D | InstrProfilingValue.c | 42 uint32_t ValueKind, uint16_t NumValueSites) { in __llvm_profile_set_num_value_sites() argument 43 *((uint16_t *)&Data->NumValueSites[ValueKind]) = NumValueSites; in __llvm_profile_set_num_value_sites() 68 NumVSites += Data->NumValueSites[VKI]; in allocateValueProfileCounters() 87 NumVSites += Data->NumValueSites[VKI]; in deallocateValueProfileCounters() 187 DEF_VALUE_RECORD(R, I->NumValueSites, I->Values); in __llvm_profile_gather_value_data() 215 DEF_VALUE_RECORD(R, I->NumValueSites, I->Values); in __llvm_profile_gather_value_data()
|
D | InstrProfData.inc | 85 INSTR_PROF_DATA(const uint16_t, Int16ArrayTy, NumValueSites[IPVK_Last+1], \ 185 uint32_t NumValueSites; 188 * values for each value site. The size of the array is NumValueSites. 189 * Since NumValueSites is greater than zero, there is at least one 209 uint32_t getNumValueSites() const { return NumValueSites; } 335 * shared C implementation. In this structure, NumValueSites and Nodes 341 const uint16_t *NumValueSites; 343 * total number of value profile sites : sum(NumValueSites[*])). Each 358 const uint16_t *NumValueSites, 388 uint32_t getValueProfRecordHeaderSize(uint32_t NumValueSites) { [all …]
|
D | InstrProfiling.c | 56 CurrentVSiteCount += DI->NumValueSites[VKI]; in __llvm_profile_reset_counters()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 85 INSTR_PROF_DATA(const uint16_t, Int16ArrayTy, NumValueSites[IPVK_Last+1], \ 185 uint32_t NumValueSites; 188 * values for each value site. The size of the array is NumValueSites. 189 * Since NumValueSites is greater than zero, there is at least one 209 uint32_t getNumValueSites() const { return NumValueSites; } 335 * shared C implementation. In this structure, NumValueSites and Nodes 341 const uint16_t *NumValueSites; 343 * total number of value profile sites : sum(NumValueSites[*])). Each 358 const uint16_t *NumValueSites, 388 uint32_t getValueProfRecordHeaderSize(uint32_t NumValueSites) { [all …]
|
D | InstrProf.h | 353 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites); 450 void InstrProfRecord::reserveSites(uint32_t ValueKind, uint32_t NumValueSites) { in reserveSites() argument 453 ValueSites.reserve(NumValueSites); in reserveSites() 470 const uint16_t *NumValueSites,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 53 uint32_t NumValueSites[IPVK_Last+1]; member 57 memset(NumValueSites, 0, sizeof(uint32_t) * (IPVK_Last+1)); in PerFunctionProfileData() 196 PD.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 198 } else if (It->second.NumValueSites[ValueKind] <= Index) in computeNumValueSiteCounts() 199 It->second.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 213 Index += It->second.NumValueSites[Kind]; in lowerValueProfileInst() 347 Int16ArrayVals[Kind] = ConstantInt::get(Int16Ty, PD.NumValueSites[Kind]); in getOrCreateRegionCounters()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 347 Record.reserveSites(Kind, NumValueSites); in deserializeTo() 350 for (uint64_t VSite = 0; VSite < NumValueSites; ++VSite) { in deserializeTo() 367 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes() 379 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes()
|
D | InstrProfReader.cpp | 148 VP_READ_ADVANCE(NumValueSites); in readValueProfileData() 149 if (!NumValueSites) in readValueProfileData() 152 Record.reserveSites(VK, NumValueSites); in readValueProfileData() 153 for (uint32_t S = 0; S < NumValueSites; S++) { in readValueProfileData() 388 NumValueKinds += (Data->NumValueSites[I] != 0); in readValueProfilingData()
|
/external/compiler-rt/test/profile/ |
D | instrprof-value-prof-2.c | 14 uint16_t NumValueSites);
|
D | instrprof-value-prof.c | 21 uint16_t NumValueSites);
|
/external/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 423 static uint16_t NumValueSites[IPVK_Last + 1] = {5}; variable 426 initializeValueProfRuntimeRecord(&RTRecord, &NumValueSites[0], in TEST_F()
|