Home
last modified time | relevance | path

Searched refs:NodeMatcher (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/compiler/
Dgraph-unittest.cc118 class NodeMatcher : public MatcherInterface<Node*> { class
120 explicit NodeMatcher(IrOpcode::Value opcode) : opcode_(opcode) {} in NodeMatcher() function in v8::internal::compiler::__anon024c46020111::NodeMatcher
145 class IsBranchMatcher FINAL : public NodeMatcher {
149 : NodeMatcher(IrOpcode::kBranch), in IsBranchMatcher()
154 NodeMatcher::DescribeTo(os); in DescribeTo()
164 return (NodeMatcher::MatchAndExplain(node, listener) && in MatchAndExplain()
177 class IsMergeMatcher FINAL : public NodeMatcher {
181 : NodeMatcher(IrOpcode::kMerge), in IsMergeMatcher()
186 NodeMatcher::DescribeTo(os); in DescribeTo()
196 return (NodeMatcher::MatchAndExplain(node, listener) && in MatchAndExplain()
[all …]
Dnode-matchers.h16 struct NodeMatcher { struct
17 explicit NodeMatcher(Node* node) : node_(node) {} in NodeMatcher() argument
40 struct ValueMatcher : public NodeMatcher { argument
42 : NodeMatcher(node), value_(), has_value_(opcode() == kOpcode) { in ValueMatcher()
111 struct BinopMatcher FINAL : public NodeMatcher {
113 : NodeMatcher(node), left_(InputAt(0)), right_(InputAt(1)) { in BinopMatcher()