|
LLVM 24.0.0git
|
The key SelectionDAG uniques SDNodes by. More...
#include "llvm/CodeGen/SelectionDAG.h"
Public Member Functions | |
| SDNodeKey (unsigned Opcode, SDVTList VTList, ArrayRef< SDValue > Ops) | |
| LLVM_ABI | SDNodeKey (const SDNode &N) |
| SDNodeKey (const SDNodeKey &)=delete | |
| SDNodeKey & | operator= (const SDNodeKey &)=delete |
| template<typename T> | |
| void | AddInteger (T I) |
| void | AddBoolean (bool B) |
| void | AddPointer (const void *P) |
Public Attributes | |
| unsigned | Opcode |
| const EVT * | VTs |
| ArrayRef< SDValue > | Ops |
| FoldingSetNodeID | Tail |
| SmallVector< SDValue, 0 > | OpStorage |
Backs Ops when the key is built from a node; empty otherwise. | |
The key SelectionDAG uniques SDNodes by.
Tail carries the opcode specific data, which most opcodes do not have, still serialized; a lookup site appends it through the FoldingSetNodeID-shaped forwarders below.
Definition at line 105 of file SelectionDAG.h.
Definition at line 114 of file SelectionDAG.h.
References Opcode, Ops, and VTs.
Referenced by operator=(), and SDNodeKey().
Definition at line 999 of file SelectionDAG.cpp.
References AddNodeIDCustom(), N, Opcode, Ops, OpStorage, Tail, and VTs.
References SDNodeKey().
|
inline |
Definition at line 124 of file SelectionDAG.h.
Definition at line 123 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::getConstantPool(), llvm::SelectionDAG::getConstantPool(), llvm::SelectionDAG::getFrameIndex(), llvm::SelectionDAG::getJumpTable(), and llvm::SelectionDAG::getRegister().
|
inline |
Definition at line 125 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::getBasicBlock(), llvm::SelectionDAG::getBlockAddress(), llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getConstantFP(), llvm::SelectionDAG::getDeactivationSymbol(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getMDNode(), llvm::SelectionDAG::getRegisterMask(), and llvm::SelectionDAG::getSrcValue().
References SDNodeKey().
| unsigned llvm::SDNodeKey::Opcode |
Definition at line 106 of file SelectionDAG.h.
Referenced by SDNodeKey(), and SDNodeKey().
Definition at line 108 of file SelectionDAG.h.
Referenced by SDNodeKey(), and SDNodeKey().
| SmallVector<SDValue, 0> llvm::SDNodeKey::OpStorage |
Backs Ops when the key is built from a node; empty otherwise.
No inline capacity: only that one path pays for the storage.
Definition at line 112 of file SelectionDAG.h.
Referenced by SDNodeKey().
| FoldingSetNodeID llvm::SDNodeKey::Tail |
Definition at line 109 of file SelectionDAG.h.
Referenced by AddBoolean(), AddInteger(), AddPointer(), and SDNodeKey().
Definition at line 107 of file SelectionDAG.h.
Referenced by SDNodeKey(), and SDNodeKey().