/external/pigweed/pw_log/ |
D | glog_adapter_test.cc | 28 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/ |
D | conditional_simplifier.cc | 85 // If all tuple elements are used in this conditional branch, there is nothing in TryRemoveUnusedConditionalOperands() 103 // Clone the computation in case it is called by another non-conditional in TryRemoveUnusedConditionalOperands() 117 for (HloInstruction* conditional : calling_conditionals) { in TryRemoveUnusedConditionalOperands() 119 if (conditional->has_sharding()) { in TryRemoveUnusedConditionalOperands() 122 for (int64_t branch = 0; branch < conditional->branch_count(); ++branch) { in TryRemoveUnusedConditionalOperands() 123 if (conditional->branch_computation(branch) != computation) { in TryRemoveUnusedConditionalOperands() 126 conditional->set_branch_computation(branch, new_computation); in TryRemoveUnusedConditionalOperands() 127 const Shape& old_shape = conditional->operand(branch + 1)->shape(); in TryRemoveUnusedConditionalOperands() 134 new_tuple_operands.push_back(conditional->parent()->AddInstruction( in TryRemoveUnusedConditionalOperands() 137 conditional->mutable_operand(branch + 1), i))); in TryRemoveUnusedConditionalOperands() [all …]
|
D | conditional_to_select.cc | 32 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 …]
|
D | conditional_code_motion.cc | 56 // start with an existing conditional computation. 57 explicit BoundaryVisitor(HloInstruction* conditional) { in BoundaryVisitor() argument 59 b.mutable_operands().push_back(conditional); in BoundaryVisitor() 121 // moved together, if the forces inside a conditional are stronger, the group in ReusesCarriedBy() 122 // will be moved incide or remain inside the conditional; otherwise, it will in ReusesCarriedBy() 123 // be moved outside to or remain outside of the conditional. in ReusesCarriedBy() 130 // by a conditional boundary. Here we do not try to pull convert inside in ReusesCarriedBy() 163 // out of conditional for AR/CRS combine. If Convert is after other in WorthHoisting() 165 // within conditional so that convert can be fused with Dot or in WorthHoisting() 250 // Copy the ith instruction in boundary to outside of conditional, or do the [all …]
|
D | conditional_code_motion_test.cc | 68 …conditional = (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() 195 …conditional = (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() 236 …conditional = (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 …]
|
D | conditional_simplifier_test.cc | 43 // Makes a computation that contains a conditional with constant predicate. 136 auto* conditional = computation->root_instruction(); in TEST_F() local 137 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F() 139 auto* true_computation = conditional->true_computation(); in TEST_F() 152 auto* conditional = computation->root_instruction(); in TEST_F() local 153 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F() 155 auto* true_computation = conditional->true_computation(); in TEST_F() 166 auto* conditional = computation->root_instruction(); in TEST_F() local 167 ASSERT_EQ(conditional->opcode(), HloOpcode::kConditional); in TEST_F() 168 auto* false_computation = conditional->false_computation(); in TEST_F() [all …]
|
D | conditional_code_motion.h | 29 // instantiated into different concrete operations at each conditional branch. 31 // conditional branches, and is mapped to a list of instructions if inside the 60 // Boundary instructions in the conditional branches, one from each branch 61 // of the conditional; or a single operand from outside the conditional. 66 // HLO pass that moves identical ops in/out of conditional. 70 // be moved out of conditional. 75 // move across any conditional boundary; the reuse_config_ array uses an integer 78 // of a conditional). Both arrays use Hlo Opcode only to drive the 122 // conditional encountered when optimizing a given module. 162 absl::string_view name() const override { return "conditional-code-motion"; } in name() [all …]
|
D | conditional_canonicalizer.cc | 24 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 auto 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()
|
D | conditional_to_select_test.cc | 38 // Test that a conditional of simple constants is transformed to a select 58 ROOT %conditional = f32[] conditional(%lt, %t, %t), true_computation=if, false_computation=else in TEST_F() 109 %conditional = f32[2,2]{1,0} conditional(%lt, %t, %t), true_computation=if, false_computation=else in TEST_F() 111 ROOT %reduced = f32[] reduce(%conditional, %zero), dimensions={0,1}, to_apply=add in TEST_F() 164 …%conditional = (f32[], f32[]) conditional(%lt, %t, %t), true_computation=if, false_computation=else in TEST_F() 165 %el1 = f32[] get-tuple-element(%conditional), index=0 in TEST_F() 166 %el2 = f32[] get-tuple-element(%conditional), index=1 in TEST_F()
|
D | hlo_ordering.cc | 89 // If the common ancestor is a conditional instruction, even though the branch in GetExecutionConstraint() 115 // If 'b' is the conditional ancestor, and 'a' is within a branch in GetExecutionConstraint() 197 // If 'b' is a conditional phi and 'a' is in some branch computation, then 'a' in IsDefinedBefore() 245 // of the conditional operation. For the join point to reach back to the in UsesBeforeValueDefinition() 247 // loop, where the result of the conditional is passed back inside the in UsesBeforeValueDefinition() 248 // conditional through one of its parameters. This use-def conflict in UsesBeforeValueDefinition() 249 // between the parameter of a conditional and one of its branches is in UsesBeforeValueDefinition() 257 VLOG(4) << "value def has escaped use in conditional. \n"; in UsesBeforeValueDefinition() 331 const HloInstruction* conditional = use.instruction; in UsesBeforeValueDefinition() local 332 // In general the use of a value in the conditional parameter should be in UsesBeforeValueDefinition() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | call-05.ll | 1 ; 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 …]
|
D | call-04.ll | 1 ; 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 …]
|
D | trap-01.ll | 1 ; 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/ |
D | wpa_debug.h | 19 /* Debugging function - conditional printf and hex dump. Driver wrappers can 63 * wpa_printf - conditional printf 67 * This function is used to print conditional debugging and error messages. The 77 * wpa_hexdump - conditional hex dump 83 * This function is used to print conditional debugging and error messages. The 97 * wpa_hexdump_key - conditional hex dump, hide keys 103 * This function is used to print conditional debugging and error messages. The 119 * wpa_hexdump_ascii - conditional hex dump 125 * This function is used to print conditional debugging and error messages. The 135 * wpa_hexdump_ascii_key - conditional hex dump, hide keys [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/ |
D | ConcreteSyntaxModel.java | 116 …conditional(ObservableProperty.DEFAULT_VALUE, IS_PRESENT, sequence(space(), token(GeneratedJavaPar… in concreteSyntaxModelByClass.put() 124 …conditional(ObservableProperty.INTERFACE, FLAG, token(GeneratedJavaParserConstants.INTERFACE), tok… in concreteSyntaxModelByClass.put() 159 …conditional(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() 197 …conditional(ObservableProperty.VARIABLES, IS_NOT_EMPTY, child(ObservableProperty.MAXIMUM_COMMON_TY… in concreteSyntaxModelByClass.put() 204 …conditional(ObservableProperty.STATIC, FLAG, sequence(token(GeneratedJavaParserConstants.STATIC), … in concreteSyntaxModelByClass.put() 216 …conditional(ObservableProperty.RECEIVER_PARAMETER, IS_PRESENT, sequence(child(ObservableProperty.R… in concreteSyntaxModelByClass.put() 220 …conditional(ObservableProperty.BODY, IS_PRESENT, sequence(space(), child(ObservableProperty.BODY))… in concreteSyntaxModelByClass.put() 228 conditional(ObservableProperty.VAR_ARGS, FLAG, sequence( in concreteSyntaxModelByClass.put() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | AsmCond.h | 1 //===- 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/llvm/include/llvm/MC/MCParser/ |
D | AsmCond.h | 1 //===- 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/tensorflow/tensorflow/compiler/xla/tests/ |
D | conditional_test.cc | 173 // Test fixture to run indexed conditional (switch/case) tests with varying 186 Conditional(pred, operands, true_computation, operands, false_computation); in XLA_TEST_F() 211 Conditional(branch_index, branches_p, operands); in XLA_TEST_P() 229 Conditional(pred, operand1, identity, operand2, identity); in XLA_TEST_F() 264 Conditional(branch_index, branches_p, operands); in XLA_TEST_P() 273 // Test conditional with two different computations in the true and false cases 281 Conditional(pred, operand1, CreateR0CeilComputation(), operand2, in XLA_TEST_F() 287 // Test conditional with two different computations in the true and false cases 294 Conditional(pred, operand, CreateR0CeilComputation(), operand, in XLA_TEST_F() 300 // Test conditional with the same computation in the true and false cases but [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.isfinite.frag.out | 11 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/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | hlsl.isfinite.frag.out | 11 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/doc/testspecs/GL3/ |
D | functional.conditional_render.txt | 19 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.
|
D | stress.conditional_render.txt | 19 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/webrtc/rtc_base/numerics/ |
D | safe_minmax.h | 144 using min_t = typename std::conditional< 147 typename std::conditional< 150 typename std::conditional<SafeLe(Limits<T1>::max, Limits<T2>::max), 164 conditional<SafeGe(Limits<T1>::max, Limits<T2>::max), T1, T2>::type; 179 conditional<std::is_same<A, DefaultType>::value, B, A>::type; 273 using best_signed_type = typename std::conditional< 276 typename std::conditional< 279 typename std::conditional<AcceptableType<int32_t>::value, 283 using best_unsigned_type = typename std::conditional< 286 typename std::conditional< [all …]
|
/external/libhevc/encoder/ |
D | osal_cond_var.c | 26 /* definitions required to operate on Conditional */ 68 /* Description : This function initializes the conditional variable and */ 77 /* conditional variable. */ 81 /* Returns : On SUCCESS - Handle to Conditional Varaible */ 137 /* Inputs : Conditional Variable handle */ 186 /* Description : This function waits infinitely on conditional varaiable. */ 188 /* Inputs : Conditional Variable handle */ 193 /* Processing : This function waits on Conditional variable signal. Till */ 196 /* Outputs : Status of wait on conditional variable */ 227 /* Description : This function signals on a conditional variable. */ [all …]
|
/external/selinux/libsepol/tests/ |
D | test-linker-cond-map.c | 27 #include <sepol/policydb/conditional.h> 35 * - conditional expression is correct 101 /* conditional expression mapped correctly */ in base_cond_tests() 111 /* conditional expression mapped correctly */ in base_cond_tests() 129 /* conditional expression mapped correctly */ in module_cond_tests() 139 /* conditional expression mapped correctly */ in module_cond_tests() 151 /* conditional expression mapped correctly */ in module_cond_tests()
|