class SDUse

Declaration

class SDUse { /* full declaration omitted */ };

Description

Represents a use of a SDNode. This class holds an SDValue, which records the SDNode being used and the result number, a pointer to the SDNode using the value, and Next and Prev pointers, which link together all the uses of an SDNode.

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

Method Overview

Methods

SDUse()

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

SDUse(const llvm::SDUse& U)

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

Parameters

const llvm::SDUse& U

const llvm::SDValue& get() const

Description

If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.

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

llvm::SDUse* getNext() const

Description

Get the next SDUse in the use list.

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

llvm::SDNode* getNode() const

Description

Convenience function for get().getNode().

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

unsigned int getResNo() const

Description

Convenience function for get().getResNo().

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

llvm::SDNode* getUser()

Description

This returns the SDNode that contains this Use.

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

llvm::EVT getValueType() const

Description

Convenience function for get().getValueType().

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

const llvm::SDValue&
operator const llvm::SDValue&() const

Description

Normally SDUse will just implicitly convert to an SDValue that it holds.

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