class AtomicSDNode

Declaration

class AtomicSDNode : public MemSDNode { /* full declaration omitted */ };

Description

This is an SDNode representing atomic operations.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1429

Inherits from: MemSDNode

Member Variables

Inherited from MemSDNode:

protected MMO

Inherited from SDNode:

protected
public PersistentId

Method Overview

  • public AtomicSDNode(unsigned int Opc, unsigned int Order, const llvm::DebugLoc & dl, llvm::SDVTList VTL, llvm::EVT MemVT, llvm::MachineMemOperand * MMO)
  • public static bool classof(const llvm::SDNode * N)
  • public const llvm::SDValue & getBasePtr() const
  • public llvm::AtomicOrdering getFailureOrdering() const
  • public const llvm::SDValue & getVal() const
  • public bool isCompareAndSwap() const

Inherited from MemSDNode:

Inherited from SDNode:

Inherited from FoldingSetBase::Node:

Methods

AtomicSDNode(unsigned int Opc,
             unsigned int Order,
             const llvm::DebugLoc& dl,
             llvm::SDVTList VTL,
             llvm::EVT MemVT,
             llvm::MachineMemOperand* MMO)

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1431

Parameters

unsigned int Opc
unsigned int Order
const llvm::DebugLoc& dl
llvm::SDVTList VTL
llvm::EVT MemVT
llvm::MachineMemOperand* MMO

static bool classof(const llvm::SDNode* N)

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1457

Parameters

const llvm::SDNode* N

const llvm::SDValue& getBasePtr() const

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1438

llvm::AtomicOrdering getFailureOrdering() const

Description

For cmpxchg atomic operations, return the atomic ordering requirements when store does not occur.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1451

const llvm::SDValue& getVal() const

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1439

bool isCompareAndSwap() const

Description

Returns true if this SDNode represents cmpxchg atomic operation, false otherwise.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1443