Home
last modified time | relevance | path

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

12345678910>>...152

/external/llvm-project/clang-tools-extra/test/pp-trace/
Dpp-trace-conditional.cpp81 // CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:3:2"
82 …T: ConditionRange: ["{{.*}}{{[/\\]}}pp-trace-conditional.cpp:3:5", "{{.*}}{{[/\\]}}pp-trace-cond…
85 // CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:4:2"
86 // CHECK-NEXT: IfLoc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:3:2"
88 // CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:6:2"
89 …T: ConditionRange: ["{{.*}}{{[/\\]}}pp-trace-conditional.cpp:6:5", "{{.*}}{{[/\\]}}pp-trace-cond…
92 // CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:7:2"
93 // CHECK-NEXT: IfLoc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:6:2"
95 …CHECK-NEXT: Range: ["{{.*}}{{[/\\]}}pp-trace-conditional.cpp:6:1", "{{.*}}{{[/\\]}}pp-trace-cond…
97 // CHECK-NEXT: Loc: "{{.*}}{{[/\\]}}pp-trace-conditional.cpp:9:2"
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_simplifier.cc64 // Tries to replace a conditional with a call operation of the corresponding
65 // computation. If the given conditional has a constant branch_index, tries to
70 StatusOr<bool> TryRemoveConditional(HloInstruction* conditional) { in TryRemoveConditional() argument
71 CHECK_EQ(conditional->opcode(), HloOpcode::kConditional); in TryRemoveConditional()
74 if (!conditional->parent()->IsSafelyRemovable(conditional) || in TryRemoveConditional()
75 conditional->HasSideEffect()) { in TryRemoveConditional()
76 VLOG(2) << "Not attempting to remove conditional as it is not removable or " in TryRemoveConditional()
78 << conditional->ToShortString(); in TryRemoveConditional()
82 // We can always inline a 1-branch conditional due to default branch fallback. in TryRemoveConditional()
83 auto computation = conditional->parent(); in TryRemoveConditional()
[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.cc55 // start with an existing conditional computation.
56 explicit BoundaryVisitor(HloInstruction* conditional) { in BoundaryVisitor() argument
58 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()
248 // Copy the ith instruction in boundary to outside of conditional, or do the
[all …]
Dconditional_code_motion_test.cc67conditional = (bf16[2,512,364]{2,1,0}, f32[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, ar… in TEST_F()
68 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
69 get-first-index.2 = f32[2,512,364]{2,1,0} get-tuple-element(conditional), index=1 in TEST_F()
119 …ROOT conditional = (f32[2], bf16[2], s32[]) conditional(pred.1, arg_tuple.11, arg_tuple.11), true_… in TEST_F()
155 …ROOT conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_… in TEST_F()
194conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_compu… in TEST_F()
195 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
235conditional = (bf16[2,512,364]{2,1,0}) conditional(pred.1, arg_tuple.11, arg_tuple.22), true_compu… in TEST_F()
236 get-first-index = bf16[2,512,364]{2,1,0} get-tuple-element(conditional), index=0 in TEST_F()
237 …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.cc43 // 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 …]
Dconditional_code_motion.h29 // 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
105 absl::string_view name() const override { return "conditional-code-motion"; } in name()
108 // Optimization decision for each boundary of the conditional instruction.
[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 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()
/external/llvm/test/CodeGen/SystemZ/
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 …]
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 …]
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/llvm-project/llvm/test/CodeGen/SystemZ/
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 …]
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 …]
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
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/
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/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/llvm-project/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/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/tensorflow/tensorflow/compiler/xla/tests/
Dconditional_test.cc173 // 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/
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/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/llvm-project/clang/test/SemaCXX/
Dvector-conditional.cpp34 // Check the rules of the condition of the conditional operator.
41 // Check the rules of the LHS/RHS of the conditional operator.
43 …(void)(four_ints ? four_ints : throw 1); // expected-error {{GNU vector conditional operand cannot… in Operands()
44 …(void)(four_ints ? throw 1 : four_ints); // expected-error {{GNU vector conditional operand cannot… in Operands()
45 …(void)(four_ints ?: throw 1); // expected-error {{GNU vector conditional operand cannot… in Operands()
46 …(void)(four_ints ? (void)1 : four_ints); // expected-error {{GNU vector conditional operand cannot… in Operands()
47 …(void)(four_ints ?: (void)1); // expected-error {{GNU vector conditional operand cannot… in Operands()
54 …); // expected-error {{vector operands to the vector conditional must be the sam… in Operands()
55 …bles); // expected-error {{vector operands to the vector conditional must be the sam… in Operands()
67 … // expected-error {{enumeration type 'E' is not allowed in a vector conditional}} in Operands()
[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.
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-simplify-bool-expr.cpp352 // CHECK-MESSAGES: :[[@LINE-2]]:22: warning: {{.*}} in conditional return statement
367 // CHECK-MESSAGES: :[[@LINE-2]]:22: warning: {{.*}} in conditional return statement
374 // CHECK-MESSAGES: :[[@LINE-2]]:25: warning: {{.*}} in conditional return statement
385 // CHECK-MESSAGES: :[[@LINE-5]]:12: warning: {{.*}} in conditional return statement
397 // CHECK-MESSAGES: :[[@LINE-5]]:12: warning: {{.*}} in conditional return statement
438 // CHECK-MESSAGES: :[[@LINE-1]]:55: warning: {{.*}} in conditional return statement in lambda_conditional_return_statements()
448 // CHECK-MESSAGES: :[[@LINE-5]]:16: warning: {{.*}} in conditional return statement in lambda_conditional_return_statements()
465 // CHECK-MESSAGES: :[[@LINE-1]]:56: warning: {{.*}} in conditional return statement in lambda_conditional_return_statements()
475 // CHECK-MESSAGES: :[[@LINE-5]]:16: warning: {{.*}} in conditional return statement in lambda_conditional_return_statements()
488 // CHECK-MESSAGES: :[[@LINE-4]]:9: warning: {{.*}} in conditional assignment in simple_conditional_assignment_statements()
[all …]

12345678910>>...152