Home
last modified time | relevance | path

Searched refs:if_false (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dx86-shuffle-sink.ll12 ; CHECK: if_false:
16 br i1 %tst, label %if_true, label %if_false
21 if_false:
31 ; CHECK: if_false:
35 br i1 %tst, label %if_true, label %if_false
40 if_false:
50 ; CHECK: if_false:
54 br i1 %tst, label %if_true, label %if_false
59 if_false:
66 ; CHECK-AVX2: if_false:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/X86/
Dx86-shuffle-sink.ll16 ; CHECK: if_false:
21 br i1 %tst, label %if_true, label %if_false
26 if_false:
37 ; CHECK-SSE2: if_false:
47 ; CHECK-XOP: if_false:
56 ; CHECK-AVX2: if_false:
66 ; CHECK-AVX512BW: if_false:
71 br i1 %tst, label %if_true, label %if_false
76 if_false:
87 ; CHECK: if_false:
[all …]
/external/v8/src/compiler/
Dcontrol-flow-optimizer.cc84 Node* if_false; in TryBuildSwitch() local
92 if_false = matcher.IfFalse(); in TryBuildSwitch()
94 auto it = if_false->uses().begin(); in TryBuildSwitch()
95 if (it == if_false->uses().end()) break; in TryBuildSwitch()
99 if (it != if_false->uses().end()) break; in TryBuildSwitch()
114 if_false->NullAllInputs(); in TryBuildSwitch()
134 if_false->ReplaceInput(0, node); in TryBuildSwitch()
135 NodeProperties::ChangeOp(if_false, common()->IfDefault()); in TryBuildSwitch()
136 Enqueue(if_false); in TryBuildSwitch()
Ddiamond.h22 Node* if_false; member
31 if_false = graph->NewNode(common->IfFalse(), branch);
32 merge = graph->NewNode(common->Merge(2), if_true, if_false);
47 branch->ReplaceInput(1, that.if_false); in Nest()
Dcommon-operator-reducer.cc188 Node* if_false = node->InputAt(1); in ReduceMerge() local
189 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
191 if_false->opcode() == IrOpcode::kIfFalse && in ReduceMerge()
192 if_true->InputAt(0) == if_false->InputAt(0) && if_true->OwnedBy(node) && in ReduceMerge()
193 if_false->OwnedBy(node)) { in ReduceMerge()
196 DCHECK(branch->OwnedBy(if_true, if_false)); in ReduceMerge()
246 Node* if_false = merge_inputs[1]; in ReducePhi() local
248 std::swap(if_true, if_false); in ReducePhi()
252 if_false->opcode() == IrOpcode::kIfFalse && in ReducePhi()
253 if_true->InputAt(0) == if_false->InputAt(0)) { in ReducePhi()
Dgraph-assembler.cc228 GraphAssemblerLabel<0u>* if_false) { in Branch() argument
232 if (if_true->IsDeferred() != if_false->IsDeferred()) { in Branch()
233 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in Branch()
243 MergeState(if_false); in Branch()
Djs-call-reducer.cc849 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceReflectGet() local
852 if_false = efalse = graph()->NewNode( in ReduceReflectGet()
857 context, frame_state, efalse, if_false); in ReduceReflectGet()
882 Node* exfalse = graph()->NewNode(common()->IfException(), efalse, if_false); in ReduceReflectGet()
883 if_false = graph()->NewNode(common()->IfSuccess(), if_false); in ReduceReflectGet()
896 if_false = graph()->NewNode(common()->Throw(), efalse, if_false); in ReduceReflectGet()
897 NodeProperties::MergeControlToEnd(graph(), common(), if_false); in ReduceReflectGet()
925 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceReflectHas() local
928 if_false = efalse = graph()->NewNode( in ReduceReflectHas()
933 context, frame_state, efalse, if_false); in ReduceReflectHas()
[all …]
Djs-typed-lowering.cc708 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceCreateConsString() local
712 Node* vfalse = efalse = if_false = graph()->NewNode( in ReduceCreateConsString()
714 context, frame_state, efalse, if_false); in ReduceCreateConsString()
722 if_false = graph()->NewNode(common()->IfSuccess(), vfalse); in ReduceCreateConsString()
729 if_false = graph()->NewNode(common()->Throw(), efalse, if_false); in ReduceCreateConsString()
731 NodeProperties::MergeControlToEnd(graph(), common(), if_false); in ReduceCreateConsString()
1122 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSToObject() local
1131 rfalse = efalse = if_false = in ReduceJSToObject()
1134 context, frame_state, efalse, if_false); in ReduceJSToObject()
1143 NodeProperties::ReplaceControlInput(on_exception, if_false); in ReduceJSToObject()
[all …]
Djs-intrinsic-lowering.cc206 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceIsInstanceType() local
210 efalse, if_false); in ReduceIsInstanceType()
213 if_false); in ReduceIsInstanceType()
218 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceIsInstanceType()
Djs-native-context-specialization.cc882 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceNamedAccess() local
885 access_builder.BuildCheckMaps(receiver, &efalse, if_false, in ReduceNamedAccess()
889 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceNamedAccess()
2352 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in BuildElementAccess() local
2360 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in BuildElementAccess()
2409 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in BuildElementAccess() local
2415 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in BuildElementAccess()
2544 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in BuildElementAccess() local
2552 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in BuildElementAccess()
2669 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in BuildElementAccess() local
[all …]
Djs-generic-lowering.cc794 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in LowerJSStackCheck() local
795 NodeProperties::ReplaceControlInput(node, if_false); in LowerJSStackCheck()
797 Node* efalse = if_false = node; in LowerJSStackCheck()
799 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in LowerJSStackCheck()
804 NodeProperties::ReplaceControlInput(merge, if_false, 1); in LowerJSStackCheck()
/external/grpc-grpc/src/compiler/
Dobjective_c_generator_helpers.h71 const ::grpc::string& if_false) { in PreprocIfElse()
73 if_true + "#else\n" + if_false + "#endif\n"); in PreprocIfElse()
78 const ::grpc::string& if_false) { in PreprocIfNotElse()
80 if_true + "#else\n" + if_false + "#endif\n"); in PreprocIfNotElse()
/external/v8/src/interpreter/
Dinterpreter-generator.cc1388 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1389 BranchIfToBooleanIsTrue(value, &if_true, &if_false); in IGNITION_HANDLER()
1395 BIND(&if_false); in IGNITION_HANDLER()
1412 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1415 Branch(WordEqual(value, true_value), &if_true, &if_false); in IGNITION_HANDLER()
1421 BIND(&if_false); in IGNITION_HANDLER()
1903 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1916 Goto(&if_false); in IGNITION_HANDLER()
1921 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1922 Branch(IsString(object), &if_true, &if_false); in IGNITION_HANDLER()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dtemplate_util_unittest.cc67 typedef if_<false, true_type, false_type>::type if_false; in TEST() typedef
68 EXPECT_FALSE(if_false::value); in TEST()
/external/v8/src/torque/
Dast.h268 Expression* if_true, Expression* if_false) in ConditionalExpression()
272 if_false(if_false) {} in ConditionalExpression()
275 Expression* if_false; member
400 Statement* if_true, base::Optional<Statement*> if_false) in IfStatement()
405 if_false(if_false) {} in IfStatement()
409 base::Optional<Statement*> if_false; member
Dtorque-parser.cc474 auto if_false = child_results->NextAs<base::Optional<Statement*>>(); in MakeIfStatement() local
476 if (if_false && !(BlockStatement::DynamicCast(if_true) && in MakeIfStatement()
477 (BlockStatement::DynamicCast(*if_false) || in MakeIfStatement()
478 IfStatement::DynamicCast(*if_false)))) { in MakeIfStatement()
483 MakeNode<IfStatement>(is_constexpr, condition, if_true, if_false); in MakeIfStatement()
792 auto if_false = child_results->NextAs<Expression*>(); in MakeConditionalExpression() local
794 MakeNode<ConditionalExpression>(condition, if_true, if_false); in MakeConditionalExpression()
Ddeclaration-visitor.cc392 Visit(expr->if_false); in Visit()
405 if (stmt->if_false) Visit(*stmt->if_false); in Visit()
/external/tensorflow/tensorflow/python/autograph/
DREADME.md30 def if_false():
31 with tf.name_scope('if_false'):
34 x = ag__.utils.run_cond(tf.greater(x, 0), if_true, if_false)
/external/v8/src/
Dcode-stub-assembler.h732 Label* if_false) { in BranchIfSmiEqual() argument
733 Branch(SmiEqual(a, b), if_true, if_false); in BranchIfSmiEqual()
737 Label* if_false) { in BranchIfSmiLessThan() argument
738 Branch(SmiLessThan(a, b), if_true, if_false); in BranchIfSmiLessThan()
742 Label* if_false) { in BranchIfSmiLessThanOrEqual() argument
743 Branch(SmiLessThanOrEqual(a, b), if_true, if_false); in BranchIfSmiLessThanOrEqual()
746 void BranchIfFloat64IsNaN(Node* value, Label* if_true, Label* if_false) { in BranchIfFloat64IsNaN() argument
747 Branch(Float64Equal(value, value), if_false, if_true); in BranchIfFloat64IsNaN()
752 void BranchIfToBooleanIsTrue(Node* value, Label* if_true, Label* if_false);
754 void BranchIfJSReceiver(Node* object, Label* if_true, Label* if_false);
[all …]
Dcode-stub-assembler.cc1042 Label* if_false) { in BranchIfJSReceiver() argument
1043 GotoIf(TaggedIsSmi(object), if_false); in BranchIfJSReceiver()
1045 Branch(IsJSReceiver(object), if_true, if_false); in BranchIfJSReceiver()
1050 Label if_true(this), if_false(this, Label::kDeferred), exit(this); in IsFastJSArray() local
1051 BranchIfFastJSArray(object, context, &if_true, &if_false); in IsFastJSArray()
1058 BIND(&if_false); in IsFastJSArray()
1069 Label if_false(this, Label::kDeferred), if_fast(this), exit(this); in IsFastJSArrayWithNoCustomIteration() local
1071 BranchIfFastJSArray(object, context, &if_fast, &if_false, true); in IsFastJSArrayWithNoCustomIteration()
1083 BIND(&if_false); in IsFastJSArrayWithNoCustomIteration()
1093 Label* if_true, Label* if_false, in BranchIfFastJSArray() argument
[all …]
/external/v8/src/builtins/
Dbuiltins-internal-gen.cc582 Label if_true(this), if_false(this); in TF_BUILTIN() local
584 Branch(IsTrue(result), &if_true, &if_false); in TF_BUILTIN()
589 BIND(&if_false); in TF_BUILTIN()
597 Label if_true(this), if_false(this); in TF_BUILTIN() local
598 BranchIfSameValue(lhs, rhs, &if_true, &if_false); in TF_BUILTIN()
603 BIND(&if_false); in TF_BUILTIN()
/external/python/cpython3/Lib/
Dgettext.py156 if_false, nexttok = _parse(tokens)
157 result = '%s if %s else %s' % (if_true, result, if_false)
/external/python/cpython2/Lib/
Dgettext.py154 if_false, nexttok = _parse(tokens)
155 result = '%s if %s else %s' % (if_true, result, if_false)
/external/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py817 def if_false(): function
820 output = control_flow_ops.cond(x[i] > 0, if_true, if_false)
846 def if_false(): function
849 output = control_flow_ops.cond(x[i] > 0, if_true, if_false)
/external/tensorflow/tensorflow/contrib/autograph/examples/notebooks/
Dalgorithms.ipynb326 " def if_false():\n",
327 " with tf.name_scope('if_false'):\n",
329 " msg = ag__.utils.run_cond(tf.equal(i_1 % 3, 0), if_true, if_false)\n",
1395 " def if_false():\n",
1396 " with tf.name_scope('if_false'):\n",
1404 " if_false)\n",

12