Return whether X's profile matches ID.
Declared in <llvm/ADT/FoldingSet.h>
static
bool
Equals(
T& X,
FoldingSetNodeID const& ID,
unsigned int IDHash,
FoldingSetNodeID& TempID);
Uses TempID to compute a temporary ID if necessary. The default implementation profiles X and compares the result to ID. Implementations can override this to provide more efficient comparisons.
True if X's profile matches ID.
| Name | Description |
|---|---|
| X | Node to compare. |
| ID | Profile ID to match against. |
| IDHash | Precomputed hash of ID. |
| TempID | Scratch ID for computing X's profile when needed. |