/external/compiler-rt/lib/profile/ |
D | InstrProfilingValue.c | 58 uint32_t ValueKind, uint16_t NumValueSites) { in __llvm_profile_set_num_value_sites() argument 59 *((uint16_t *)&Data->NumValueSites[ValueKind]) = NumValueSites; in __llvm_profile_set_num_value_sites() 93 NumVSites += Data->NumValueSites[VKI]; in allocateValueProfileCounters() 238 return ((const ValueProfRuntimeRecord *)R)->Data->NumValueSites[VK]; in getNumValueSitesRT() 246 for (I = 0; I < Record->Data->NumValueSites[VK]; I++) in getNumValueDataRT() 274 uint16_t N = Data->NumValueSites[I]; in initializeValueProfRuntimeRecord()
|
D | InstrProfilingWriter.c | 121 if (!Data->NumValueSites[I]) in writeOneValueProfData() 125 VPDataReader->GetValueProfRecordHeaderSize(Data->NumValueSites[I]) - in writeOneValueProfData() 162 if (!Data->NumValueSites[I]) in writeOneValueProfData() 167 RecordHeader.NumValueSites = Data->NumValueSites[I]; in writeOneValueProfData() 174 VPDataReader->GetValueProfRecordHeaderSize(Data->NumValueSites[I]) - in writeOneValueProfData() 180 for (J = 0; J < Data->NumValueSites[I]; J++) { in writeOneValueProfData()
|
D | InstrProfData.inc | 92 INSTR_PROF_DATA(const uint16_t, Int16ArrayTy, NumValueSites[IPVK_Last+1], \ 252 uint32_t NumValueSites; 255 * values for each value site. The size of the array is NumValueSites. 256 * Since NumValueSites is greater than zero, there is at least one 276 uint32_t getNumValueSites() const { return NumValueSites; } 403 getValueProfRecordHeaderSize(uint32_t NumValueSites); 428 uint32_t getValueProfRecordHeaderSize(uint32_t NumValueSites) { 430 sizeof(uint8_t) * NumValueSites; 441 uint32_t getValueProfRecordSize(uint32_t NumValueSites, 443 return getValueProfRecordHeaderSize(NumValueSites) + [all …]
|
D | InstrProfilingMergeFile.c | 32 for (S = 0; S < VR->NumValueSites; S++) { in lprofMergeValueProfData()
|
D | InstrProfiling.c | 58 CurrentVSiteCount += DI->NumValueSites[VKI]; in __llvm_profile_reset_counters()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 92 INSTR_PROF_DATA(const uint16_t, Int16ArrayTy, NumValueSites[IPVK_Last+1], \ 252 uint32_t NumValueSites; 255 * values for each value site. The size of the array is NumValueSites. 256 * Since NumValueSites is greater than zero, there is at least one 276 uint32_t getNumValueSites() const { return NumValueSites; } 403 getValueProfRecordHeaderSize(uint32_t NumValueSites); 428 uint32_t getValueProfRecordHeaderSize(uint32_t NumValueSites) { 430 sizeof(uint8_t) * NumValueSites; 441 uint32_t getValueProfRecordSize(uint32_t NumValueSites, 443 return getValueProfRecordHeaderSize(NumValueSites) + [all …]
|
D | InstrProf.h | 606 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites); 727 void InstrProfRecord::reserveSites(uint32_t ValueKind, uint32_t NumValueSites) { in reserveSites() argument 730 ValueSites.reserve(NumValueSites); in reserveSites()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 92 INSTR_PROF_DATA(const uint16_t, Int16ArrayTy, NumValueSites[IPVK_Last+1], \ 289 uint32_t NumValueSites; 292 * values for each value site. The size of the array is NumValueSites. 293 * Since NumValueSites is greater than zero, there is at least one 313 uint32_t getNumValueSites() const { return NumValueSites; } 440 getValueProfRecordHeaderSize(uint32_t NumValueSites); 465 uint32_t getValueProfRecordHeaderSize(uint32_t NumValueSites) { 467 sizeof(uint8_t) * NumValueSites; 478 uint32_t getValueProfRecordSize(uint32_t NumValueSites, 480 return getValueProfRecordHeaderSize(NumValueSites) + [all …]
|
D | InstrProf.h | 675 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites); 831 void InstrProfRecord::reserveSites(uint32_t ValueKind, uint32_t NumValueSites) { in reserveSites() argument 832 if (!NumValueSites) in reserveSites() 834 getOrCreateValueSitesForKind(ValueKind).reserve(NumValueSites); in reserveSites()
|
/external/llvm/include/llvm/Transforms/ |
D | InstrProfiling.h | 39 uint32_t NumValueSites[IPVK_Last + 1]; member 43 memset(NumValueSites, 0, sizeof(uint32_t) * (IPVK_Last + 1)); in PerFunctionProfileData()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-profdata/ |
D | memop-size-prof.proftext | 57 # NumValueSites: 102 #ICALL_TEXT: # NumValueSites: 112 #MEMOP_TEXT: # NumValueSites:
|
D | invalid-profdata.test | 15 RUN: echo "# NumValueSites:" >> %t.input 40 RUN: echo "# NumValueSites:" >> %t.input
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Instrumentation/ |
D | InstrProfiling.h | 50 uint32_t NumValueSites[IPVK_Last + 1]; member 55 memset(NumValueSites, 0, sizeof(uint32_t) * (IPVK_Last + 1)); in PerFunctionProfileData()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 189 PD.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 191 } else if (It->second.NumValueSites[ValueKind] <= Index) in computeNumValueSiteCounts() 192 It->second.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 206 Index += It->second.NumValueSites[Kind]; in lowerValueProfileInst() 368 NS += PD.NumValueSites[Kind]; in getOrCreateRegionCounters() 400 Int16ArrayVals[Kind] = ConstantInt::get(Int16Ty, PD.NumValueSites[Kind]); in getOrCreateRegionCounters() 443 TotalNS += PD.second.NumValueSites[Kind]; in emitVNodes()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.h | 37 std::array <unsigned, llvm::IPVK_Last + 1> NumValueSites; variable 51 : CGM(CGM), NumValueSites({{0}}), NumRegionCounters(0), in CodeGenPGO()
|
D | CodeGenPGO.cpp | 774 Builder.getInt32(NumValueSites[ValueKind]++) in valueProfile() 790 if (NumValueSites[ValueKind] >= ProfRecord->getNumValueSites(ValueKind)) in valueProfile() 795 NumValueSites[ValueKind]); in valueProfile() 797 NumValueSites[ValueKind]++; in valueProfile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 550 PD.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 552 } else if (It->second.NumValueSites[ValueKind] <= Index) in computeNumValueSiteCounts() 553 It->second.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts() 566 Index += It->second.NumValueSites[Kind]; in lowerValueProfileInst() 742 NS += PD.NumValueSites[Kind]; in getOrCreateRegionCounters() 775 Int16ArrayVals[Kind] = ConstantInt::get(Int16Ty, PD.NumValueSites[Kind]); in getOrCreateRegionCounters() 818 TotalNS += PD.second.NumValueSites[Kind]; in emitVNodes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/Inputs/ |
D | memop_size_annotation.proftext | 16 # NumValueSites:
|
D | indirect_call.proftext | 13 # NumValueSites:
|
/external/llvm/test/Transforms/PGOProfile/Inputs/ |
D | indirect_call.proftext | 13 # NumValueSites:
|
/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 169 VP_READ_ADVANCE(NumValueSites); in readValueProfileData() 170 if (!NumValueSites) in readValueProfileData() 173 Record.reserveSites(VK, NumValueSites); in readValueProfileData() 174 for (uint32_t S = 0; S < NumValueSites; S++) { in readValueProfileData() 404 NumValueKinds += (Data->NumValueSites[I] != 0); in readValueProfilingData()
|
D | InstrProf.cpp | 534 Record.reserveSites(Kind, NumValueSites); in deserializeTo() 537 for (uint64_t VSite = 0; VSite < NumValueSites; ++VSite) { in deserializeTo() 554 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes() 566 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 189 VP_READ_ADVANCE(NumValueSites); in readValueProfileData() 190 if (!NumValueSites) in readValueProfileData() 193 Record.reserveSites(VK, NumValueSites); in readValueProfileData() 194 for (uint32_t S = 0; S < NumValueSites; S++) { in readValueProfileData() 425 NumValueKinds += (Data->NumValueSites[I] != 0); in readValueProfilingData()
|
D | InstrProf.cpp | 671 Record.reserveSites(Kind, NumValueSites); in deserializeTo() 674 for (uint64_t VSite = 0; VSite < NumValueSites; ++VSite) { in deserializeTo() 692 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes() 704 sys::swapByteOrder<uint32_t>(NumValueSites); in swapBytes()
|
/external/compiler-rt/test/profile/ |
D | instrprof-value-prof-2.c | 20 uint16_t NumValueSites);
|