Home
last modified time | relevance | path

Searched full:conditional (Results 1 – 25 of 3862) sorted by relevance

12345678910>>...155

/external/pigweed/pw_log/
Dglog_adapter_test.cc28 volatile bool conditional; variable
33 conditional = true; in TEST()
34 LOG_IF(DEBUG, conditional) << "LOG_IF(DEBUG, true) works"; in TEST()
35 conditional = false; in TEST()
36 LOG_IF(DEBUG, conditional) << "You should not see this log"; in TEST()
42 conditional = true; in TEST()
43 LOG_IF(INFO, conditional) << "LOG_IF(INFO, true) works"; in TEST()
44 conditional = false; in TEST()
45 LOG_IF(INFO, conditional) << "You should not see this log"; in TEST()
51 conditional = true; in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_simplifier.cc87 // If all tuple elements are used in this conditional branch, there is nothing in TryRemoveUnusedConditionalOperands()
105 // Clone the computation in case it is called by another non-conditional in TryRemoveUnusedConditionalOperands()
119 for (HloInstruction* conditional : calling_conditionals) { in TryRemoveUnusedConditionalOperands()
121 if (conditional->has_sharding()) { in TryRemoveUnusedConditionalOperands()
124 for (int64_t branch = 0; branch < conditional->branch_count(); ++branch) { in TryRemoveUnusedConditionalOperands()
125 if (conditional->branch_computation(branch) != computation) { in TryRemoveUnusedConditionalOperands()
128 conditional->set_branch_computation(branch, new_computation); in TryRemoveUnusedConditionalOperands()
129 const Shape& old_shape = conditional->operand(branch + 1)->shape(); in TryRemoveUnusedConditionalOperands()
136 new_tuple_operands.push_back(conditional->parent()->AddInstruction( in TryRemoveUnusedConditionalOperands()
139 conditional->mutable_operand(branch + 1), i))); in TryRemoveUnusedConditionalOperands()
[all …]
Dconditional_code_motion.cc57 // start with an existing conditional computation.
58 explicit BoundaryVisitor(HloInstruction* conditional) { in BoundaryVisitor() argument
60 b.mutable_operands().push_back(conditional); in BoundaryVisitor()
120 // moved together, if the forces inside a conditional are stronger, the group in ReusesCarriedBy()
121 // will be moved incide or remain inside the conditional; otherwise, it will in ReusesCarriedBy()
122 // be moved outside to or remain outside of the conditional. in ReusesCarriedBy()
129 // by a conditional boundary. Here we do not try to pull convert inside in ReusesCarriedBy()
162 // out of conditional for AR/CRS combine. If Convert is after other in WorthHoisting()
164 // within conditional so that convert can be fused with Dot or in WorthHoisting()
249 // Copy the boundary out of the conditional and update hoisted_boundaries.
[all …]
Dconditional_to_select.cc32 static StatusOr<bool> DoConditionalToSelect(HloInstruction* conditional) { in DoConditionalToSelect() argument
33 // Only allow conditional to select if the called computations in DoConditionalToSelect()
35 if (conditional->true_computation()->HasSideEffect() || in DoConditionalToSelect()
36 conditional->false_computation()->HasSideEffect()) { in DoConditionalToSelect()
37 VLOG(1) << "Not transforming conditional; branches have side effects:" in DoConditionalToSelect()
38 << conditional->ToString(); in DoConditionalToSelect()
42 auto computation = conditional->parent(); in DoConditionalToSelect()
47 conditional->shape(), {conditional->mutable_operand(1)}, in DoConditionalToSelect()
48 conditional->true_computation())); in DoConditionalToSelect()
49 conditional->SetupDerivedInstruction(if_call_op); in DoConditionalToSelect()
[all …]
Dconditional_code_motion_test.cc68conditional = (bf16[2,512,364]{2,1,0}, f32[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, ar… in TEST_F()
69 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
70 get-first-index.2 = f32[2,512,364]{2,1,0} get-tuple-element(conditional), index=1 in TEST_F()
120 …ROOT conditional = (f32[2], bf16[2], s32[]) conditional(pred.1, arg_tuple.11, arg_tuple.11), true_… in TEST_F()
156 …ROOT conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_… in TEST_F()
195conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_compu… in TEST_F()
196 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
236conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_compu… in TEST_F()
237 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
238 …OOT result = (bf16[2,512,364]{2,1,0}, (bf16[2,512,364]{2,1,0})) tuple(get-first-index, conditional) in TEST_F()
[all …]
Dconditional_simplifier_test.cc42 // Makes a computation that contains a conditional with constant predicate.
135 auto* conditional = computation->root_instruction(); in TEST_F() local
136 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F()
138 auto* true_computation = conditional->true_computation(); in TEST_F()
151 auto* conditional = computation->root_instruction(); in TEST_F() local
152 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F()
154 auto* true_computation = conditional->true_computation(); in TEST_F()
165 auto* conditional = computation->root_instruction(); in TEST_F() local
166 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F()
167 auto* false_computation = conditional->false_computation(); in TEST_F()
[all …]
Dconditional_code_motion.h31 // instantiated into different concrete operations at each conditional branch.
33 // conditional branches, and is mapped to a list of instructions if inside the
66 // Boundary instructions in the conditional branches, one from each branch
67 // of the conditional; or a single operand from outside the conditional.
72 // HLO pass that moves identical ops in/out of conditional.
76 // be moved out of conditional.
81 // move across any conditional boundary; the reuse_config_ array uses an integer
84 // of a conditional). Both arrays use Hlo Opcode only to drive the
128 // conditional encountered when optimizing a given module.
168 absl::string_view name() const override { return "conditional-code-motion"; } in name()
[all …]
Dconditional_canonicalizer.cc24 Status CanonicalizeNonTupleConditional(HloInstruction* conditional) { in CanonicalizeNonTupleConditional() argument
25 TF_RET_CHECK(conditional->opcode() == HloOpcode::kConditional); in CanonicalizeNonTupleConditional()
26 for (auto* branch : conditional->called_computations()) { in CanonicalizeNonTupleConditional()
34 auto parent = conditional->parent(); in CanonicalizeNonTupleConditional()
35 const Shape& root_shape = conditional->shape(); in CanonicalizeNonTupleConditional()
38 parent->AddInstruction(conditional->CloneWithNewShape(new_shape)); in CanonicalizeNonTupleConditional()
41 TF_RETURN_IF_ERROR(parent->ReplaceInstruction(conditional, gte)); in CanonicalizeNonTupleConditional()
/external/llvm/test/CodeGen/SystemZ/
Dcall-05.ll1 ; Test conditional sibling calls.
11 ; Check a conditional sibling call.
29 ; Check a conditional sibling call when there are two possibilities.
48 ; Check a conditional sibling call with an argument - not supported.
67 ; Check a conditional sibling call - unsigned compare.
85 ; Check a conditional sibling call - 64-bit compare.
103 ; Check a conditional sibling call - unsigned 64-bit compare.
121 ; Check a conditional sibling call - less-equal compare.
139 ; Check a conditional sibling call - high compare.
157 ; Check a conditional sibling call - high-equal compare.
[all …]
Dcall-04.ll1 ; Test conditional sibling calls.
11 ; Check a conditional sibling call.
29 ; Check a conditional sibling call when there are two possibilities.
47 ; Check a conditional sibling call with an argument - not supported.
65 ; Check a conditional sibling call - unsigned compare.
83 ; Check a conditional sibling call - 64-bit compare.
101 ; Check a conditional sibling call - unsigned 64-bit compare.
119 ; Check a conditional sibling call - less-equal compare.
137 ; Check a conditional sibling call - high compare.
155 ; Check a conditional sibling call - high-equal compare.
[all …]
Dtrap-01.ll1 ; Test traps and conditional traps
17 ; Check conditional compare immediate and trap
35 ; Check conditional compare grande immediate and trap
53 ; Check conditional compare logical immediate and trap
71 ; Check conditional compare grande logical immediate and trap
89 ; Check conditional compare and trap
107 ; Check conditional compare grande and trap
125 ; Check conditional compare logical and trap
143 ; Check conditional compare logical grande and trap
161 ; Check conditional traps that don't have a valid Compare and Trap
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.h19 /* Debugging function - conditional printf and hex dump. Driver wrappers can
64 * wpa_printf - conditional printf
68 * This function is used to print conditional debugging and error messages. The
78 * wpa_hexdump - conditional hex dump
84 * This function is used to print conditional debugging and error messages. The
98 * wpa_hexdump_key - conditional hex dump, hide keys
104 * This function is used to print conditional debugging and error messages. The
120 * wpa_hexdump_ascii - conditional hex dump
126 * This function is used to print conditional debugging and error messages. The
136 * wpa_hexdump_ascii_key - conditional hex dump, hide keys
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DConcreteSyntaxModel.java116conditional(ObservableProperty.DEFAULT_VALUE, IS_PRESENT, sequence(space(), token(GeneratedJavaPar… in concreteSyntaxModelByClass.put()
124conditional(ObservableProperty.INTERFACE, FLAG, token(GeneratedJavaParserConstants.INTERFACE), tok… in concreteSyntaxModelByClass.put()
159conditional(CLASS_BODY, IS_NOT_EMPTY, sequence(space(), token(GeneratedJavaParserConstants.LBRACE)… in concreteSyntaxModelByClass.put()
185 conditional(ObservableProperty.MEMBERS, IS_EMPTY, in concreteSyntaxModelByClass.put()
186 conditional(ObservableProperty.ENTRIES, IS_NOT_EMPTY, newline()), in concreteSyntaxModelByClass.put()
197conditional(ObservableProperty.VARIABLES, IS_NOT_EMPTY, child(ObservableProperty.MAXIMUM_COMMON_TY… in concreteSyntaxModelByClass.put()
204conditional(ObservableProperty.STATIC, FLAG, sequence(token(GeneratedJavaParserConstants.STATIC), … in concreteSyntaxModelByClass.put()
216conditional(ObservableProperty.RECEIVER_PARAMETER, IS_PRESENT, sequence(child(ObservableProperty.R… in concreteSyntaxModelByClass.put()
220conditional(ObservableProperty.BODY, IS_PRESENT, sequence(space(), child(ObservableProperty.BODY))… in concreteSyntaxModelByClass.put()
228 conditional(ObservableProperty.VAR_ARGS, FLAG, sequence( in concreteSyntaxModelByClass.put()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DAsmCond.h1 //===- AsmCond.h - Assembly file conditional assembly ----------*- C++ -*-===//
15 /// AsmCond - Class to support conditional assembly
17 /// The conditional assembly feature (.if, .else, .elseif and .endif) is
20 /// the block of code in the middle of a conditional.
25 NoCond, // no conditional is being processed
26 IfCond, // inside if conditional
27 ElseIfCond, // inside elseif conditional
28 ElseCond // inside else conditional
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DAsmCond.h1 //===- AsmCond.h - Assembly file conditional assembly ----------*- C++ -*-===//
14 /// AsmCond - Class to support conditional assembly
16 /// The conditional assembly feature (.if, .else, .elseif and .endif) is
19 /// the block of code in the middle of a conditional.
24 NoCond, // no conditional is being processed
25 IfCond, // inside if conditional
26 ElseIfCond, // inside elseif conditional
27 ElseCond // inside else conditional
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.isfinite.frag.out11 0:8 Negate conditional ( temp bool)
19 0:8 Negate conditional ( temp bool)
22 0:8 Negate conditional ( temp bool)
36 0:13 Negate conditional ( temp bool)
39 0:13 Negate conditional ( temp bool)
50 0:14 Negate conditional ( temp 2-component vector of bool)
53 0:14 Negate conditional ( temp 2-component vector of bool)
64 0:15 Negate conditional ( temp 3-component vector of bool)
67 0:15 Negate conditional ( temp 3-component vector of bool)
99 0:8 Negate conditional ( temp bool)
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.isfinite.frag.out11 0:8 Negate conditional ( temp bool)
19 0:8 Negate conditional ( temp bool)
22 0:8 Negate conditional ( temp bool)
36 0:13 Negate conditional ( temp bool)
39 0:13 Negate conditional ( temp bool)
50 0:14 Negate conditional ( temp 2-component vector of bool)
53 0:14 Negate conditional ( temp 2-component vector of bool)
64 0:15 Negate conditional ( temp 3-component vector of bool)
67 0:15 Negate conditional ( temp 3-component vector of bool)
99 0:8 Negate conditional ( temp bool)
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconditional_test.cc175 // Test fixture to run indexed conditional (switch/case) tests with varying
188 Conditional(pred, operands, true_computation, operands, false_computation); in XLA_TEST_F()
213 Conditional(branch_index, branches_p, operands); in XLA_TEST_P()
231 Conditional(pred, operand1, identity, operand2, identity); in XLA_TEST_F()
266 Conditional(branch_index, branches_p, operands); in XLA_TEST_P()
275 // Test conditional with two different computations in the true and false cases
283 Conditional(pred, operand1, CreateR0CeilComputation(), operand2, in XLA_TEST_F()
289 // Test conditional with two different computations in the true and false cases
296 Conditional(pred, operand, CreateR0CeilComputation(), operand, in XLA_TEST_F()
302 // Test conditional with the same computation in the true and false cases but
[all …]
/external/deqp/doc/testspecs/GL3/
Dfunctional.conditional_render.txt19 GL 3 conditional render
55 Conditional rendering is tested with various depth function/primitive
56 overlap conditions. Each query test renders a scene with one conditional
58 previously GL controlled conditional render call controlled by the test.
61 conditional call indicated by the test name. The occlusion query used in
69 before the conditional clear.
72 rendering the occlusion geometry. After the conditional depth/stencil clear
81 (read & write) FBO between the occludion query and the conditional rendering.
Dstress.conditional_render.txt19 GL3 conditional render stress tests
26 + Query and conditional geometry significantly apart
33 Conditional rendering stress tests use a large number of conditional rendering
38 the same scene with geometry culled either by conditional rendering or the
42 conditional rendering is done.
/external/spdx-tools/spdx/v2_1/
Dannotation.go10 // Cardinality: conditional (mandatory, one) if there is an Annotation
14 // Cardinality: conditional (mandatory, one) if there is an Annotation
18 // Cardinality: conditional (mandatory, one) if there is an Annotation
22 // Cardinality: conditional (mandatory, one) if there is an Annotation
27 // Cardinality: conditional (mandatory, one) if there is an Annotation
/external/spdx-tools/spdx/v2_2/
Dannotation.go10 // Cardinality: conditional (mandatory, one) if there is an Annotation
14 // Cardinality: conditional (mandatory, one) if there is an Annotation
18 // Cardinality: conditional (mandatory, one) if there is an Annotation
22 // Cardinality: conditional (mandatory, one) if there is an Annotation
27 // Cardinality: conditional (mandatory, one) if there is an Annotation
/external/spdx-tools/spdx/v2_3/
Dannotation.go10 // Cardinality: conditional (mandatory, one) if there is an Annotation
14 // Cardinality: conditional (mandatory, one) if there is an Annotation
18 // Cardinality: conditional (mandatory, one) if there is an Annotation
22 // Cardinality: conditional (mandatory, one) if there is an Annotation
27 // Cardinality: conditional (mandatory, one) if there is an Annotation
/external/rappor/analysis/R/
Dassociation.R108 # Compute conditional probabilities given a set of Boolean reports.
117 # Conditional probability of all boolean reports corresponding to
151 # Conditional probability of all reports given each of the strings in
190 # Conditional probability of report given each of the strings in
215 # pij: conditional distribution of x (vector)
216 # cond_prob: conditional distribution computed previously
237 # cond_prob: conditional distribution computed previously
256 # cond_prob: conditional distribution computed previously
320 # Updates the joint conditional distribution of d variables, where
325 # joint_conditional: The current state of the joint conditional
[all …]
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dif_conditional.hlotxt42 …%conditional.16 = (f32[]) conditional(%compare.4, %tuple.5, %tuple.5), true_computation=%then_bran…
44 …%get-tuple-element.17 = f32[] get-tuple-element(%conditional.16), index=0, metadata={op_type="If" …
109 …ROOT %conditional.16 = ((f32[],f32[]), f32[]) conditional(%compare.4, %tuple.5, %tuple.6), true_co…
147 …ROOT %conditional.16 = f32[] conditional(%compare.4, %arg0, %arg0), true_computation=%then_branch2…
168 …%conditional.17 = f32[] conditional(pred[] %constant.14, f32[] %constant.15, () %tuple.16), true_c…
169 ROOT %tuple.18 = (f32[], f32[]) tuple(f32[] %conditional.17, f32[] %conditional.17)
204 …%conditional.24 = (f32[], f32[]) conditional(pred[] %Arg_0.1, () %tuple.5, (f32[], f32[]) %tuple.6…
205 %get-tuple-element.25 = f32[] get-tuple-element((f32[], f32[]) %conditional.24), index=0
206 ROOT %get-tuple-element.26 = f32[] get-tuple-element((f32[], f32[]) %conditional.24), index=1

12345678910>>...155