/llvm-project/mlir/docs/Dialects/ |
H A D | Transform.md | 11 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/mlir/docs/Tutorials/transform/ |
H A D | Ch3.md | 5 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… 71 …payload 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 D | Ch1.md | 5 … 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… 56 …payload 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… 95 …payload 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 … 176 …payload 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 …]
|
H A D | Ch2.md | 43 // not present in the original payload IR. 174 For each `func.call` payload operation associated with the handle, changes 177 …Generates a silenceable failure if the operand is associated with payload operations that are not … 180 // The arguments include the handle to the payload operations and the 190 // payload. 214 // have left payload IR in an invalid state; it is expected that a diagnostic 218 // for the transformation is not satisfied and the payload IR has not been 224 // The list of payload IR entities that will be associated with the 229 // current associations between transform IR values and payload IR entities. 233 // First, we need to obtain the list of payload operations that are associated [all …]
|
/llvm-project/lldb/test/API/macosx/lc-note/multiple-binary-corefile/ |
H A D | create-multibin-corefile.cpp | 107 std::vector<std::vector<uint8_t>> &loadcmds, std::vector<uint8_t> &payload, in add_lc_note_main_bin_spec_load_command() argument 122 // we start writing the payload at payload_file_offset to leave in add_lc_note_main_bin_spec_load_command() 124 uint64_t current_payload_offset = payload.size() + payload_file_offset; in add_lc_note_main_bin_spec_load_command() 132 // Now write the "main bin spec" payload. 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() [all …]
|
/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/ |
H A D | create-empty-corefile.cpp | 87 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/Shell/ObjectFile/wasm/ |
H A D | embedded-debug-sections.yaml | 124 Payload: 4C00 127 Payload: 0111 130 Payload: 5100 133 Payload: 636CFF 136 Payload: DEADBEEF 139 Payload: DEADBEEF 142 Payload: DEADBEEF 145 Payload: DEADBEEF 148 Payload: DEADBEEF 151 Payload: DEADBEEF [all …]
|
/llvm-project/mlir/include/mlir/Dialect/Transform/Interfaces/ |
H A D | TransformInterfaces.h | 35 /// the payload IR, depending on what is available in the context. 71 /// Populates `results` with payload associations that match exactly those of 101 /// Requests computationally expensive checks of the transform and payload IR 129 /// transformation specified by `transform` to payload IR contained in 145 /// which transformations apply are referred to as payload IR. Transform IR 146 /// operates on values that can be associated either with a list of payload IR 149 /// between values defined in the transform IR ops and either payload IR ops or 150 /// parameters. For payload ops, the mapping is many-to-many and the reverse 154 /// pointers to payload IR operations that are known to have been erased by 171 /// blocks with arguments, the client can map those arguments to payload I [all...] |
/llvm-project/mlir/include/mlir/Dialect/Transform/IR/ |
H A D | TransformOps.td | 37 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/include/mlir/Dialect/Linalg/TransformOps/ |
H A D | LinalgMatchOps.td | 31 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/test/Dialect/Transform/ |
H A D | expensive-checks.mlir | 3 // 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 …]
|
H A D | test-interpreter-debug.mlir | 2 // 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"} {}
|
/llvm-project/libcxx/test/libcxx/fuzzing/ |
H A D | fuzz.h | 22 // Perform the operation on the key, then check the order of the payload. 25 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/test/python/dialects/ |
H A D | transform_interpreter.py | 39 payload = ir.Module.parse("module attributes { this.is.payload } {}") 40 interp.apply_named_sequence(payload, transform.body.operations[0], transform) 45 # CHECK: this.is.payload 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/lldb/test/API/macosx/lc-note/kern-ver-str/ |
H A D | create-empty-corefile.cpp | 79 std::vector<uint8_t> &payload, in add_lc_note_kern_ver_str_load_command() argument 95 // we start writing the payload at payload_file_offset to leave in add_lc_note_kern_ver_str_load_command() 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() 242 …fprintf (stderr, "Create a Mach-O corefile with an LC_NOTE 'kern ver str' load command/payload\n"); in main() 244 fprintf (stderr, "be read and used in the corefile's LC_NOTE payload.\n"); in main() 263 std::vector<uint8_t> payload; in main() local [all …]
|
/llvm-project/llvm/lib/Testing/Annotations/ |
H A D | Annotations.cpp | 31 std::optional<llvm::StringRef> Payload; in Annotations() local 38 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations() 41 Payload = std::nullopt; in Annotations() 46 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations() 48 Payload = std::nullopt; in Annotations() 57 {NewRange.Begin, Code.size(), NewRange.Name, NewRange.Payload}); in Annotations() 69 Payload = Text.take_while([](char C) { return C != ')'; }); in Annotations() 70 Require(Text.size() > Payload->size(), "unterminated payload"); in Annotations() 71 Text = Text.drop_front(Payload->size() + 1); in Annotations() 93 return {P.Begin, P.Payload}; in pointWithPayload() [all …]
|
/llvm-project/polly/lib/CodeGen/ |
H A D | IslAst.cpp | 251 IslAstUserPayload *Payload = new IslAstUserPayload(); in astBuildBeforeFor() local 252 isl_id *Id = isl_id_alloc(isl_ast_build_get_ctx(Build), "", Payload); in astBuildBeforeFor() 256 Payload->IsParallel = astScheduleDimIsParallel(isl::manage_copy(Build), in astBuildBeforeFor() 257 BuildInfo->Deps, Payload); in astBuildBeforeFor() 261 BuildInfo->InParallelFor = Payload->IsOutermostParallel = in astBuildBeforeFor() 262 Payload->IsParallel; in astBuildBeforeFor() 279 IslAstUserPayload *Payload = (IslAstUserPayload *)isl_id_get_user(Id); in astBuildAfterFor() local 280 assert(Payload && "Post order visit assumes annotated for nodes"); in astBuildAfterFor() 283 assert(Payload->Build.is_null() && "Build environment already set"); in astBuildAfterFor() 284 Payload->Build = isl::manage_copy(Build); in astBuildAfterFor() [all …]
|
/llvm-project/mlir/include/mlir/Dialect/Transform/PDLExtension/ |
H A D | PDLExtensionOps.td | 23 Find Payload IR ops nested within the Payload IR op associated with the 27 Produces a Transform IR value associated with the list of Payload IR ops 30 If the operand is associated with multiple Payload IR ops, finds matching 35 Payload IR ops actually matched the pattern and only fails if the pattern 40 Arg<TransformHandleTypeInterface, "Payload IR scope to match within">:$root, 43 Res<TransformHandleTypeInterface, "Handle to the matched Payload IR ops">:$matched); 59 Payload IR operations that match the pattern as follows: 86 its entry block corresponds to either the root op of the payload IR or the 91 Arg<Optional<TransformHandleTypeInterface>, "Root operation of the Payload IR"
|
/llvm-project/mlir/examples/transform/Ch3/include/ |
H A D | MyExtension.td | 36 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/clang-tools-extra/clangd/unittests/ |
H A D | Annotations.cpp | 21 auto [BasePoint, Payload] = Base::pointWithPayload(Name); in pointWithPayload() 22 return {offsetToPosition(code(), BasePoint), Payload}; in pointWithPayload() 42 for (const auto &[Point, Payload] : BasePoints) in pointsWithPayload() 43 Ps.push_back({offsetToPosition(code(), Point), Payload}); in pointsWithPayload() 62 auto [BaseRange, Payload] = Base::rangeWithPayload(Name); in rangeWithPayload() 63 return {toLSPRange(code(), BaseRange), Payload}; in rangeWithPayload() 83 for (const auto &[R, Payload] : OffsetRanges) in rangesWithPayload() 84 Rs.push_back({toLSPRange(code(), R), Payload}); in rangesWithPayload()
|
/llvm-project/mlir/lib/Dialect/Transform/IR/ |
H A D | TransformTypes.cpp | 45 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() 87 << "incompatible payload operation name expected " << opName << " vs " in checkPayload() 89 diag.attachNote(op->getLoc()) << "payload operation"; in checkPayload() 103 ArrayRef<Attribute> payload) const { in checkPayload() 122 ArrayRef<Attribute> payload) const { in checkPayload() [all …]
|
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
H A D | sort_pred.pass.cpp | 26 struct Payload struct 30 Payload(int v) : val(v), side(0) {} in Payload() argument 31 Payload(int v, int s) : val(v), side(s) {} in Payload() argument 32 bool operator< (const Payload &rhs) const { return val < rhs.val;} in operator <() argument 35 bool greater(const Payload &lhs, const Payload &rhs) { return lhs.val > rhs.val; } in greater() 39 typedef Payload T; in test_stable() 44 v.push_back(Payload(i/2)); in test_stable()
|
/llvm-project/mlir/examples/transform/Ch2/lib/ |
H A D | MyExtension.cpp | 60 // not present in the original payload IR. in init() 89 // have left payload IR in an invalid state; it is expected that a diagnostic 93 // for the transformation is not satisfied and the payload IR has not been in apply() 99 // The list of payload IR entities that will be associated with the in apply() 104 // current associations between transform IR values and payload IR entities. in apply() 108 // First, we need to obtain the list of payload operations that are associated in apply() 110 auto payload = state.getPayloadOps(getCall()); in apply() 114 for (Operation *payloadOp : payload) { in apply() 119 diag.attachNote(payloadOp->getLoc()) << "offending payload"; in apply() 137 // Indicate that the payload i in getEffects() 107 auto payload = state.getPayloadOps(getCall()); apply() local [all...] |
/llvm-project/lldb/test/API/commands/expression/issue_11588/ |
H A D | main.cpp | 28 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/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteClientBase.cpp | 40 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 …]
|