LLVM API Documentation

llvm::MemSDNode Class Reference

Abstact virtual class for operations for memory operations. More...

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::MemSDNode:
[legend]
Collaboration diagram for llvm::MemSDNode:
[legend]

List of all members.

Public Member Functions

 MemSDNode (unsigned Opc, SDVTList VTs, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile)
 MemSDNode (unsigned Opc, SDVTList VTs, const SDValue *Ops, unsigned NumOps, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile)
 MemSDNode (unsigned Opc, DebugLoc dl, SDVTList VTs, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile)
 MemSDNode (unsigned Opc, DebugLoc dl, SDVTList VTs, const SDValue *Ops, unsigned NumOps, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile)
unsigned getAlignment () const
 Returns alignment and volatility of the memory access.
bool isVolatile () const
unsigned getRawSubclassData () const
const Value * getSrcValue () const
 Returns the SrcValue and offset that describes the location of the access.
int getSrcValueOffset () const
MVT getMemoryVT () const
 getMemoryVT - Return the type of the in-memory value.
MachineMemOperand getMemOperand () const
const SDValue & getChain () const
const SDValue & getBasePtr () const

Static Public Member Functions

static bool classof (const MemSDNode *)
static bool classof (const SDNode *N)


Detailed Description

Abstact virtual class for operations for memory operations.

Definition at line 1588 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

MemSDNode::MemSDNode ( unsigned  Opc,
SDVTList  VTs,
MVT  MemoryVT,
const Value *  srcValue,
int  SVOff,
unsigned  alignment,
bool  isvolatile 
)

MemSDNode::MemSDNode ( unsigned  Opc,
SDVTList  VTs,
const SDValue *  Ops,
unsigned  NumOps,
MVT  MemoryVT,
const Value *  srcValue,
int  SVOff,
unsigned  alignment,
bool  isvolatile 
)

MemSDNode::MemSDNode ( unsigned  Opc,
DebugLoc  dl,
SDVTList  VTs,
MVT  MemoryVT,
const Value *  srcValue,
int  SVOff,
unsigned  alignment,
bool  isvolatile 
)

MemSDNode::MemSDNode ( unsigned  Opc,
DebugLoc  dl,
SDVTList  VTs,
const SDValue *  Ops,
unsigned  NumOps,
MVT  MemoryVT,
const Value *  srcValue,
int  SVOff,
unsigned  alignment,
bool  isvolatile 
)


Member Function Documentation

unsigned llvm::MemSDNode::getAlignment (  )  const [inline]

bool llvm::MemSDNode::isVolatile (  )  const [inline]

unsigned llvm::MemSDNode::getRawSubclassData (  )  const [inline]

getRawSubclassData - Return the SubclassData value, which contains an encoding of the alignment and volatile information, as well as bits used by subclasses. This function should only be used to compute a FoldingSetNodeID value.

Definition at line 1624 of file SelectionDAGNodes.h.

Referenced by AddNodeIDCustom(), and llvm::SelectionDAG::getIndexedStore().

const Value* llvm::MemSDNode::getSrcValue (  )  const [inline]

int llvm::MemSDNode::getSrcValueOffset (  )  const [inline]

MVT llvm::MemSDNode::getMemoryVT (  )  const [inline]

MachineMemOperand MemSDNode::getMemOperand (  )  const

const SDValue& llvm::MemSDNode::getChain (  )  const [inline]

const SDValue& llvm::MemSDNode::getBasePtr (  )  const [inline]

static bool llvm::MemSDNode::classof ( const MemSDNode *   )  [inline, static]

Definition at line 1645 of file SelectionDAGNodes.h.

static bool llvm::MemSDNode::classof ( const SDNode *  N  )  [inline, static]


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