Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 170) sorted by relevance

1234567

/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/
H A Dcreate-empty-corefile.cpp87 std::vector<std::vector<uint8_t>> &loadcmds, std::vector<uint8_t> &payload, in add_lc_note_kern_ver_str_load_command() argument
113 // we start writing the payload at payload_file_offset to leave in add_lc_note_kern_ver_str_load_command()
115 uint64_t current_payload_offset = payload.size() + payload_file_offset; in add_lc_note_kern_ver_str_load_command()
122 add_uint32(payload, 1); // kerneL_version_string.version in add_lc_note_kern_ver_str_load_command()
124 payload.push_back(ident[i]); in add_lc_note_kern_ver_str_load_command()
129 std::vector<std::vector<uint8_t>> &loadcmds, std::vector<uint8_t> &payload, in add_lc_note_main_bin_spec_load_command() argument
144 // we start writing the payload at payload_file_offset to leave in add_lc_note_main_bin_spec_load_command()
146 uint64_t current_payload_offset = payload.size() + payload_file_offset; in add_lc_note_main_bin_spec_load_command()
154 // Now write the "main bin spec" payload. in add_lc_note_main_bin_spec_load_command()
155 add_uint32(payload, in add_lc_note_main_bin_spec_load_command()
168 add_lc_segment(std::vector<std::vector<uint8_t>> & loadcmds,std::vector<uint8_t> & payload,int payload_file_offset) add_lc_segment() argument
323 std::vector<uint8_t> payload; main() local
[all...]
/llvm-project/lldb/test/API/macosx/lc-note/multiple-binary-corefile/
H A Dcreate-multibin-corefile.cpp107 std::vector<std::vector<uint8_t>> &loadcmds, std::vector<uint8_t> &payload, in add_lc_note_main_bin_spec_load_command() argument
124 uint64_t current_payload_offset = payload.size() + payload_file_offset; in add_lc_note_main_bin_spec_load_command()
133 add_uint32(payload, 2); // version in add_lc_note_main_bin_spec_load_command()
134 add_uint32(payload, 3); // type == 3 [ firmware, standalone, etc ] in add_lc_note_main_bin_spec_load_command()
135 add_uint64(payload, address); // load address in add_lc_note_main_bin_spec_load_command()
136 add_uint64(payload, slide); // slide in add_lc_note_main_bin_spec_load_command()
140 payload.push_back(uuid[i]); in add_lc_note_main_bin_spec_load_command()
141 add_uint32(payload, 0); // log2_pagesize unspecified in add_lc_note_main_bin_spec_load_command()
142 add_uint32(payload, 0); // platform unspecified in add_lc_note_main_bin_spec_load_command()
146 std::vector<std::vector<uint8_t>> &loadcmds, std::vector<uint8_t> &payload, in add_lc_note_load_binary_load_command() argument
[all …]
/llvm-project/libcxx/test/libcxx/fuzzing/
H A Dfuzz.h25 std::size_t payload; member
27 ByteWithPayload(std::uint8_t k) : key(k), payload(0) { } in ByteWithPayload()
28 ByteWithPayload(std::uint8_t k, std::size_t p) : key(k), payload(p) { } in ByteWithPayload()
31 return x.key == y.key && x.payload == y.payload;
45 { return x.payload < y.payload; } in operator()
50 return x.key == y.key ? x.payload < y.payload : x.key < y.key; in operator()
56 std::swap(lhs.payload, rhs.payload); in swap()
76 xPayloads[first1->key] += first1->payload; in fast_is_permutation()
79 yPayloads[first2->key] += first2->payload; in fast_is_permutation()
/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DTransformTypes.cpp45 ArrayRef<Attribute> payload) const { in checkPayload()
46 for (Attribute attr : payload) { in checkPayload()
61 ArrayRef<Operation *> payload) const { in checkPayload()
71 ArrayRef<Value> payload) const { in checkPayload()
81 ArrayRef<Operation *> payload) const { in checkPayload()
83 for (Operation *op : payload) { in checkPayload()
103 ArrayRef<Attribute> payload) const { in checkPayload()
122 ArrayRef<Attribute> payload) const { in checkPayload()
123 for (Attribute attr : payload) { in checkPayload()
145 ArrayRef<Attribute> payload) const { in checkPayload()
[all …]
/llvm-project/clang/test/CodeGen/
H A Dcallback_annotated.c4 __attribute__((callback(1, 2))) void *broker0(void *(*callee)(void *), void *payload) { in broker0() argument
5 return callee(payload); in broker0()
9 __attribute__((callback(callee, payload))) void *broker1(void *payload, void *(*callee)(void *)) { in broker1() argument
10 return broker0(callee, payload); in broker1()
29 static void *VoidPtr2VoidPtr(void *payload) { in VoidPtr2VoidPtr() argument
30 return payload; in VoidPtr2VoidPtr()
H A Dcallback_pthread_create.c26 static void *callee0(void *payload) { in callee0() argument
27 return payload; in callee0()
30 static void *callee1(void *payload) { in callee1() argument
31 return payload; in callee1()
/llvm-project/lldb/test/API/macosx/lc-note/kern-ver-str/
H A Dcreate-empty-corefile.cpp79 std::vector<uint8_t> &payload, in add_lc_note_kern_ver_str_load_command() argument
97 uint64_t current_payload_offset = payload.size() + payload_file_offset; in add_lc_note_kern_ver_str_load_command()
104 add_uint32 (payload, 1); // kerneL_version_string.version in add_lc_note_kern_ver_str_load_command()
107 payload.push_back (ident[i]); in add_lc_note_kern_ver_str_load_command()
113 std::vector<uint8_t> &payload, in add_lc_segment() argument
123 seg.fileoff = payload.size() + payload_file_offset; in add_lc_segment()
263 std::vector<uint8_t> payload; in main() local
268 add_lc_note_kern_ver_str_load_command (load_commands, payload, 0, ident); in main()
269 add_lc_segment (load_commands, payload, 0); in main()
280 payload.clear(); in main()
[all …]
/llvm-project/mlir/test/python/dialects/
H A Dtransform_interpreter.py39 payload = ir.Module.parse("module attributes { this.is.payload } {}")
40 interp.apply_named_sequence(payload, transform.body.operations[0], transform)
56 payload = ir.Module.parse("module attributes { this.is.payload } {}")
57 interp.apply_named_sequence(payload, m.body.operations[0], m, options)
65 payload = ir.Module.parse("module attributes { this.is.payload } {}")
67 interp.apply_named_sequence(payload, payload, payload)
/llvm-project/mlir/docs/Tutorials/transform/
H A DCh3.md5 A transform operation that applies to each payload operation individually and requires it to be of …
21 For each `func.call` payload operation associated with the handle, changes its
24 Generates a silenceable failure if the operand is associated with payload operations
29 // The arguments include the handle to the payload operations and the attribute that
37 // The results are empty as the transformation does not produce any new payload.
43 // Declare the function implementing the interface for a single payload operation.
54 …th a loop, we can simply define a function that applies to an individual payload operation and the…
71payload operations. Our call rewriting operation currently applies only to `func.call`. We may wan…
84 let summary = "handle to payload operations implementing CallOpInterface";
98 // payload operations. It returns the now familiar tri-state result.
[all …]
H A DCh1.md5 … containing these operations transform IR. And we call the IR that is being transformed payload IR.
7 Transform IR operations operate on values that may be associated with payload IR operations, values…
52 …** argv)` signature. This argument will be associated with the top-level payload operation, most o…
54 The remaining entry block arguments are optional and can be associated with payload attributes, ope…
56payload IR entities associated with them. In this example, `transform.any_op` indicates that the h…
86 …rm dialect interpreter pass to apply this transformation sequence to the payload IR. As we will se…
95payload IR function _and_ the transform IR sequence nested in the same module. The transform inter…
112 Note that `%arg2` is associated with both elementwise payload operations. Any handle is associated …
176payload operations are erased or recreated (which means erased and created anew with similar struc…
209 …transform op that consumes its operand #0 and invalidates all handles to payload IR entities assoc…
[all …]
/llvm-project/mlir/test/Dialect/Transform/
H A Dtest-interpreter-debug.mlir2 // RUN: debug-payload-root-tag=payload \
6 // expected-error @below {{could not find the operation with transform.target_tag="payload" attribu…
21 module attributes {transform.target_tag="payload"} {}
28 transform.debug.emit_remark_at %arg0, "payload" : !transform.any_op
40 // expected-remark @below {{payload}}
41 module attributes {transform.target_tag="payload"} {}
H A Dexpensive-checks.mlir3 // expected-note @below {{ancestor payload op}}
5 // expected-note @below {{nested payload op}}
65 …a handle passed as operand #0 and consumed by this operation points to a payload entity more than …
77 // expected-note @below {{ancestor payload op}}
78 // expected-note @below {{nested payload op}}
95 // expected-note @below {{ancestor payload op}}
96 // expected-note @below {{nested payload op}}
104 // to overlapping sets of payload IR ops.
107 …this transform op that consumes its operand #0 and invalidates all handles to payload IR entities}}
128 // expected-note @below {{payload value}}
[all …]
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteClientBase.cpp40 llvm::StringRef payload, std::chrono::seconds interrupt_timeout, in SendContinuePacketAndWaitForResponse() argument
47 m_continue_packet = std::string(payload); in SendContinuePacketAndWaitForResponse()
182 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndWaitForResponse() argument
190 __FUNCTION__, int(payload.size()), payload.data()); in SendPacketAndWaitForResponse()
194 return SendPacketAndWaitForResponseNoLock(payload, response); in SendPacketAndWaitForResponse()
216 llvm::StringRef payload, StringExtractorGDBRemote &response, in SendPacketAndReceiveResponseWithOutputSupport() argument
225 __FUNCTION__, int(payload.size()), payload.data()); in SendPacketAndReceiveResponseWithOutputSupport()
229 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndReceiveResponseWithOutputSupport()
239 llvm::StringRef payload, StringExtractorGDBRemote &response) { in SendPacketAndWaitForResponseNoLock() argument
240 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndWaitForResponseNoLock()
[all …]
/llvm-project/lldb/test/API/commands/expression/issue_11588/
H A Dmain.cpp28 StgClosure* payload[1]; member in StgClosure
33 payload[0] = new StgClosure(false); in StgClosure()
35 payload[0] = NULL; in StgClosure()
39 if (payload[0]) in ~StgClosure()
40 delete payload[0]; in ~StgClosure()
/llvm-project/mlir/docs/Dialects/
H A DTransform.md11 transformed as payload IR, and to the IR guiding the transformation as
17 size) in the payload IR, applying loop tiling to those and only those
21 common case, the transform IR will be processed and applied to the payload IR by
41 * sets of operations in the payload IR;
43 * sets of values in the payload IR;
50 loops found in the payload IR that satisfy the condition, and `%2` correspond to
56 An operation handle such as `%0` may be associated with multiple payload
59 Similarly, a value handle such as `%3` may be associated with a set of payload
62 Transform IR ops support operand values that are mapped to multiple payload
78 Alternatively, parameters can associate with the payload I
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_addrhashmap_test.cpp17 int payload; member
19 return payload == rhs.payload; in operator ==()
53 h->payload = val.payload; in TEST()
/llvm-project/mlir/include/mlir/Dialect/Transform/Interfaces/
H A DMatchInterfaces.h90 auto payload = state.getPayloadOps(operandHandle); in apply() local
91 if (!llvm::hasNItemsOrLess(payload, 1)) { in apply()
96 if (payload.empty()) { in apply()
101 .matchOperation(*payload.begin(), results, state); in apply()
119 auto payload = state.getPayloadOps(operandHandle); in apply() local
120 if (!llvm::hasSingleElement(payload)) { in apply()
154 auto payload = state.getPayloadValues(operandHandle); in apply() local
155 if (!llvm::hasSingleElement(payload)) { in apply()
162 .matchValue(*payload.begin(), results, state); in apply()
/llvm-project/mlir/include/mlir/Dialect/Linalg/TransformOps/
H A DLinalgMatchOps.td31 Checks if the payload operation associated with the operand handle is a
34 operation are satisfied. Produces a silenceable failure if the payload
45 associated with the same payload as the operands of the block terminator. If
49 associated with the same payload as the already defined terminator operands.
59 handles. It succeeds in "propagate" mode if the payload operation is a
62 one payload operation. It produces a definite failure when the handle is
63 not associated with exactly one payload operation.
86 op and apply to its first block argument because it assumes the payload
99 Checks if the body of the structured payload op satisfies one of the
102 * `reduction_position`: the body of the structured payload o
[all...]
/llvm-project/mlir/examples/transform/Ch3/include/
H A DMyExtension.td36 For each `func.call` payload operation associated with the handle, changes its
39 Generates a silenceable failure if the operand is associated with payload operations
44 // The arguments include the handle to the payload operations and the attribute that
49 // Specify the type constraint on the input accepting only `func.call` payload
54 // The results are empty as the transformation does not produce any new payload.
60 // Declare the function implementing the interface for a single payload operation.
80 // The argument is the handle to the payload operations.
83 // The result is the handle to the payload operations produced during the
90 // Declare the function implementing the interface for a single payload operation.
/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCClassDescriptorV2.h43 uint64_t *payload = nullptr) override {
49 uint64_t *payload = nullptr) override {
283 ClassDescriptorV2Tagged(ConstString class_name, uint64_t payload) { in ClassDescriptorV2Tagged() argument
290 m_payload = payload; in ClassDescriptorV2Tagged()
343 uint64_t *payload = nullptr) override {
348 if (payload)
349 *payload = GetPayload();
355 uint64_t *payload = nullptr) override {
360 if (payload)
361 *payload = GetPayload();
/llvm-project/mlir/include/mlir/Dialect/Transform/IR/
H A DTransformOps.td37 sequence of transform operations to be applied to the same payload IR. The
51 transformation sequences are attempted, that is, an operation in the payload
58 remaining alternatives. Note that the payload IR outside of the given scope
116 Produces a silenceable failure if the length of the parameter payload does
117 not match the length of the target payload. Does not consume the provided
140 This transform reads the target handle and modifies the payload. Existing
193 This transform modifies the payload. By default, it consumes the `target`
200 or `replaceOpWithNewOp` are considered "payload op replacements". In
281 This transform reads the target handle and modifies the payload. Note that
282 this transform may silently remove payload op
[all...]
/llvm-project/mlir/lib/Dialect/Transform/DebugExtension/
H A DDebugExtensionOps.cpp25 auto payload = state.getPayloadOps(getAt()); in apply() local
26 for (Operation *op : payload) in apply()
66 for (Operation *payload : state.getPayloadOps(getAnchor())) in apply()
67 ::mlir::emitRemark(payload->getLoc()) << str; in apply()
/llvm-project/libcxx/test/std/input.output/string.streams/stringstream/stringstream.members/
H A Dgcount.pass.cpp29 std::string payload(INT_MAX - 1, '\0'); in main()
31 ss.write(payload.data(), payload.size()); in main()
26 std::string payload(INT_MAX - 1, '\0'); main() local
/llvm-project/libc/src/__support/threads/
H A Dthread.cpp96 void *payload = nullptr;
101 : active(true), payload(p), dtor(d) {}
161 if (unit.dtor != nullptr && unit.payload != nullptr) in call_atexit_callbacks()
162 unit.dtor(unit.payload); in call_atexit_callbacks()
188 return u.payload; in get_tss_value()
98 void *payload = nullptr; global() member
/llvm-project/libc/src/stdlib/
H A Dexit_handler.cpp

1234567