LLVM API Documentation
#include <SelectionDAGNodes.h>
Public Member Functions | |
LSBaseSDNode (ISD::NodeType NodeTy, unsigned Order, DebugLoc dl, SDValue *Operands, unsigned numOperands, SDVTList VTs, ISD::MemIndexedMode AM, EVT MemVT, MachineMemOperand *MMO) | |
const SDValue & | getOffset () const |
ISD::MemIndexedMode | getAddressingMode () const |
bool | isIndexed () const |
isIndexed - Return true if this is a pre/post inc/dec load/store. | |
bool | isUnindexed () const |
isUnindexed - Return true if this is NOT a pre/post inc/dec load/store. | |
Static Public Member Functions | |
static bool | classof (const SDNode *N) |
LSBaseSDNode - Base class for LoadSDNode and StoreSDNode
Definition at line 1818 of file SelectionDAGNodes.h.
llvm::LSBaseSDNode::LSBaseSDNode | ( | ISD::NodeType | NodeTy, |
unsigned | Order, | ||
DebugLoc | dl, | ||
SDValue * | Operands, | ||
unsigned | numOperands, | ||
SDVTList | VTs, | ||
ISD::MemIndexedMode | AM, | ||
EVT | MemVT, | ||
MachineMemOperand * | MMO | ||
) | [inline] |
Definition at line 1827 of file SelectionDAGNodes.h.
References llvm::getOffset(), llvm::SDNode::getOpcode(), llvm::SDNode::InitOperands(), llvm::SDNode::SubclassData, and llvm::ISD::UNDEF.
static bool llvm::LSBaseSDNode::classof | ( | const SDNode * | N | ) | [inline, static] |
Reimplemented from llvm::MemSDNode.
Reimplemented in llvm::StoreSDNode, and llvm::LoadSDNode.
Definition at line 1855 of file SelectionDAGNodes.h.
References llvm::SDNode::getOpcode(), llvm::ISD::LOAD, and llvm::ISD::STORE.
ISD::MemIndexedMode llvm::LSBaseSDNode::getAddressingMode | ( | ) | const [inline] |
getAddressingMode - Return the addressing mode for this load or store: unindexed, pre-inc, pre-dec, post-inc, or post-dec.
Definition at line 1845 of file SelectionDAGNodes.h.
References llvm::SDNode::SubclassData.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), isCalleeLoad(), llvm::ISD::isNormalLoad(), llvm::ISD::isNormalStore(), and isValidIndexedLoad().
const SDValue& llvm::LSBaseSDNode::getOffset | ( | ) | const [inline] |
Reimplemented in llvm::StoreSDNode, and llvm::LoadSDNode.
Definition at line 1839 of file SelectionDAGNodes.h.
References llvm::SDNode::getOpcode(), llvm::SDNode::getOperand(), and llvm::ISD::LOAD.
bool llvm::LSBaseSDNode::isIndexed | ( | ) | const [inline] |
isIndexed - Return true if this is a pre/post inc/dec load/store.
Definition at line 1850 of file SelectionDAGNodes.h.
References llvm::ISD::UNINDEXED.
Referenced by canFoldInAddressingMode().
bool llvm::LSBaseSDNode::isUnindexed | ( | ) | const [inline] |
isUnindexed - Return true if this is NOT a pre/post inc/dec load/store.
Definition at line 1853 of file SelectionDAGNodes.h.
References llvm::ISD::UNINDEXED.
Referenced by llvm::TargetLowering::SimplifySetCC().