LLVM API Documentation
#include <SelectionDAGNodes.h>


Public Member Functions | |
| LSBaseSDNode (ISD::NodeType NodeTy, 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 1583 of file SelectionDAGNodes.h.
| llvm::LSBaseSDNode::LSBaseSDNode | ( | ISD::NodeType | NodeTy, |
| DebugLoc | dl, | ||
| SDValue * | Operands, | ||
| unsigned | numOperands, | ||
| SDVTList | VTs, | ||
| ISD::MemIndexedMode | AM, | ||
| EVT | MemVT, | ||
| MachineMemOperand * | MMO | ||
| ) | [inline] |
Definition at line 1592 of file SelectionDAGNodes.h.
References getAddressingMode(), getOffset(), llvm::SDNode::getOpcode(), llvm::SDNode::InitOperands(), isIndexed(), llvm::SDNode::SubclassData, and llvm::ISD::UNDEF.
Reimplemented from llvm::MemSDNode.
Reimplemented in llvm::StoreSDNode, and llvm::LoadSDNode.
Definition at line 1619 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 1609 of file SelectionDAGNodes.h.
References llvm::SDNode::SubclassData.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), isCalleeLoad(), isIndexed(), llvm::ISD::isNormalLoad(), llvm::ISD::isNormalStore(), isUnindexed(), isValidIndexedLoad(), and LSBaseSDNode().
| const SDValue& llvm::LSBaseSDNode::getOffset | ( | ) | const [inline] |
Reimplemented in llvm::StoreSDNode, and llvm::LoadSDNode.
Definition at line 1603 of file SelectionDAGNodes.h.
References llvm::SDNode::getOpcode(), llvm::SDNode::getOperand(), and llvm::ISD::LOAD.
Referenced by LSBaseSDNode().
| bool llvm::LSBaseSDNode::isIndexed | ( | ) | const [inline] |
isIndexed - Return true if this is a pre/post inc/dec load/store.
Definition at line 1614 of file SelectionDAGNodes.h.
References getAddressingMode(), and llvm::ISD::UNINDEXED.
Referenced by canFoldInAddressingMode(), and LSBaseSDNode().
| bool llvm::LSBaseSDNode::isUnindexed | ( | ) | const [inline] |
isUnindexed - Return true if this is NOT a pre/post inc/dec load/store.
Definition at line 1617 of file SelectionDAGNodes.h.
References getAddressingMode(), and llvm::ISD::UNINDEXED.
Referenced by llvm::TargetLowering::SimplifySetCC().