Home
last modified time | relevance | path

Searched refs:OwnedBy (Results 1 – 10 of 10) sorted by relevance

/external/v8/test/unittests/compiler/
Dnode-unittest.cc110 TEST_F(NodeTest, OwnedBy) { in TEST_F() argument
112 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
114 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
115 EXPECT_FALSE(n1->OwnedBy(n1)); in TEST_F()
116 EXPECT_TRUE(n0->OwnedBy(n1)); in TEST_F()
119 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
120 EXPECT_FALSE(n1->OwnedBy(n1)); in TEST_F()
121 EXPECT_FALSE(n2->OwnedBy(n2)); in TEST_F()
122 EXPECT_FALSE(n0->OwnedBy(n1)); in TEST_F()
123 EXPECT_FALSE(n0->OwnedBy(n2)); in TEST_F()
[all …]
/external/v8/test/cctest/compiler/
Dtest-node.cc43 if (use_count == 1) CHECK(node->OwnedBy(uses[0])); in CheckUseChain()
46 CHECK(!node->OwnedBy(uses[i])); in CheckUseChain()
218 TEST(OwnedBy) { in TEST() argument
226 CHECK(!n0->OwnedBy(n1)); in TEST()
227 CHECK(!n1->OwnedBy(n0)); in TEST()
230 CHECK(n0->OwnedBy(n2)); in TEST()
231 CHECK(!n2->OwnedBy(n0)); in TEST()
234 CHECK(!n0->OwnedBy(n2)); in TEST()
235 CHECK(!n0->OwnedBy(n3)); in TEST()
236 CHECK(!n2->OwnedBy(n0)); in TEST()
[all …]
/external/v8/src/compiler/
Dtail-call-optimization.cc28 call->OwnedBy(node, control) && control->OwnedBy(node)) { in Reduce()
Dnode-matchers.h443 if (m.HasIndexInput() && left->OwnedBy(node)) { in Initialize()
448 if (right->opcode() == AddMatcher::kOpcode && right->OwnedBy(node)) { in Initialize()
466 if (left->opcode() == AddMatcher::kOpcode && left->OwnedBy(node)) { in Initialize()
470 if (left_matcher.HasIndexInput() && left_left->OwnedBy(left)) { in Initialize()
585 return if_true_->OwnedBy(node()) && if_false_->OwnedBy(node()); in IfProjectionsAreOwned()
Dcommon-operator-reducer.cc147 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()
Dnode.h183 bool OwnedBy(Node* owner) const { in OwnedBy() function
188 bool OwnedBy(Node const* owner1, Node const* owner2) const;
Dcontrol-flow-optimizer.cc125 if (!cond->OwnedBy(branch) || cond->opcode() != IrOpcode::kPhi) return false; in TryCloneBranch()
Dnode.cc268 bool Node::OwnedBy(Node const* owner1, Node const* owner2) const { in OwnedBy() function in v8::internal::compiler::Node
Dmachine-operator-reducer.cc655 if (phi->OwnedBy(node)) { in ReduceTruncateFloat64ToInt32()
Dinstruction-selector.cc219 return node->OwnedBy(user) && in CanCover()