Home
last modified time | relevance | path

Searched refs:if_false (Results 1 - 25 of 54) sorted by relevance

123

/third_party/node/deps/v8/src/compiler/
H A Dcontrol-flow-optimizer.cc87 Node* if_false; in TryBuildSwitch() local
95 if_false = matcher.IfFalse(); in TryBuildSwitch()
97 auto it = if_false->uses().begin(); in TryBuildSwitch()
98 if (it == if_false->uses().end()) break; in TryBuildSwitch()
102 if (it != if_false->uses().end()) break; in TryBuildSwitch()
117 if_false->NullAllInputs(); in TryBuildSwitch()
137 if_false->ReplaceInput(0, node); in TryBuildSwitch()
138 NodeProperties::ChangeOp(if_false, common()->IfDefault()); in TryBuildSwitch()
139 Enqueue(if_false); in TryBuildSwitch()
H A Ddiamond.h22 Node* if_false; member
31 if_false = graph->NewNode(common->IfFalse(), branch); in Diamond()
32 merge = graph->NewNode(common->Merge(2), if_true, if_false); in Diamond()
41 // Nest {this} into either the if_true or if_false branch of {that}.
47 branch->ReplaceInput(1, that.if_false); in Nest()
H A Dcommon-operator-reducer.cc194 Node* if_false = node->InputAt(1); in ReduceMerge() local
195 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
197 if_false->opcode() == IrOpcode::kIfFalse && in ReduceMerge()
198 if_true->InputAt(0) == if_false->InputAt(0) && if_true->OwnedBy(node) && in ReduceMerge()
199 if_false->OwnedBy(node)) { in ReduceMerge()
202 DCHECK(branch->OwnedBy(if_true, if_false)); in ReduceMerge()
252 Node* if_false = merge_inputs[1]; in ReducePhi() local
254 std::swap(if_true, if_false); in ReducePhi()
258 if_false->opcode() == IrOpcode::kIfFalse && in ReducePhi()
259 if_true->InputAt(0) == if_false in ReducePhi()
[all...]
H A Dgraph-assembler.h348 // Branch hints are inferred from if_true/if_false deferred states.
351 GraphAssemblerLabel<0u>* if_false);
353 // Branch hints are inferred from if_true/if_false deferred states.
356 GraphAssemblerLabel<sizeof...(Vars)>* if_false, Vars...);
361 GraphAssemblerLabel<sizeof...(Vars)>* if_false,
523 GraphAssemblerLabel<sizeof...(Vars)>* if_false,
696 GraphAssemblerLabel<sizeof...(Vars)>* if_false, in Branch()
699 if (if_true->IsDeferred() != if_false->IsDeferred()) { in Branch()
700 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in Branch()
703 BranchImpl(condition, if_true, if_false, hin in Branch()
694 Branch(Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* if_true, GraphAssemblerLabel<sizeof...(Vars)>* if_false, Vars... vars) Branch() argument
707 BranchWithHint( Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* if_true, GraphAssemblerLabel<sizeof...(Vars)>* if_false, BranchHint hint, Vars... vars) BranchWithHint() argument
715 BranchImpl(Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* if_true, GraphAssemblerLabel<sizeof...(Vars)>* if_false, BranchHint hint, Vars... vars) BranchImpl() argument
[all...]
H A Djs-typed-lowering.cc618 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSAdd() local
622 Node* vfalse = efalse = if_false = graph()->NewNode( in ReduceJSAdd()
624 context, frame_state, efalse, if_false); in ReduceJSAdd()
632 if_false = graph()->NewNode(common()->IfSuccess(), vfalse); in ReduceJSAdd()
639 if_false = graph()->NewNode(common()->Throw(), efalse, if_false); in ReduceJSAdd()
641 NodeProperties::MergeControlToEnd(graph(), common(), if_false); in ReduceJSAdd() local
1130 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSToObject() local
1140 rfalse = efalse = if_false = in ReduceJSToObject()
1143 context, frame_state, efalse, if_false); in ReduceJSToObject()
1905 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); ReduceJSForInNext() local
2027 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); ReduceJSForInPrepare() local
[all...]
H A Djs-intrinsic-lowering.cc254 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceIsInstanceType() local
258 efalse, if_false); in ReduceIsInstanceType()
261 if_false); in ReduceIsInstanceType()
266 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceIsInstanceType()
H A Djs-call-reducer.cc159 auto if_false = (hint_ == BranchHint::kTrue) ? gasm_->MakeDeferredLabel() in ~IfBuilder0() local
162 gasm_->Branch(cond_, &if_true, &if_false); in ~IfBuilder0()
168 gasm_->Bind(&if_false); in ~IfBuilder0()
226 auto if_false = (hint_ == BranchHint::kTrue) ? gasm_->MakeDeferredLabel() in Value() local
229 gasm_->Branch(cond_, &if_true, &if_false); in Value()
235 gasm_->Bind(&if_false); in Value()
3158 Node* if_false = graph()->NewNode(common()->IfFalse(), branch);
3161 if_false = efalse = graph()->NewNode(
3166 frame_state, efalse, if_false);
3191 Node* exfalse = graph()->NewNode(common()->IfException(), efalse, if_false);
[all...]
H A Dgraph-assembler.cc559 GraphAssemblerLabel<0u>* if_false) { in BranchWithCriticalSafetyCheck()
561 if (if_true->IsDeferred() != if_false->IsDeferred()) { in BranchWithCriticalSafetyCheck()
562 hint = if_false->IsDeferred() ? BranchHint::kTrue : BranchHint::kFalse; in BranchWithCriticalSafetyCheck()
565 BranchImpl(condition, if_true, if_false, hint); in BranchWithCriticalSafetyCheck()
557 BranchWithCriticalSafetyCheck( Node* condition, GraphAssemblerLabel<0u>* if_true, GraphAssemblerLabel<0u>* if_false) BranchWithCriticalSafetyCheck() argument
/third_party/node/deps/v8/src/interpreter/
H A Dinterpreter-generator.cc1260 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER()
1261 BranchIfToBooleanIsTrue(value, &if_true, &if_false); in IGNITION_HANDLER()
1267 BIND(&if_false); in IGNITION_HANDLER()
1284 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER()
1287 Branch(TaggedEqual(value, true_value), &if_true, &if_false); in IGNITION_HANDLER() local
1293 BIND(&if_false); in IGNITION_HANDLER()
1796 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER()
1809 Goto(&if_false); in IGNITION_HANDLER()
1814 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER() local
1815 Branch(IsString(CAST(object)), &if_true, &if_false); in IGNITION_HANDLER()
1820 GotoIf(TaggedIsSmi(object), &if_false); IGNITION_HANDLER() local
1827 Branch(TaggedEqual(object, FalseConstant()), &if_true, &if_false); IGNITION_HANDLER() local
1832 GotoIf(TaggedIsSmi(object), &if_false); IGNITION_HANDLER() local
1838 GotoIf(TaggedIsSmi(object), &if_false); IGNITION_HANDLER() local
1840 GotoIf(IsNull(object), &if_false); IGNITION_HANDLER() local
1846 GotoIf(TaggedIsSmi(object), &if_false); IGNITION_HANDLER() local
1854 &if_true, &if_false); IGNITION_HANDLER() local
1859 GotoIf(TaggedIsSmi(object), &if_false); IGNITION_HANDLER() local
1866 GotoIfNot(IsJSReceiverMap(map), &if_false); IGNITION_HANDLER() local
1872 &if_false); IGNITION_HANDLER() local
2926 Branch(TaggedEqual(index, cache_length), &if_true, &if_false); IGNITION_HANDLER() local
[all...]
/third_party/node/deps/v8/src/torque/
H A Dinstructions.h635 block_list->push_back(if_false);
638 BranchInstruction(Block* if_true, Block* if_false) in BranchInstruction()
639 : if_true(if_true), if_false(if_false) {} in BranchInstruction()
642 Block* if_false; member
653 block_list->push_back(if_false);
657 Block* if_false) in ConstexprBranchInstruction()
658 : condition(condition), if_true(if_true), if_false(if_false) {} in ConstexprBranchInstruction()
662 Block* if_false; member
[all...]
H A Dinstructions.cc596 if_false->SetInputTypes(*stack); in TypeInstruction()
603 if_false->MergeInputDefinitions(*locations, worklist); in RecomputeDefinitionLocations()
609 << ", false: " << instruction.if_false->id(); in operator <<()
615 if_false->SetInputTypes(*stack); in TypeInstruction()
621 if_false->MergeInputDefinitions(*locations, worklist); in RecomputeDefinitionLocations()
628 << ", false: " << instruction.if_false->id(); in operator <<()
H A Dcfg.cc99 void CfgAssembler::Branch(Block* if_true, Block* if_false) { in Branch() argument
100 Emit(BranchInstruction{if_true, if_false}); in Branch()
H A Dcsa-generator.cc766 out() << "}, &" << BlockName(instruction.if_false) in EmitInstruction()
769 const auto& false_definitions = instruction.if_false->InputDefinitions(); in EmitInstruction()
773 if (false_definitions.Peek(i).IsPhiFromBlock(instruction.if_false)) { in EmitInstruction()
798 out() << " ca_.Goto(&" << BlockName(instruction.if_false); in EmitInstruction()
800 const auto& false_definitions = instruction.if_false->InputDefinitions(); in EmitInstruction()
803 if (false_definitions.Peek(i).IsPhiFromBlock(instruction.if_false)) { in EmitInstruction()
H A Dast.h434 Expression* if_true, Expression* if_false) in ConditionalExpression()
438 if_false(if_false) {} in ConditionalExpression()
443 if_false->VisitAllSubExpressions(callback);
449 Expression* if_false; member
698 Statement* if_true, base::Optional<Statement*> if_false) in IfStatement()
703 if_false(if_false) {} in IfStatement()
707 base::Optional<Statement*> if_false; member
H A Dtorque-parser.cc1346 auto if_false = child_results->NextAs<base::Optional<Statement*>>(); in MakeIfStatement() local
1348 if (if_false && !(BlockStatement::DynamicCast(if_true) && in MakeIfStatement()
1349 (BlockStatement::DynamicCast(*if_false) || in MakeIfStatement()
1350 IfStatement::DynamicCast(*if_false)))) { in MakeIfStatement()
1356 if (if_false) CheckNotDeferredStatement(*if_false); in MakeIfStatement()
1360 MakeNode<IfStatement>(is_constexpr, condition, if_true, if_false); in MakeIfStatement()
2013 auto if_false = child_results->NextAs<Expression*>(); in MakeConditionalExpression() local
2015 MakeNode<ConditionalExpression>(condition, if_true, if_false); in MakeConditionalExpression()
/third_party/protobuf/src/google/protobuf/stubs/
H A 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()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-collections-gen.cc489 Label* if_false);
497 Label* if_false);
624 void BranchIfMapIteratorProtectorValid(Label* if_true, Label* if_false);
625 void BranchIfSetIteratorProtectorValid(Label* if_true, Label* if_false);
847 Label* if_true, Label* if_false) {
853 if_true, if_false);
860 Label* if_false) {
864 GotoIf(TaggedIsSmi(iterator), if_false);
870 &if_key_or_value_iterator, if_false);
876 GotoIfNot(TaggedEqual(index, SmiConstant(0)), if_false);
[all...]
H A Dbuiltins-collections-gen.h16 compiler::CodeAssemblerLabel* if_false);
21 compiler::CodeAssemblerLabel* if_false);
H A Dbuiltins-internal-gen.cc988 Label if_true(this), if_false(this); in TF_BUILTIN()
990 Branch(IsTrue(result), &if_true, &if_false); in TF_BUILTIN() local
995 BIND(&if_false); in TF_BUILTIN()
1003 Label if_true(this), if_false(this); in TF_BUILTIN()
1004 BranchIfSameValue(lhs, rhs, &if_true, &if_false); in TF_BUILTIN()
1009 BIND(&if_false); in TF_BUILTIN()
1017 Label if_true(this), if_false(this); in TF_BUILTIN()
1018 BranchIfSameValue(lhs, rhs, &if_true, &if_false, SameValueMode::kNumbersOnly); in TF_BUILTIN()
1023 BIND(&if_false); in TF_BUILTIN()
/third_party/ltp/tools/sparse/sparse-src/
H A Dparse.h65 struct statement *if_false; member
H A Dinline.c377 struct statement *valf = stmt->if_false; in copy_one_statement()
384 stmt->if_false == valf) in copy_one_statement()
389 stmt->if_false = valf; in copy_one_statement()
/third_party/gn/src/gn/
H A Dcommand_format.cc554 RETURN_IF_SET(SuffixCommentTreeWalk(condition->if_false())); in SuffixCommentTreeWalk()
910 if (condition->if_false()) { in Expr()
914 bool is_else_if = condition->if_false()->AsBlock() == nullptr; in Expr()
916 Expr(condition->if_false(), kPrecedenceLowest, std::string()); in Expr()
919 condition->if_false()->AsBlock()->statements(), in Expr()
920 condition->if_false()->AsBlock()->End(), false); in Expr()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.h1027 Label* if_false) { in BranchIfSmiEqual()
1028 Branch(SmiEqual(a, b), if_true, if_false); in BranchIfSmiEqual() local
1032 Label* if_false) { in BranchIfSmiLessThan()
1033 Branch(SmiLessThan(a, b), if_true, if_false); in BranchIfSmiLessThan() local
1037 Label* if_false) { in BranchIfSmiLessThanOrEqual()
1038 Branch(SmiLessThanOrEqual(a, b), if_true, if_false); in BranchIfSmiLessThanOrEqual() local
1042 Label* if_false) { in BranchIfFloat64IsNaN()
1043 Branch(Float64Equal(value, value), if_false, if_true); in BranchIfFloat64IsNaN() local
1047 // otherwise goes to {if_false}.
1049 Label* if_false);
1026 BranchIfSmiEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, Label* if_false) BranchIfSmiEqual() argument
1031 BranchIfSmiLessThan(TNode<Smi> a, TNode<Smi> b, Label* if_true, Label* if_false) BranchIfSmiLessThan() argument
1036 BranchIfSmiLessThanOrEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, Label* if_false) BranchIfSmiLessThanOrEqual() argument
1041 BranchIfFloat64IsNaN(TNode<Float64T> value, Label* if_true, Label* if_false) BranchIfFloat64IsNaN() argument
1053 BranchIfToBooleanIsFalse(TNode<Object> value, Label* if_false, Label* if_true) BranchIfToBooleanIsFalse() argument
3575 BranchIfNumberEqual(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberEqual() argument
3581 BranchIfNumberNotEqual(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberNotEqual() argument
3586 BranchIfNumberLessThan(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberLessThan() argument
3592 BranchIfNumberLessThanOrEqual(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberLessThanOrEqual() argument
3598 BranchIfNumberGreaterThan(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberGreaterThan() argument
3604 BranchIfNumberGreaterThanOrEqual(TNode<Number> left, TNode<Number> right, Label* if_true, Label* if_false) BranchIfNumberGreaterThanOrEqual() argument
[all...]
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-ir.cc323 << graph_labeller->BlockId(node->if_false()); in PrintTargets()
922 if (if_false() == next_block) { in GenerateCode()
927 __ JumpIfNotRoot(value, RootIndex::kTrueValue, if_false()->label()); in GenerateCode()
963 if (if_false() == next_block) { in GenerateCode()
968 __ j(equal, if_false()->label()); in GenerateCode()
/third_party/python/Lib/
H A Dgettext.py159 if_false, nexttok = _parse(tokens)
160 result = '%s if %s else %s' % (if_true, result, if_false)

Completed in 44 milliseconds

123