Home
last modified time | relevance | path

Searched +full:structured +full:- +full:clone (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/rust/crates/log/rfcs/
D0296-structured-logging.md1 - Feature Name: `structured_logging`
2 - Start Date: 2019-03-11
3 - RFC PR: [log/rfcs#0296](https://github.com/rust-lang-nursery/log/pull/296)
8structured logging to the `log` crate in both `std` and `no_std` environments, allowing log record…
10 `log` will provide an API for capturing structured data that offloads complex serialization to de-f…
12 The API is heavily inspired by `slog` and `tokio-trace`.
17 - [Motivation](#motivation)
18 - [What is structured logging?](#what-is-structured-logging)
19 - [Why do we need structured logging in `log`?](#why-do-we-need-structured-logging-in-log)
20 - [Guide-level explanation](#guide-level-explanation)
[all …]
/third_party/spirv-tools/source/opt/
Dloop_utils.h7 // http://www.apache.org/licenses/LICENSE-2.0
69 context->GetLoopDescriptor(loop->GetHeaderBlock()->GetParent())), in LoopUtils()
71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
102 // By construction, structured control flow already has a dedicated exit
107 // Clone |loop_| and remap its instructions. Newly created blocks
119 // Clone |loop_| and remap its instructions, as above. Overload to compute
123 // Clone the |loop_| and make the new loop branch to the second loop on exit.
139 // 1. That the loop is in structured order.
Dloop_unswitch_pass.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
42 // - The loop has any instruction that will prevent it;
43 // - The loop invariant condition is not uniform.
56 // - The loop has no instructions that prevents it (such as barrier);
57 // - The loop has one conditional branch or switch that do not depends on the
59 // - The loop invariant condition is uniform;
62 if (loop_->IsSafeToClone()) return false; in CanUnswitchLoop()
64 CFG& cfg = *context_->cfg(); in CanUnswitchLoop()
66 for (uint32_t bb_id : loop_->GetBlocks()) { in CanUnswitchLoop()
68 if (loop_->GetLatchBlock() == bb) { in CanUnswitchLoop()
[all …]
Dinline_pass.h9 // http://www.apache.org/licenses/LICENSE-2.0
82 // Clone and map callee locals. Return true if successful.
88 // Create return variable for callee clone code. The return type of
98 // Clone operands which must be in same block as consumer instructions.
132 // requires structured control flow, so return false if control flow not
133 // structured ie. module is not a shader.
Dloop_utils.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
41 // Utility class to rewrite out-of-loop uses of an in-loop definition in terms
54 cfg_(context_->cfg()), in LCSSARewriter()
57 merge_block_id_(merge_block ? merge_block->id() : 0) {} in LCSSARewriter()
73 (user->opcode() != spv::Op::OpPhi || bb != GetParent(user)) && in RewriteUse()
76 assert((user->opcode() == spv::Op::OpPhi || bb == GetParent(user)) && in RewriteUse()
81 Instruction* new_def = GetOrBuildIncoming(bb->id()); in RewriteUse()
83 user->SetOperand(operand_index, {new_def->result_id()}); in RewriteUse()
87 // In-place update of some managers (avoid full invalidation).
89 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers()
[all …]
Dinline_pass.cpp9 // http://www.apache.org/licenses/LICENSE-2.0
29 // Indices of operands in SPIR-V instructions
37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType()
47 context()->AddType(std::move(type_inst)); in AddPointerToType()
51 context()->get_type_mgr()->GetTypeAndPointerType( in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
95 newStore->AddDebugLine(line_inst); in AddStore()
[all …]
Dfunction.h7 // http://www.apache.org/licenses/LICENSE-2.0
37 // A SPIR-V function.
49 // Creates a clone of the instruction in the given |context|
53 Function* Clone(IRContext*) const;
83 // Add a non-semantic instruction that succeeds this function in the module.
93 inline uint32_t result_id() const { return def_inst_->result_id(); } in result_id()
96 inline uint32_t type_id() const { return def_inst_->type_id(); } in type_id()
99 inline uint32_t control_mask() const { return def_inst_->GetSingleWordInOperand(0); } in control_mask()
128 // non-semantic instructions that succceed the function.
137 // non-semantic instructions that succeed the function. If |f| returns
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_utils.h7 // http://www.apache.org/licenses/LICENSE-2.0
69 context->GetLoopDescriptor(loop->GetHeaderBlock()->GetParent())), in LoopUtils()
71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
102 // By construction, structured control flow already has a dedicated exit
107 // Clone |loop_| and remap its instructions. Newly created blocks
119 // Clone |loop_| and remap its instructions, as above. Overload to compute
123 // Clone the |loop_| and make the new loop branch to the second loop on exit.
139 // 1. That the loop is in structured order.
Dloop_unswitch_pass.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
49 // - The loop has any instruction that will prevent it;
50 // - The loop invariant condition is not uniform.
63 // - The loop has no instructions that prevents it (such as barrier);
64 // - The loop has one conditional branch or switch that do not depends on the
66 // - The loop invariant condition is uniform;
69 if (loop_->IsSafeToClone()) return false; in CanUnswitchLoop()
71 CFG& cfg = *context_->cfg(); in CanUnswitchLoop()
73 for (uint32_t bb_id : loop_->GetBlocks()) { in CanUnswitchLoop()
75 if (loop_->GetLatchBlock() == bb) { in CanUnswitchLoop()
[all …]
Dinline_pass.h9 // http://www.apache.org/licenses/LICENSE-2.0
82 // Clone and map callee locals. Return true if successful.
88 // Create return variable for callee clone code. The return type of
98 // Clone operands which must be in same block as consumer instructions.
132 // requires structured control flow, so return false if control flow not
133 // structured ie. module is not a shader.
Dloop_utils.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
42 // Utility class to rewrite out-of-loop uses of an in-loop definition in terms
55 cfg_(context_->cfg()), in LCSSARewriter()
58 merge_block_id_(merge_block ? merge_block->id() : 0) {} in LCSSARewriter()
74 (user->opcode() != SpvOpPhi || bb != GetParent(user)) && in RewriteUse()
77 assert((user->opcode() == SpvOpPhi || bb == GetParent(user)) && in RewriteUse()
82 Instruction* new_def = GetOrBuildIncoming(bb->id()); in RewriteUse()
84 user->SetOperand(operand_index, {new_def->result_id()}); in RewriteUse()
88 // In-place update of some managers (avoid full invalidation).
90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers()
[all …]
Dinline_pass.cpp9 // http://www.apache.org/licenses/LICENSE-2.0
26 // Indices of operands in SPIR-V instructions
37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType()
47 context()->AddType(std::move(type_inst)); in AddPointerToType()
51 context()->get_type_mgr()->GetTypeAndPointerType(type_id, in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
95 newStore->AddDebugLine(line_inst); in AddStore()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_utils.h7 // http://www.apache.org/licenses/LICENSE-2.0
69 context->GetLoopDescriptor(loop->GetHeaderBlock()->GetParent())), in LoopUtils()
71 function_(*loop_->GetHeaderBlock()->GetParent()) {} in LoopUtils()
102 // By construction, structured control flow already has a dedicated exit
107 // Clone |loop_| and remap its instructions. Newly created blocks
119 // Clone |loop_| and remap its instructions, as above. Overload to compute
123 // Clone the |loop_| and make the new loop branch to the second loop on exit.
139 // 1. That the loop is in structured order.
Dloop_unswitch_pass.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
49 // - The loop has any instruction that will prevent it;
50 // - The loop invariant condition is not uniform.
63 // - The loop has no instructions that prevents it (such as barrier);
64 // - The loop has one conditional branch or switch that do not depends on the
66 // - The loop invariant condition is uniform;
69 if (loop_->IsSafeToClone()) return false; in CanUnswitchLoop()
71 CFG& cfg = *context_->cfg(); in CanUnswitchLoop()
73 for (uint32_t bb_id : loop_->GetBlocks()) { in CanUnswitchLoop()
75 if (loop_->GetLatchBlock() == bb) { in CanUnswitchLoop()
[all …]
Dinline_pass.h9 // http://www.apache.org/licenses/LICENSE-2.0
82 // Clone and map callee locals. Return true if successful.
88 // Create return variable for callee clone code. The return type of
98 // Clone operands which must be in same block as consumer instructions.
132 // requires structured control flow, so return false if control flow not
133 // structured ie. module is not a shader.
Dloop_utils.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
42 // Utility class to rewrite out-of-loop uses of an in-loop definition in terms
55 cfg_(context_->cfg()), in LCSSARewriter()
58 merge_block_id_(merge_block ? merge_block->id() : 0) {} in LCSSARewriter()
74 (user->opcode() != SpvOpPhi || bb != GetParent(user)) && in RewriteUse()
77 assert((user->opcode() == SpvOpPhi || bb == GetParent(user)) && in RewriteUse()
82 Instruction* new_def = GetOrBuildIncoming(bb->id()); in RewriteUse()
84 user->SetOperand(operand_index, {new_def->result_id()}); in RewriteUse()
88 // In-place update of some managers (avoid full invalidation).
90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers()
[all …]
Dinline_pass.cpp9 // http://www.apache.org/licenses/LICENSE-2.0
26 // Indices of operands in SPIR-V instructions
37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType()
47 context()->AddType(std::move(type_inst)); in AddPointerToType()
51 context()->get_type_mgr()->GetTypeAndPointerType(type_id, in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
95 newStore->AddDebugLine(line_inst); in AddStore()
[all …]
/third_party/rust/crates/log/src/kv/
Dkey.rs1 //! Structured keys.
11 fn to_key(&self) -> Key; in to_key()
18 fn to_key(&self) -> Key { in to_key()
24 fn to_key(&self) -> Key { in to_key()
30 fn to_key(&self) -> Key { in to_key()
35 /// A key in a structured key-value pair.
36 #[derive(Clone)]
43 pub fn from_str(key: &'k str) -> Self { in from_str()
48 pub fn as_str(&self) -> &str { in as_str()
54 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
[all …]
/third_party/rust/crates/syn/src/
Dattr.rs20 /// - Outer attributes like `#[repr(transparent)]`. These appear outside or
23 /// - Inner attributes like `#![feature(proc_macro)]`. These appear inside
26 /// - Outer one-line doc comments like `/// Example`.
28 /// - Inner one-line doc comments like `//! Please file an issue`.
30 /// - Outer documentation blocks `/** Example */`.
32 /// - Inner documentation blocks `/*! Please file an issue */`.
42 /// - Meta::Path — attributes whose information content conveys just a
45 /// - Meta::List — attributes that carry arbitrary tokens after the
49 /// - Meta::NameValue — attributes with an `=` sign after the path,
58 /// #[derive(Copy, Clone)]
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.h7 // http://www.apache.org/licenses/LICENSE-2.0
39 // is more than 1, then the block must be a structured header, i.e. it needs
42 // because SPIR-v is designed to easily map back to structured control flow
43 // in GLSL (and C). In GLSL and C, those forward-flow edges don't have a
48 // A back-edge: An edge from a node to one of its ancestors in a depth-first
56 // The source block is a "break block" as defined by SPIR-V.
60 // The source block is a "continue block" as defined by SPIR-V.
62 // An edge from a node to the merge block of the nearest enclosing structured
88 /// The position of this block in the reverse structured post-order.
107 /// The immediately enclosing structured construct. If this block is not
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/
DREADME.adoc1 // Copyright 2014-2024 The Khronos Group Inc.
3 // SPDX-License-Identifier: CC-BY-4.0
29 * Clone the repository and create a branch to work in locally
34 of platform-dependent headers `vulkan_<platform>.h`; and runs a simple
45 server (your personal repository clone of KhronosGroup/Vulkan-Docs on
62 This is a similarly structured XML file used to produce headers for
78 We strongly recommend using the Khronos-provided Docker image, which has all
79 needed build tools pre-installed.
83 MacOS by following the recipe in the Dockerfile for the Khronos-provided
90 * `vk.xml` - XML API description.
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs1 // <auto-generated>
4 // </auto-generated>
71 /// `Struct` represents a structured data value, consisting of fields
109 fields_ = other.fields_.Clone(); in Struct()
110 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Struct()
114 public Struct Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Struct
295 StructValue = other.StructValue.Clone(); in Value()
298 ListValue = other.ListValue.Clone(); in Value()
302 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); in Value()
306 public Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Value
[all …]
/third_party/libuv/
DCONTRIBUTING.md13 $ git clone https://github.com/username/libuv.git
23 API/ABI or affect the run-time behavior of applications get rejected.
39 $ git checkout -b my-feature-branch -t origin/v1.x
50 * Code that is specific to unix-y platforms should be placed in `src/unix`, and
53 * Source code that is Windows-specific goes into `src/win`, and related
62 * Internal, non-static functions should be prefixed with `uv__`.
68 * Ensure that lines have no trailing whitespace, and use unix-style (LF) line
71 * Use C89-compliant syntax. In other words, variables can only be declared at
72 the top of a scope (function, if/for/while-block).
92 $ git config --global user.name "J. Random User"
[all …]
/third_party/icu/docs/userguide/strings/
Dutext.md1 ---
6 ---
7 <!--
10 -->
23 1. UTF-8 (`char*`) strings
24 2. UTF-16 (`UChar*` or `UnicodeString`) strings
34 1. UTF-32 format.
35 2. Text that is stored in discontiguous chunks in memory, or in application-specific representatio…
36 3. Text that is in a non-Unicode code page
47 format that is already supported by UText (such as UTF-8). The application
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITest.java6 * Copyright (C) 1996-2016, International Business Machines Corporation and
65 …ryBreakIterator forward iteration test at " + position + ".\nShould have been " + result[index-1]); in TestThaiDictionaryBreakIterator()
72 …yBreakIterator backward iteration test at " + position + ".\nShould have been " + result[index-1]); in TestThaiDictionaryBreakIterator()
93 …ak given by thai word break iterator. Expected: " + expectedWordResult[index-1] + " Got: " + posit… in TestThaiDictionaryBreakIterator()
102 …ak given by thai line break iterator. Expected: " + expectedLineResult[index-1] + " Got: " + posit… in TestThaiDictionaryBreakIterator()
177 --foundOffsetsCount; // back off one from the end offset in TestTailoredBreaks()
180 if ( offset != foundOffsets[--foundOffsetsCount] ) { in TestTailoredBreaks()
199 … "(\u0E2A\u0E38\u0E0A\u0E32\u0E15\u0E34-\u0E08\u0E38\u0E11\u0E32\u0E21\u0E32\u0E28) " + in TestTailoredBreaks()
220 /* Tests the method public Object clone() */
226 if (((RuleBasedBreakIterator) rbbi.clone()).getText() != null) in TestClone()
[all …]

1234