Searched refs:NodeMatcher (Results 1 – 4 of 4) sorted by relevance
/external/v8/test/unittests/compiler/ |
D | node-test-utils.cc | 50 class NodeMatcher : public MatcherInterface<Node*> { class 52 explicit NodeMatcher(IrOpcode::Value opcode) : opcode_(opcode) {} in NodeMatcher() function in v8::internal::compiler::__anon313fbfee0111::NodeMatcher 77 class IsBranchMatcher final : public NodeMatcher { 81 : NodeMatcher(IrOpcode::kBranch), in IsBranchMatcher() 86 NodeMatcher::DescribeTo(os); in DescribeTo() 95 return (NodeMatcher::MatchAndExplain(node, listener) && in MatchAndExplain() 108 class IsSwitchMatcher final : public NodeMatcher { 112 : NodeMatcher(IrOpcode::kSwitch), in IsSwitchMatcher() 117 NodeMatcher::DescribeTo(os); in DescribeTo() 126 return (NodeMatcher::MatchAndExplain(node, listener) && in MatchAndExplain() [all …]
|
/external/v8/src/compiler/ |
D | node-matchers.h | 20 struct NodeMatcher { struct 21 explicit NodeMatcher(Node* node) : node_(node) {} in NodeMatcher() function 48 struct ValueMatcher : public NodeMatcher { argument 52 : NodeMatcher(node), value_(), has_value_(opcode() == kOpcode) { in ValueMatcher() 73 : NodeMatcher(node), in ValueMatcher() 84 : NodeMatcher(node), value_(), has_value_(false) { in ValueMatcher() 98 : NodeMatcher(node), value_(), has_value_(false) { in ValueMatcher() 191 struct LoadMatcher : public NodeMatcher { 193 : NodeMatcher(node), object_(InputAt(0)), index_(InputAt(1)) {} in LoadMatcher() 210 struct BinopMatcher : public NodeMatcher { [all …]
|
D | node-matchers.cc | 11 bool NodeMatcher::IsComparison() const { in IsComparison() 17 : NodeMatcher(branch), if_true_(nullptr), if_false_(nullptr) { in BranchMatcher() 32 : NodeMatcher(merge), in DiamondMatcher()
|
/external/v8/src/compiler/arm64/ |
D | instruction-selector-arm64.cc | 183 NodeMatcher nm(right_node); in TryMatchAnyExtend()
|