LLVM API Documentation

llvm::MemSDNode Class Reference

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

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::MemSDNode:

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

Collaboration graph
[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)
unsigned getAlignment () const
 Returns alignment and volatility of the memory access.
bool isVolatile () const
const ValuegetSrcValue () 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 SDValuegetChain () const
const SDValuegetBasePtr () const
unsigned getRawFlags () 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 1522 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

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

Definition at line 4771 of file SelectionDAG.cpp.

References getAlignment(), llvm::isPowerOf2_32(), and isVolatile().

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

Definition at line 4782 of file SelectionDAG.cpp.

References getAlignment(), llvm::isPowerOf2_32(), and isVolatile().


Member Function Documentation

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

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

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]

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

getRawFlags - Represent the flags as a bunch of bits.

Definition at line 1570 of file SelectionDAGNodes.h.

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

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

Definition at line 1573 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:



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.