Home
last modified time | relevance | path

Searched refs:Variadic (Results 1 – 25 of 159) sorted by relevance

1234567

/external/perfetto/src/trace_processor/storage/
Dmetadata.h32 F(all_data_source_started_ns, KeyType::kSingle, Variadic::kInt), \
33 F(android_build_fingerprint, KeyType::kSingle, Variadic::kString), \
34 F(android_sdk_version, KeyType::kSingle, Variadic::kInt), \
35 F(benchmark_description, KeyType::kSingle, Variadic::kString), \
36 F(benchmark_had_failures, KeyType::kSingle, Variadic::kInt), \
37 F(benchmark_label, KeyType::kSingle, Variadic::kString), \
38 F(benchmark_name, KeyType::kSingle, Variadic::kString), \
39 F(benchmark_start_time_us, KeyType::kSingle, Variadic::kInt), \
40 F(benchmark_story_name, KeyType::kSingle, Variadic::kString), \
41 F(benchmark_story_run_index, KeyType::kSingle, Variadic::kInt), \
[all …]
/external/perfetto/src/trace_processor/types/
Dvariadic.h26 struct Variadic { struct
42 static Variadic Integer(int64_t int_value) { in Integer() argument
43 Variadic variadic; in Integer()
53 static Variadic UnsignedInteger(uint64_t uint_value) { in UnsignedInteger() argument
54 Variadic variadic; in UnsignedInteger()
60 static Variadic String(StringPool::Id string_id) { in String() argument
61 Variadic variadic; in String()
67 static Variadic Real(double real_value) { in Real() argument
68 Variadic variadic; in Real()
76 static Variadic Pointer(uint64_t pointer_value) { in Pointer() argument
[all …]
/external/perfetto/src/trace_processor/prelude/functions/
Dto_ftrace.cc69 using ValueWriter = std::function<void(const Variadic&)>;
70 using SerializerValueWriter = void (ArgsSerializer::*)(const Variadic&);
92 void WriteArg(base::StringView key, Variadic value, ValueWriter writer);
101 void WriteKernelFnValue(const Variadic& value) { in WriteKernelFnValue()
102 if (value.type == Variadic::Type::kUint) { in WriteKernelFnValue()
104 } else if (value.type == Variadic::Type::kString) { in WriteKernelFnValue()
110 void WriteValue(const Variadic& variadic);
115 return [this, writer](const Variadic& v) { (this->*writer)(v); }; in Wrap()
205 WriteArgForField(SS::kPrevStateFieldNumber, [this](const Variadic& value) { in SerializeArgs()
206 PERFETTO_DCHECK(value.type == Variadic::Type::kInt); in SerializeArgs()
[all …]
Dutils.h259 std::optional<Variadic> opt_value; in Run()
270 case Variadic::kNull: in Run()
272 case Variadic::kInt: in Run()
275 case Variadic::kUint: in Run()
278 case Variadic::kString: in Run()
282 case Variadic::kReal: in Run()
285 case Variadic::kBool: in Run()
288 case Variadic::kPointer: in Run()
291 case Variadic::kJson: in Run()
/external/perfetto/src/trace_processor/importers/common/
Dmetadata_tracker.cc42 MetadataId MetadataTracker::SetMetadata(metadata::KeyId key, Variadic value) { in SetMetadata()
48 if (key == metadata::trace_uuid && value.type == Variadic::kString) { in SetMetadata()
82 case Variadic::kInt: in GetMetadata()
84 case Variadic::kString: in GetMetadata()
86 case Variadic::kNull: in GetMetadata()
88 case Variadic::kJson: in GetMetadata()
89 case Variadic::kUint: in GetMetadata()
90 case Variadic::kPointer: in GetMetadata()
91 case Variadic::kReal: in GetMetadata()
92 case Variadic::kBool: in GetMetadata()
[all …]
Dglobal_args_tracker.h44 Variadic value = Variadic::Integer(0);
66 case Variadic::Type::kInt: in operator()
69 case Variadic::Type::kUint: in operator()
72 case Variadic::Type::kString: in operator()
75 case Variadic::Type::kReal: in operator()
78 case Variadic::Type::kPointer: in operator()
81 case Variadic::Type::kBool: in operator()
84 case Variadic::Type::kJson: in operator()
87 case Variadic::Type::kNull: in operator()
146 case Variadic::Type::kInt: in AddArgSet()
[all …]
Dargs_translation_table_unittest.cc109 Variadic::Type::kUint)); in TEST()
113 Variadic::Type::kUint)); in TEST()
117 Variadic::Type::kUint)); in TEST()
121 Variadic::Type::kUint)); in TEST()
127 Variadic::Type::kUint)); in TEST()
131 Variadic::Type::kUint)); in TEST()
135 Variadic::Type::kUint)); in TEST()
139 Variadic::Type::kUint)); in TEST()
145 Variadic::Type::kInt)); in TEST()
150 Variadic::Type::kUint)); in TEST()
[all …]
Dargs_translation_table.cc83 Variadic::Type type) const { in NeedsTranslation()
109 Variadic::String(storage_->InternString(*translated_value))); in TranslateArgs()
120 Variadic::String(storage_->InternString(*translated_value))); in TranslateArgs()
132 Variadic::String(storage_->InternString(*translated_value))); in TranslateArgs()
144 Variadic::String(storage_->InternString(*translated_value))); in TranslateArgs()
153 Variadic::String(*translated_class_name)); in TranslateArgs()
175 Variadic::Type type) const { in KeyIdAndTypeToEnum()
176 if (type == Variadic::Type::kUint) { in KeyIdAndTypeToEnum()
195 } else if (type == Variadic::Type::kString) { in KeyIdAndTypeToEnum()
268 Variadic::String(storage_->InternString(base::StringView( in EmitMojoMethodLocation()
[all …]
Dmetadata_tracker.h34 MetadataId SetMetadata(metadata::KeyId key, Variadic value);
40 MetadataId AppendMetadata(metadata::KeyId key, Variadic value);
44 MetadataId SetDynamicMetadata(StringId key, Variadic value);
61 void WriteValue(uint32_t row, Variadic value);
/external/perfetto/src/trace_processor/importers/proto/
Dmetadata_minimal_module.cc64 Variadic::String(benchmark_name_id)); in ParseChromeBenchmarkMetadata()
70 Variadic::String(benchmark_description_id)); in ParseChromeBenchmarkMetadata()
75 Variadic::String(label_id)); in ParseChromeBenchmarkMetadata()
80 Variadic::String(story_name_id)); in ParseChromeBenchmarkMetadata()
85 Variadic::String(story_tag_id)); in ParseChromeBenchmarkMetadata()
89 Variadic::Integer(packet.benchmark_start_time_us())); in ParseChromeBenchmarkMetadata()
93 Variadic::Integer(packet.story_run_time_us())); in ParseChromeBenchmarkMetadata()
97 Variadic::Integer(packet.story_run_index())); in ParseChromeBenchmarkMetadata()
101 Variadic::Integer(packet.had_failures())); in ParseChromeBenchmarkMetadata()
117 Variadic::Integer(packet_decoder.chrome_version_code())); in ParseChromeMetadataPacket()
[all …]
Dstatsd_module.cc50 Variadic variadic_val = Variadic::Integer(value); in AddInteger()
58 Variadic variadic_val = Variadic::UnsignedInteger(value); in AddUnsignedInteger()
66 Variadic variadic_val = Variadic::String(storage_.InternString(value)); in AddString()
74 Variadic variadic_val = in AddString()
75 Variadic::String(storage_.InternString(base::StringView(value))); in AddString()
83 Variadic variadic_val = Variadic::Real(value); in AddDouble()
91 Variadic variadic_val = in AddPointer()
92 Variadic::Pointer(reinterpret_cast<uintptr_t>(value)); in AddPointer()
100 Variadic variadic_val = Variadic::Boolean(value); in AddBoolean()
112 Variadic variadic_val = Variadic::Null(); in AddNull()
Dnetwork_trace_module_unittest.cc70 bool HasArg(ArgSetId set_id, base::StringView key, Variadic value) { in HasArg()
116 EXPECT_TRUE(HasArg(1u, "packet_length", Variadic::Integer(72))); in TEST_F()
117 EXPECT_TRUE(HasArg(1u, "socket_uid", Variadic::Integer(1010))); in TEST_F()
118 EXPECT_TRUE(HasArg(1u, "local_port", Variadic::Integer(5100))); in TEST_F()
119 EXPECT_TRUE(HasArg(1u, "remote_port", Variadic::Integer(443))); in TEST_F()
121 Variadic::String(storage_->InternString("IPPROTO_TCP")))); in TEST_F()
123 Variadic::String(storage_->InternString("0x407")))); in TEST_F()
125 Variadic::String(storage_->InternString(".s..a...")))); in TEST_F()
156 EXPECT_TRUE(HasArg(1u, "packet_length", Variadic::Integer(72))); in TEST_F()
157 EXPECT_TRUE(HasArg(2u, "packet_length", Variadic::Integer(100))); in TEST_F()
[all …]
Dmetadata_module.cc60 Variadic::String(id)); in TokenizePacket()
76 Variadic::String(id)); in TokenizePacket()
110 Variadic::String(producer_name)); in ParseTrigger()
114 Variadic::Integer(trigger.trusted_producer_uid())); in ParseTrigger()
131 Variadic::String(id)); in ParseTraceUuid()
145 Variadic::String(id)); in ParseTraceConfig()
153 Variadic::String(id)); in ParseTraceConfig()
168 Variadic::String(id)); in ParseTraceConfig()
Dframe_timeline_event_parser.cc236 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseExpectedDisplayFrameStart()
310 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseActualDisplayFrameStart()
311 inserter->AddArg(present_type_id_, Variadic::String(present_type)); in ParseActualDisplayFrameStart()
313 Variadic::Integer(event.on_time_finish())); in ParseActualDisplayFrameStart()
315 Variadic::Integer(event.gpu_composition())); in ParseActualDisplayFrameStart()
316 inserter->AddArg(jank_type_id_, Variadic::String(jank_type)); in ParseActualDisplayFrameStart()
318 Variadic::String(prediction_type)); in ParseActualDisplayFrameStart()
411 inserter->AddArg(display_frame_token_id_, Variadic::Integer(token)); in ParseExpectedSurfaceFrameStart()
412 inserter->AddArg(layer_name_id_, Variadic::String(layer_name_id)); in ParseExpectedSurfaceFrameStart()
517 inserter->AddArg(surface_frame_token_id_, Variadic::Integer(token)); in ParseActualSurfaceFrameStart()
[all …]
Dnetwork_trace_module.cc196 i->AddArg(net_arg_ip_proto_, Variadic::String(ip_proto)); in ParseGenericEvent()
198 i->AddArg(net_arg_uid_, Variadic::Integer(evt.uid())); in ParseGenericEvent()
201 Variadic::String( in ParseGenericEvent()
206 Variadic::String( in ParseGenericEvent()
209 i->AddArg(net_arg_local_port_, Variadic::Integer(evt.local_port())); in ParseGenericEvent()
210 i->AddArg(net_arg_remote_port_, Variadic::Integer(evt.remote_port())); in ParseGenericEvent()
218 i->AddArg(net_arg_length_, Variadic::Integer(event.length())); in ParseNetworkPacketEvent()
230 i->AddArg(net_arg_length_, Variadic::UnsignedInteger(event.total_length())); in ParseNetworkPacketBundle()
231 i->AddArg(packet_count_, Variadic::UnsignedInteger(event.total_packets())); in ParseNetworkPacketBundle()
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_utils.cc66 Variadic ArgValue::ToStorageVariadic(TraceStorage* storage) const { in ToStorageVariadic()
69 return Variadic::String(storage->InternString("null")); in ToStorageVariadic()
71 return Variadic::Integer(static_cast<int64_t>(int32_)); in ToStorageVariadic()
73 return Variadic::Integer(static_cast<int64_t>(uint32_)); in ToStorageVariadic()
75 return Variadic::Integer(int64_); in ToStorageVariadic()
77 return Variadic::Integer(static_cast<int64_t>(uint64_)); in ToStorageVariadic()
79 return Variadic::Real(double_); in ToStorageVariadic()
81 return Variadic::String(string_); in ToStorageVariadic()
83 return Variadic::Pointer(pointer_); in ToStorageVariadic()
85 return Variadic::Integer(static_cast<int64_t>(koid_)); in ToStorageVariadic()
[all …]
/external/tensorflow/tensorflow/dtensor/mlir/ir/
Dtf_dtensor.td96 Variadic<TF_Int32Tensor>:$embedding_indices,
97 Variadic<TF_Float32Tensor>:$aggregation_weights,
118 Variadic<TF_Float32Tensor>:$outputs
177 Variadic<TF_Float32Tensor>:$slots,
179 Variadic<TF_Float32Tensor>:$scalars,
204 Variadic<TF_Float32Tensor>:$slots,
232 Arg<Variadic<TF_Float32Tensor>, [{A list of tensors, one for each embedding table,
235 … Arg<Variadic<TF_Float32Tensor>, [{A list of tensors, one for each embedding table, containing the
240 … Arg<Variadic<TF_Float32Tensor>, [{A list of tensors, one for each embedding table, containing the
245 … Arg<Variadic<TF_Float32Tensor>, [{A list of tensors, one for each embedding table, containing the
[all …]
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc99 inserter->AddArg(transaction_id_, Variadic::Integer(transaction_id)); in Transaction()
100 inserter->AddArg(dest_node_, Variadic::Integer(dest_node)); in Transaction()
101 inserter->AddArg(dest_process_, Variadic::Integer(dest_tgid)); in Transaction()
102 inserter->AddArg(is_reply_, Variadic::Boolean(is_reply)); in Transaction()
105 inserter->AddArg(flags_, Variadic::String(context_->storage->InternString( in Transaction()
107 inserter->AddArg(code_, Variadic::String(code)); in Transaction()
108 inserter->AddArg(calling_tid_, Variadic::UnsignedInteger(tid)); in Transaction()
119 inserter->AddArg(dest_thread_, Variadic::Integer(dest_tid)); in Transaction()
121 inserter->AddArg(dest_name_, Variadic::String(*dest_thread_name)); in Transaction()
182 inserter->AddArg(dest_thread_, Variadic::UnsignedInteger(pid)); in TransactionReceived()
[all …]
Dpkvm_hyp_cpu_tracker.cc101 inserter->AddArg(hyp_enter_reason_, Variadic::String(host_hcall)); in ParseHostHcall()
102 inserter->AddArg(id, Variadic::UnsignedInteger(evt.id())); in ParseHostHcall()
103 inserter->AddArg(invalid, Variadic::UnsignedInteger(evt.invalid())); in ParseHostHcall()
118 inserter->AddArg(hyp_enter_reason_, Variadic::String(host_smc)); in ParseHostSmc()
119 inserter->AddArg(id, Variadic::UnsignedInteger(evt.id())); in ParseHostSmc()
120 inserter->AddArg(forwarded, Variadic::UnsignedInteger(evt.forwarded())); in ParseHostSmc()
135 inserter->AddArg(hyp_enter_reason_, Variadic::String(host_mem_abort)); in ParseHostMemAbort()
136 inserter->AddArg(esr, Variadic::UnsignedInteger(evt.esr())); in ParseHostMemAbort()
137 inserter->AddArg(addr, Variadic::UnsignedInteger(evt.addr())); in ParseHostMemAbort()
Dsched_event_tracker.cc249 auto add_raw_arg = [this, &inserter](int field_num, Variadic var) { in PushSchedWakingCompact()
253 add_raw_arg(SW::kCommFieldNumber, Variadic::String(comm_id)); in PushSchedWakingCompact()
254 add_raw_arg(SW::kPidFieldNumber, Variadic::Integer(wakee_pid)); in PushSchedWakingCompact()
255 add_raw_arg(SW::kPrioFieldNumber, Variadic::Integer(prio)); in PushSchedWakingCompact()
256 add_raw_arg(SW::kTargetCpuFieldNumber, Variadic::Integer(target_cpu)); in PushSchedWakingCompact()
290 auto add_raw_arg = [this, &inserter](int field_num, Variadic var) { in AddRawEventAndStartSlice()
294 add_raw_arg(SS::kPrevCommFieldNumber, Variadic::String(prev_comm_id)); in AddRawEventAndStartSlice()
295 add_raw_arg(SS::kPrevPidFieldNumber, Variadic::Integer(prev_pid)); in AddRawEventAndStartSlice()
296 add_raw_arg(SS::kPrevPrioFieldNumber, Variadic::Integer(prev_prio)); in AddRawEventAndStartSlice()
297 add_raw_arg(SS::kPrevStateFieldNumber, Variadic::Integer(prev_state)); in AddRawEventAndStartSlice()
[all …]
Dv4l2_tracker.cc297 Variadic::Integer(evt.device_minor)); in AddArgs()
300 inserter->AddArg(buf_event_ids_.index, Variadic::Integer(*evt.index)); in AddArgs()
303 Variadic::String(buf_type_ids_.Map(*evt.type))); in AddArgs()
306 Variadic::Integer(*evt.bytesused)); in AddArgs()
309 Variadic::String(InternBufFlags(evt.flags))); in AddArgs()
311 Variadic::String(buf_field_ids_.Map(evt.field))); in AddArgs()
312 inserter->AddArg(buf_event_ids_.timestamp, Variadic::Integer(evt.timestamp)); in AddArgs()
314 Variadic::String(tc_type_ids_.Map(evt.timecode_type))); in AddArgs()
316 Variadic::String(InternTcFlags(evt.timecode_flags))); in AddArgs()
318 Variadic::Integer(evt.timecode_frames)); in AddArgs()
[all …]
Dvirtio_video_tracker.cc217 Variadic::Integer(pb_evt->stream_id())); in AddCommandSliceArgs()
219 Variadic::Integer(pb_evt->resource_id())); in AddCommandSliceArgs()
220 args->AddArg(fields_string_ids_.queue_type, Variadic::String(queue_type_id)); in AddCommandSliceArgs()
222 Variadic::Integer(pb_evt->data_size0())); in AddCommandSliceArgs()
224 Variadic::Integer(pb_evt->data_size1())); in AddCommandSliceArgs()
226 Variadic::Integer(pb_evt->data_size2())); in AddCommandSliceArgs()
228 Variadic::Integer(pb_evt->data_size3())); in AddCommandSliceArgs()
230 Variadic::UnsignedInteger(pb_evt->timestamp())); in AddCommandSliceArgs()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp352 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
361 void lowerToArithmetics(GetElementPtrInst *Variadic,
769 GetElementPtrInst *Variadic, int64_t AccumulativeByteOffset) { in lowerToSingleIndexGEPs() argument
770 IRBuilder<> Builder(Variadic); in lowerToSingleIndexGEPs()
771 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
774 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs()
775 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs()
776 Loop *L = LI->getLoopFor(Variadic->getParent()); in lowerToSingleIndexGEPs()
786 gep_type_iterator GTI = gep_type_begin(*Variadic); in lowerToSingleIndexGEPs()
789 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { in lowerToSingleIndexGEPs()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp382 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
392 void lowerToArithmetics(GetElementPtrInst *Variadic,
815 GetElementPtrInst *Variadic, int64_t AccumulativeByteOffset) { in lowerToSingleIndexGEPs() argument
816 IRBuilder<> Builder(Variadic); in lowerToSingleIndexGEPs()
817 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
820 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs()
821 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs()
822 Loop *L = LI->getLoopFor(Variadic->getParent()); in lowerToSingleIndexGEPs()
832 gep_type_iterator GTI = gep_type_begin(*Variadic); in lowerToSingleIndexGEPs()
835 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { in lowerToSingleIndexGEPs()
[all …]
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-throw.cpp73 struct Variadic { struct
74 Variadic(Variadic &, ...);
77 void i(Variadic &v) { in i()

1234567