LLVM API Documentation

llvm::AtomicSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

 AtomicSDNode (unsigned Opc, SDVTList VTL, MVT MemVT, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, const Value *SrcVal, unsigned Align=0)
 AtomicSDNode (unsigned Opc, SDVTList VTL, MVT MemVT, SDValue Chain, SDValue Ptr, SDValue Val, const Value *SrcVal, unsigned Align=0)
 AtomicSDNode (unsigned Opc, DebugLoc dl, SDVTList VTL, MVT MemVT, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, const Value *SrcVal, unsigned Align=0)
 AtomicSDNode (unsigned Opc, DebugLoc dl, SDVTList VTL, MVT MemVT, SDValue Chain, SDValue Ptr, SDValue Val, const Value *SrcVal, unsigned Align=0)
const SDValue & getBasePtr () const
const SDValue & getVal () const
bool isCompareAndSwap () const

Static Public Member Functions

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


Detailed Description

AtomicSDNode - A SDNode reprenting atomic operations.

Definition at line 1671 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::AtomicSDNode::AtomicSDNode ( unsigned  Opc,
SDVTList  VTL,
MVT  MemVT,
SDValue  Chain,
SDValue  Ptr,
SDValue  Cmp,
SDValue  Swp,
const Value *  SrcVal,
unsigned  Align = 0 
) [inline]

Definition at line 1683 of file SelectionDAGNodes.h.

llvm::AtomicSDNode::AtomicSDNode ( unsigned  Opc,
SDVTList  VTL,
MVT  MemVT,
SDValue  Chain,
SDValue  Ptr,
SDValue  Val,
const Value *  SrcVal,
unsigned  Align = 0 
) [inline]

Definition at line 1691 of file SelectionDAGNodes.h.

llvm::AtomicSDNode::AtomicSDNode ( unsigned  Opc,
DebugLoc  dl,
SDVTList  VTL,
MVT  MemVT,
SDValue  Chain,
SDValue  Ptr,
SDValue  Cmp,
SDValue  Swp,
const Value *  SrcVal,
unsigned  Align = 0 
) [inline]

Definition at line 1698 of file SelectionDAGNodes.h.

llvm::AtomicSDNode::AtomicSDNode ( unsigned  Opc,
DebugLoc  dl,
SDVTList  VTL,
MVT  MemVT,
SDValue  Chain,
SDValue  Ptr,
SDValue  Val,
const Value *  SrcVal,
unsigned  Align = 0 
) [inline]

Definition at line 1706 of file SelectionDAGNodes.h.


Member Function Documentation

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

Reimplemented from llvm::MemSDNode.

Definition at line 1714 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

const SDValue& llvm::AtomicSDNode::getVal (  )  const [inline]

Definition at line 1715 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

bool llvm::AtomicSDNode::isCompareAndSwap (  )  const [inline]

Definition at line 1717 of file SelectionDAGNodes.h.

References llvm::ISD::ATOMIC_CMP_SWAP, llvm::SDValue::getOpcode(), and Op.

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

Definition at line 1723 of file SelectionDAGNodes.h.

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


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