Home
last modified time | relevance | path

Searched refs:if_true (Results 1 – 25 of 61) sorted by relevance

123

/third_party/node/deps/v8/src/compiler/
Dcontrol-flow-optimizer.cc88 Node* if_true; in TryBuildSwitch() local
94 if_true = matcher.IfTrue(); in TryBuildSwitch()
114 if_true->ReplaceInput(0, node); in TryBuildSwitch()
116 NodeProperties::ChangeOp(if_true, common()->IfValue(value, order++)); in TryBuildSwitch()
118 Enqueue(if_true); in TryBuildSwitch()
134 if_true->ReplaceInput(0, node); in TryBuildSwitch()
135 NodeProperties::ChangeOp(if_true, common()->IfValue(value, order++)); in TryBuildSwitch()
136 Enqueue(if_true); in TryBuildSwitch()
Dcommon-operator-reducer.cc193 Node* if_true = node->InputAt(0); in ReduceMerge() local
195 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
196 if (if_true->opcode() == IrOpcode::kIfTrue && in ReduceMerge()
198 if_true->InputAt(0) == if_false->InputAt(0) && if_true->OwnedBy(node) && in ReduceMerge()
200 Node* const branch = if_true->InputAt(0); in ReduceMerge()
202 DCHECK(branch->OwnedBy(if_true, if_false)); in ReduceMerge()
251 Node* if_true = merge_inputs[0]; in ReducePhi() local
253 if (if_true->opcode() != IrOpcode::kIfTrue) { in ReducePhi()
254 std::swap(if_true, if_false); in ReducePhi()
257 if (if_true->opcode() == IrOpcode::kIfTrue && in ReducePhi()
[all …]
Ddiamond.h21 Node* if_true; member
30 if_true = graph->NewNode(common->IfTrue(), branch);
32 merge = graph->NewNode(common->Merge(2), if_true, if_false);
44 branch->ReplaceInput(1, that.if_true); in Nest()
Dgraph-assembler.h350 GraphAssemblerLabel<0u>* if_true,
355 void Branch(Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* if_true,
360 GraphAssemblerLabel<sizeof...(Vars)>* if_true,
522 GraphAssemblerLabel<sizeof...(Vars)>* if_true,
695 GraphAssemblerLabel<sizeof...(Vars)>* if_true, in Branch() argument
699 if (if_true->IsDeferred() != if_false->IsDeferred()) { in Branch()
703 BranchImpl(condition, if_true, if_false, hint, vars...); in Branch()
708 Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* if_true, in BranchWithHint() argument
711 BranchImpl(condition, if_true, if_false, hint, vars...); in BranchWithHint()
716 GraphAssemblerLabel<sizeof...(Vars)>* if_true, in BranchImpl() argument
[all …]
Djs-native-context-specialization.cc1181 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceNamedAccess() local
1189 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceNamedAccess()
2767 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in BuildElementAccess() local
2779 index, length, etrue, if_true); in BuildElementAccess()
2785 etrue, if_true); in BuildElementAccess()
2796 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in BuildElementAccess()
2839 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in BuildElementAccess() local
2850 index, length, etrue, if_true); in BuildElementAccess()
2856 value, etrue, if_true); in BuildElementAccess()
2865 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in BuildElementAccess()
[all …]
Djs-call-reducer.cc157 auto if_true = (hint_ == BranchHint::kFalse) ? gasm_->MakeDeferredLabel() in ~IfBuilder0() local
162 gasm_->Branch(cond_, &if_true, &if_false); in ~IfBuilder0()
164 gasm_->Bind(&if_true); in ~IfBuilder0()
224 auto if_true = (hint_ == BranchHint::kFalse) ? gasm_->MakeDeferredLabel() in Value() local
229 gasm_->Branch(cond_, &if_true, &if_false); in Value()
231 gasm_->Bind(&if_true); in Value()
3170 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceReflectGet() local
3180 vtrue = etrue = if_true = in ReduceReflectGet()
3182 key, context, frame_state, etrue, if_true); in ReduceReflectGet()
3189 Node* extrue = graph()->NewNode(common()->IfException(), etrue, if_true); in ReduceReflectGet()
[all …]
Dgraph-assembler.cc558 Node* condition, GraphAssemblerLabel<0u>* if_true, in BranchWithCriticalSafetyCheck() argument
561 if (if_true->IsDeferred() != if_false->IsDeferred()) { in BranchWithCriticalSafetyCheck()
565 BranchImpl(condition, if_true, if_false, hint); in BranchWithCriticalSafetyCheck()
Djs-typed-lowering.cc1126 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSToObject() local
1158 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceJSToObject()
1895 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSForInNext() local
1936 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceJSForInNext()
2000 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSForInPrepare() local
2008 enumerator, etrue, if_true); in ReduceJSForInPrepare()
2012 descriptor_array, etrue, if_true); in ReduceJSForInPrepare()
2015 enum_cache, etrue, if_true); in ReduceJSForInPrepare()
2020 enumerator, etrue, if_true); in ReduceJSForInPrepare()
2040 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceJSForInPrepare()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-generator.cc1260 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1261 BranchIfToBooleanIsTrue(value, &if_true, &if_false); in IGNITION_HANDLER()
1262 BIND(&if_true); in IGNITION_HANDLER()
1284 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1287 Branch(TaggedEqual(value, true_value), &if_true, &if_false); in IGNITION_HANDLER()
1288 BIND(&if_true); in IGNITION_HANDLER()
1796 Label if_true(this), if_false(this), end(this); in IGNITION_HANDLER() local
1808 GotoIfNumber(object, &if_true); in IGNITION_HANDLER()
1815 Branch(IsString(CAST(object)), &if_true, &if_false); in IGNITION_HANDLER()
1821 Branch(IsSymbol(CAST(object)), &if_true, &if_false); in IGNITION_HANDLER()
[all …]
/third_party/node/deps/v8/src/torque/
Dinstructions.h634 block_list->push_back(if_true); in AppendSuccessorBlocks()
638 BranchInstruction(Block* if_true, Block* if_false) in BranchInstruction()
639 : if_true(if_true), if_false(if_false) {} in BranchInstruction()
641 Block* if_true; member
652 block_list->push_back(if_true); in AppendSuccessorBlocks()
656 ConstexprBranchInstruction(std::string condition, Block* if_true, in ConstexprBranchInstruction()
658 : condition(condition), if_true(if_true), if_false(if_false) {} in ConstexprBranchInstruction()
661 Block* if_true; member
Dinstructions.cc595 if_true->SetInputTypes(*stack); in TypeInstruction()
602 if_true->MergeInputDefinitions(*locations, worklist); in RecomputeDefinitionLocations()
608 return os << "Branch true: " << instruction.if_true->id() in operator <<()
614 if_true->SetInputTypes(*stack); in TypeInstruction()
620 if_true->MergeInputDefinitions(*locations, worklist); in RecomputeDefinitionLocations()
627 << ", true: " << instruction.if_true->id() in operator <<()
Dast.h434 Expression* if_true, Expression* if_false) in ConditionalExpression()
437 if_true(if_true), in ConditionalExpression()
442 if_true->VisitAllSubExpressions(callback); in VisitAllSubExpressions()
448 Expression* if_true; member
698 Statement* if_true, base::Optional<Statement*> if_false) in IfStatement()
702 if_true(if_true), in IfStatement()
706 Statement* if_true; member
Dcsa-generator.cc753 << BlockName(instruction.if_true) << ", std::vector<compiler::Node*>{"; in EmitInstruction()
755 const auto& true_definitions = instruction.if_true->InputDefinitions(); in EmitInstruction()
759 if (true_definitions.Peek(i).IsPhiFromBlock(instruction.if_true)) { in EmitInstruction()
786 out() << " ca_.Goto(&" << BlockName(instruction.if_true); in EmitInstruction()
788 const auto& true_definitions = instruction.if_true->InputDefinitions(); in EmitInstruction()
791 if (true_definitions.Peek(i).IsPhiFromBlock(instruction.if_true)) { in EmitInstruction()
Dcfg.cc99 void CfgAssembler::Branch(Block* if_true, Block* if_false) { in Branch() argument
100 Emit(BranchInstruction{if_true, if_false}); in Branch()
/third_party/spirv-tools/test/opt/
Dir_loader_test.cpp558 OpName %if_true "if.true" in TEST()
625 OpBranchConditional %58 %if_true %if_merge in TEST()
626 %if_true = OpLabel in TEST()
729 OpName %if_true "if.true" in TEST()
781 OpBranchConditional %53 %if_true %if_merge in TEST()
782 %if_true = OpLabel in TEST()
873 OpName %if_true "if.true" in TEST()
940 OpBranchConditional %58 %if_true %if_merge in TEST()
941 %if_true = OpLabel in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_loader_test.cpp558 OpName %if_true "if.true" in TEST()
625 OpBranchConditional %58 %if_true %if_merge in TEST()
626 %if_true = OpLabel in TEST()
729 OpName %if_true "if.true" in TEST()
781 OpBranchConditional %53 %if_true %if_merge in TEST()
782 %if_true = OpLabel in TEST()
873 OpName %if_true "if.true" in TEST()
940 OpBranchConditional %58 %if_true %if_merge in TEST()
941 %if_true = OpLabel in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dir_loader_test.cpp558 OpName %if_true "if.true" in TEST()
625 OpBranchConditional %58 %if_true %if_merge in TEST()
626 %if_true = OpLabel in TEST()
729 OpName %if_true "if.true" in TEST()
781 OpBranchConditional %53 %if_true %if_merge in TEST()
782 %if_true = OpLabel in TEST()
873 OpName %if_true "if.true" in TEST()
940 OpBranchConditional %58 %if_true %if_merge in TEST()
941 %if_true = OpLabel in TEST()
/third_party/protobuf/src/google/protobuf/stubs/
Dtemplate_util_unittest.cc64 typedef if_<true, true_type, false_type>::type if_true; in TEST() typedef
65 EXPECT_TRUE(if_true::value); in TEST()
/third_party/node/deps/v8/src/maglev/
Dmaglev-ir.cc322 os << " b" << graph_labeller->BlockId(node->if_true()) << " b" in PrintTargets()
924 __ JumpIfRoot(value, RootIndex::kTrueValue, if_true()->label()); in GenerateCode()
929 if (if_true() != next_block) { in GenerateCode()
930 __ jmp(if_true()->label()); in GenerateCode()
965 __ j(not_equal, if_true()->label()); in GenerateCode()
970 if (if_true() != next_block) { in GenerateCode()
971 __ jmp(if_true()->label()); in GenerateCode()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-internal-gen.cc988 Label if_true(this), if_false(this); in TF_BUILTIN() local
990 Branch(IsTrue(result), &if_true, &if_false); in TF_BUILTIN()
992 BIND(&if_true); in TF_BUILTIN()
1003 Label if_true(this), if_false(this); in TF_BUILTIN() local
1004 BranchIfSameValue(lhs, rhs, &if_true, &if_false); in TF_BUILTIN()
1006 BIND(&if_true); in TF_BUILTIN()
1017 Label if_true(this), if_false(this); in TF_BUILTIN() local
1018 BranchIfSameValue(lhs, rhs, &if_true, &if_false, SameValueMode::kNumbersOnly); in TF_BUILTIN()
1020 BIND(&if_true); in TF_BUILTIN()
Dbuiltins-collections-gen.h15 TNode<Context> context, compiler::CodeAssemblerLabel* if_true,
20 TNode<Context> context, compiler::CodeAssemblerLabel* if_true,
Dbuiltins-collections-gen.cc488 Label* if_true,
496 Label* if_true,
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) { in BranchIfMapIteratorProtectorValid() argument
853 if_true, if_false); in BranchIfMapIteratorProtectorValid()
859 Label* if_true, in BranchIfIterableWithOriginalKeyOrValueMapIterator() argument
893 Branch(TaggedEqual(iter_proto, initial_iter_proto), if_true, if_false); in BranchIfIterableWithOriginalKeyOrValueMapIterator()
898 TNode<Context> context, compiler::CodeAssemblerLabel* if_true, in BranchIfIterableWithOriginalKeyOrValueMapIterator() argument
902 iterable, context, if_true, if_false); in BranchIfIterableWithOriginalKeyOrValueMapIterator()
[all …]
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.h1026 void BranchIfSmiEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiEqual() argument
1028 Branch(SmiEqual(a, b), if_true, if_false); in BranchIfSmiEqual()
1031 void BranchIfSmiLessThan(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiLessThan() argument
1033 Branch(SmiLessThan(a, b), if_true, if_false); in BranchIfSmiLessThan()
1036 void BranchIfSmiLessThanOrEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiLessThanOrEqual() argument
1038 Branch(SmiLessThanOrEqual(a, b), if_true, if_false); in BranchIfSmiLessThanOrEqual()
1041 void BranchIfFloat64IsNaN(TNode<Float64T> value, Label* if_true, in BranchIfFloat64IsNaN() argument
1043 Branch(Float64Equal(value, value), if_false, if_true); in BranchIfFloat64IsNaN()
1048 void BranchIfToBooleanIsTrue(TNode<Object> value, Label* if_true,
1054 Label* if_true) { in BranchIfToBooleanIsFalse() argument
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dinline.c376 struct statement *valt = stmt->if_true; in copy_one_statement()
383 stmt->if_true == valt && in copy_one_statement()
388 stmt->if_true = valt; in copy_one_statement()
Dparse.h64 struct statement *if_true; member

123