class ConstantSDNode

Declaration

class ConstantSDNode : public SDNode { /* full declaration omitted */ };

Description

Represents one node in the SelectionDAG.

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

Inherits from: SDNode

Member Variables

private const llvm::ConstantInt* Value

Inherited from SDNode:

protected
public PersistentId

Method Overview

Inherited from SDNode:

Inherited from FoldingSetBase::Node:

Methods

ConstantSDNode(bool isTarget,
               bool isOpaque,
               const llvm::ConstantInt* val,
               llvm::EVT VT)

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

Parameters

bool isTarget
bool isOpaque
const llvm::ConstantInt* val
llvm::EVT VT

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

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

Parameters

const llvm::SDNode* N

const llvm::APInt& getAPIntValue() const

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

llvm::Align getAlignValue() const

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

const llvm::ConstantInt* getConstantIntValue()
    const

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

uint64_t getLimitedValue(
    uint64_t Limit = (18446744073709551615UL))

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

Parameters

uint64_t Limit = (18446744073709551615UL)

llvm::MaybeAlign getMaybeAlignValue() const

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

int64_t getSExtValue() const

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

uint64_t getZExtValue() const

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

bool isAllOnes() const

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

bool isAllOnesValue() const

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

bool isMaxSignedValue() const

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

bool isMinSignedValue() const

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

bool isNullValue() const

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

bool isOne() const

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

bool isOpaque() const

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

bool isZero() const

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