Match SDNode N against pattern P using a BasicMatchContext for DAG.
Synopsis
Declared in <llvm/CodeGen/SDPatternMatch.h>
template<typename Pattern>
[[nodiscard]]
bool
sd_match(
SDNode* N,
SelectionDAG const* DAG,
Pattern&& P);
Return Value
True if the pattern matches.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
N |
Node to match. |
DAG |
SelectionDAG used to build the match context, or null. |
P |
Pattern object providing match(). |
Created with MrDocs