Home
last modified time | relevance | path

Searched refs:if_false (Results 1 – 25 of 45) 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/v8/test/unittests/compiler/
Ddiamond-unittest.cc30 EXPECT_THAT(d.if_false, IsIfFalse(d.branch)); in TEST_F()
31 EXPECT_THAT(d.merge, IsMerge(d.if_true, d.if_false)); in TEST_F()
81 EXPECT_THAT(d0.if_false, IsIfFalse(d0.branch)); in TEST_F()
82 EXPECT_THAT(d0.merge, IsMerge(d1.merge, d0.if_false)); in TEST_F()
86 EXPECT_THAT(d1.if_false, IsIfFalse(d1.branch)); in TEST_F()
87 EXPECT_THAT(d1.merge, IsMerge(d1.if_true, d1.if_false)); in TEST_F()
101 EXPECT_THAT(d0.if_false, IsIfFalse(d0.branch)); in TEST_F()
104 EXPECT_THAT(d1.branch, IsBranch(p1, d0.if_false)); in TEST_F()
106 EXPECT_THAT(d1.if_false, IsIfFalse(d1.branch)); in TEST_F()
107 EXPECT_THAT(d1.merge, IsMerge(d1.if_true, d1.if_false)); in TEST_F()
[all …]
Dcommon-operator-reducer-unittest.cc80 Node* const if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
83 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
97 Node* const if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
100 EXPECT_CALL(editor, Replace(if_false, IsDead())); in TEST_F()
114 Node* const if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
117 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
131 Node* const if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
134 EXPECT_CALL(editor, Replace(if_false, IsDead())); in TEST_F()
148 Node* const if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
151 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
[all …]
Dloop-peeling-unittest.cc39 Node* if_false; member
130 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in NewBranch() local
131 return {branch, if_true, if_false}; in NewBranch()
319 loop->ReplaceInput(2, b2.if_false); in TEST_F()
321 Node* r = InsertReturn(p0, start(), b1.if_false); in TEST_F()
327 Node* b1f = ExpectPeeled(b1.if_false, peeled); in TEST_F()
335 Node* b2f = ExpectPeeled(b2.if_false, peeled); in TEST_F()
341 EXPECT_THAT(loop, IsLoop(IsMerge(b2t, b2f), b2.if_true, b2.if_false)); in TEST_F()
342 EXPECT_THAT(r, IsReturn(p0, start(), IsMerge(b1.if_false, b1f))); in TEST_F()
356 loop->ReplaceInput(2, b2.if_false); in TEST_F()
[all …]
Djs-intrinsic-lowering-unittest.cc148 Capture<Node*> branch, if_false; in TEST_F() local
155 effect, CaptureEq(&if_false)), in TEST_F()
160 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); in TEST_F()
179 Capture<Node*> branch, if_false; in TEST_F() local
186 effect, CaptureEq(&if_false)), in TEST_F()
191 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); in TEST_F()
210 Capture<Node*> branch, if_false; in TEST_F() local
217 effect, CaptureEq(&if_false)), in TEST_F()
222 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); in TEST_F()
241 Capture<Node*> branch, if_false; in TEST_F() local
[all …]
Dnode-matchers-unittest.cc738 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
743 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
748 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
754 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
759 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
766 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
785 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
788 USE(if_false); in TEST_F()
799 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in TEST_F() local
802 EXPECT_FALSE(BranchMatcher(if_false).Matched()); in TEST_F()
[all …]
Dchange-lowering-unittest.cc473 Capture<Node*> branch, heap_number, if_false; in TARGET_TEST_F() local
481 IsAllocateHeapNumber(_, CaptureEq(&if_false))), in TARGET_TEST_F()
488 CaptureEq(&if_false))), in TARGET_TEST_F()
494 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); in TARGET_TEST_F()
601 Capture<Node*> branch, heap_number, if_false; in TARGET_TEST_F() local
610 IsAllocateHeapNumber(_, CaptureEq(&if_false))), in TARGET_TEST_F()
617 CaptureEq(&if_false))), in TARGET_TEST_F()
623 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); in TARGET_TEST_F()
/external/v8/src/compiler/
Dcontrol-flow-optimizer.cc220 Node* if_false; in TryBuildSwitch() local
227 if_false = matcher.IfFalse(); in TryBuildSwitch()
229 auto it = if_false->uses().begin(); in TryBuildSwitch()
230 if (it == if_false->uses().end()) break; in TryBuildSwitch()
234 if (it != if_false->uses().end()) break; in TryBuildSwitch()
249 if_false->NullAllInputs(); in TryBuildSwitch()
269 if_false->ReplaceInput(0, node); in TryBuildSwitch()
270 NodeProperties::ChangeOp(if_false, common()->IfDefault()); in TryBuildSwitch()
271 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.cc143 Node* if_false = node->InputAt(1); in ReduceMerge() local
144 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
146 if_false->opcode() == IrOpcode::kIfFalse && in ReduceMerge()
147 if_true->InputAt(0) == if_false->InputAt(0) && if_true->OwnedBy(node) && in ReduceMerge()
148 if_false->OwnedBy(node)) { in ReduceMerge()
151 DCHECK(branch->OwnedBy(if_true, if_false)); in ReduceMerge()
198 Node* if_false = merge->InputAt(1); in ReducePhi() local
200 std::swap(if_true, if_false); in ReducePhi()
204 if_false->opcode() == IrOpcode::kIfFalse && in ReducePhi()
205 if_true->InputAt(0) == if_false->InputAt(0)) { in ReducePhi()
Djs-intrinsic-lowering.cc211 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceIsInstanceType() local
215 effect, if_false), in ReduceIsInstanceType()
216 effect, if_false); in ReduceIsInstanceType()
220 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceIsInstanceType()
254 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceIsFunction() local
258 value, effect, if_false), in ReduceIsFunction()
259 effect, if_false); in ReduceIsFunction()
264 control = graph()->NewNode(common()->Merge(2), if_true, if_false); in ReduceIsFunction()
298 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceIsJSReceiver() local
302 value, effect, if_false), in ReduceIsJSReceiver()
[all …]
Djs-call-reducer.cc333 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSCallFunction() local
336 frame_state, effect, if_false); in ReduceJSCallFunction()
358 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSCallFunction() local
361 frame_state, effect, if_false); in ReduceJSCallFunction()
476 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSCallConstruct() local
479 frame_state, effect, if_false); in ReduceJSCallConstruct()
507 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSCallConstruct() local
510 frame_state, effect, if_false); in ReduceJSCallConstruct()
Dchange-lowering.cc258 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeInt32ToTagged() local
261 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeInt32ToTagged()
290 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeTaggedToUI32() local
293 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeTaggedToUI32()
387 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeTaggedToFloat64() local
390 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeTaggedToFloat64()
411 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeUint32ToTagged() local
413 AllocateHeapNumberWithValue(ChangeUint32ToFloat64(value), if_false); in ChangeUint32ToTagged()
415 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeUint32ToTagged()
Djs-global-object-specialization.cc190 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSStoreGlobal() local
193 frame_state, effect, if_false); in ReduceJSStoreGlobal()
231 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ReduceJSStoreGlobal() local
234 frame_state, effect, if_false); in ReduceJSStoreGlobal()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc631 Label* if_false, in DoTest() argument
636 Split(equal, if_true, if_false, fall_through); in DoTest()
642 Label* if_false, in Split() argument
644 if (if_false == fall_through) { in Split()
647 __ j(NegateCondition(cc), if_false); in Split()
650 __ jmp(if_false); in Split()
711 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
722 Split(equal, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
2959 Label* if_false = NULL; in EmitIsSmi() local
2962 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc634 Label* if_false, in DoTest() argument
639 Split(equal, if_true, if_false, fall_through); in DoTest()
645 Label* if_false, in Split() argument
647 if (if_false == fall_through) { in Split()
650 __ j(NegateCondition(cc), if_false); in Split()
653 __ jmp(if_false); in Split()
714 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
725 Split(equal, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
2967 Label* if_false = NULL; in EmitIsSmi() local
2970 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc646 Label* if_false, in DoTest() argument
651 Split(equal, if_true, if_false, fall_through); in DoTest()
657 Label* if_false, in Split() argument
659 if (if_false == fall_through) { in Split()
662 __ j(NegateCondition(cc), if_false); in Split()
665 __ jmp(if_false); in Split()
726 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
737 Split(equal, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
2954 Label* if_false = NULL; in EmitIsSmi() local
2957 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc684 Label* if_false, in DoTest() argument
689 Split(eq, if_true, if_false, fall_through); in DoTest()
699 Label* if_false, in Split() argument
701 if (if_false == fall_through) { in Split()
704 DCHECK(if_false != fall_through); in Split()
705 __ B(NegateCondition(cond), if_false); in Split()
708 __ B(if_false); in Split()
766 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
780 Split(eq, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
2809 Label* if_false = NULL; in EmitIsSmi() local
[all …]
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc680 Label* if_false, in DoTest() argument
686 Split(eq, result_register(), Operand(at), if_true, if_false, fall_through); in DoTest()
694 Label* if_false, in Split() argument
696 if (if_false == fall_through) { in Split()
699 __ Branch(if_false, NegateCondition(cc), lhs, rhs); in Split()
702 __ Branch(if_false); in Split()
765 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
776 Split(eq, a0, Operand(t0), if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
3079 Label* if_false = NULL; in EmitIsSmi() local
3082 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc687 Label* if_false, in DoTest() argument
692 Split(eq, if_true, if_false, fall_through); in DoTest()
698 Label* if_false, in Split() argument
700 if (if_false == fall_through) { in Split()
703 __ b(NegateCondition(cond), if_false); in Split()
706 __ b(if_false); in Split()
770 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
782 Split(eq, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
3092 Label* if_false = NULL; in EmitIsSmi() local
3095 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc679 Label* if_false, in DoTest() argument
685 Split(eq, result_register(), Operand(at), if_true, if_false, fall_through); in DoTest()
693 Label* if_false, in Split() argument
695 if (if_false == fall_through) { in Split()
698 __ Branch(if_false, NegateCondition(cc), lhs, rhs); in Split()
701 __ Branch(if_false); in Split()
764 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
775 Split(eq, a0, Operand(a4), if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
3084 Label* if_false = NULL; in EmitIsSmi() local
3087 &if_true, &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc657 Label* if_false, Label* fall_through) { in DoTest() argument
661 Split(eq, if_true, if_false, fall_through); in DoTest()
665 void FullCodeGenerator::Split(Condition cond, Label* if_true, Label* if_false, in Split() argument
667 if (if_false == fall_through) { in Split()
670 __ b(NegateCondition(cond), if_false, cr); in Split()
673 __ b(if_false); in Split()
731 Label* if_false) { in PrepareForBailoutBeforeSplit() argument
743 Split(eq, if_true, if_false, NULL); in PrepareForBailoutBeforeSplit()
3078 Label* if_false = NULL; in EmitIsSmi() local
3081 &if_false, &fall_through); in EmitIsSmi()
[all …]
/external/v8/src/full-codegen/
Dfull-codegen.h302 Label* if_false,
313 Label* if_false,
320 Label* if_false,
323 void Split(Condition cc, Label* if_true, Label* if_false, Label* fall_through,
328 Label* if_false,
376 Label* if_false, in VisitForControl() argument
378 TestContext context(this, expr, if_true, if_false, fall_through); in VisitForControl()
436 Label* if_false);
798 Label** if_false,
837 Label** if_true, Label** if_false,
[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/test/cctest/compiler/
Dtest-osr.cc186 CHECK(!nodes.IsLive(d.if_false)); in TEST()
198 Node* if_false = T.graph.NewNode(T.common.IfFalse(), branch); in TEST() local
204 Node* ret = T.graph.NewNode(T.common.Return(), osr_phi, T.start, if_false); in TEST()
212 CheckInputs(if_false, branch); in TEST()
214 CheckInputs(ret, osr_phi, T.start, if_false); in TEST()
520 Node* if_false = T.graph.NewNode(T.common.IfFalse(), branch); in TEST() local
523 loop1->AppendInput(T.graph.zone(), if_false); in TEST()
542 CheckInputs(if_false, branch); in TEST()
545 Node* new_loop1_loop = FindSuccessor(if_false, IrOpcode::kLoop); in TEST()

12