Lines Matching refs:NumValueSites
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) +
453 This->NumValueSites));
463 for (I = 0; I < This->NumValueSites; I++)
475 getValueProfRecordSize(This->NumValueSites,
500 uint32_t NumValueSites = Closure->GetNumValueSites(Record, Kind);
501 if (!NumValueSites)
503 TotalSize += getValueProfRecordSize(NumValueSites,
516 uint32_t ValueKind, uint32_t NumValueSites) {
520 This->NumValueSites = NumValueSites;
523 for (S = 0; S < NumValueSites; S++) {
552 uint32_t NumValueSites = Closure->GetNumValueSites(Closure->Record, Kind);
553 if (!NumValueSites)
555 serializeValueProfRecordFrom(VR, Closure, Kind, NumValueSites);