LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::LSBaseSDNode Class Reference

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::LSBaseSDNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::LSBaseSDNode:
Collaboration graph
[legend]

List of all members.

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 SDValuegetOffset () 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)

Detailed Description

LSBaseSDNode - Base class for LoadSDNode and StoreSDNode

Definition at line 1818 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::LSBaseSDNode::LSBaseSDNode ( ISD::NodeType  NodeTy,
unsigned  Order,
DebugLoc  dl,
SDValue Operands,
unsigned  numOperands,
SDVTList  VTs,
ISD::MemIndexedMode  AM,
EVT  MemVT,
MachineMemOperand MMO 
) [inline]

Member Function Documentation

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.

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().

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().

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().


The documentation for this class was generated from the following file: