Lines Matching refs:Data
57 __llvm_profile_set_num_value_sites(__llvm_profile_data *Data,
59 *((uint16_t *)&Data->NumValueSites[ValueKind]) = NumValueSites;
64 __llvm_profile_iterate_data(const __llvm_profile_data *Data) {
65 return Data + 1;
70 __llvm_get_function_addr(const __llvm_profile_data *Data) {
71 return Data->FunctionPointer;
80 static int allocateValueProfileCounters(__llvm_profile_data *Data) {
93 NumVSites += Data->NumValueSites[VKI];
99 if (!COMPILER_RT_BOOL_CMPXCHG(&Data->Values, 0, Mem)) {
106 static ValueProfNode *allocateOneNode(__llvm_profile_data *Data, uint32_t Index,
134 __llvm_profile_instrument_target(uint64_t TargetValue, void *Data,
136 __llvm_profile_data *PData = (__llvm_profile_data *)Data;
223 * A wrapper struct that represents value profile runtime data.
226 * ValueProfRecordClosure so that the runtime data can be serialized using
230 const __llvm_profile_data *Data;
238 return ((const ValueProfRuntimeRecord *)R)->Data->NumValueSites[VK];
246 for (I = 0; I < Record->Data->NumValueSites[VK]; I++)
267 initializeValueProfRuntimeRecord(const __llvm_profile_data *Data,
270 ValueProfNode **Nodes = (ValueProfNode **)Data->Values;
271 RTRecord.Data = Data;
274 uint16_t N = Data->NumValueSites[I];