LLVM API Documentation

Public Member Functions | Static Public Member Functions | Friends
llvm::ConstantSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

const ConstantIntgetConstantIntValue () const
const APIntgetAPIntValue () const
uint64_t getZExtValue () const
int64_t getSExtValue () const
bool isOne () const
bool isNullValue () const
bool isAllOnesValue () const
bool isOpaque () const

Static Public Member Functions

static bool classof (const SDNode *N)

Friends

class SelectionDAG

Detailed Description

Definition at line 1362 of file SelectionDAGNodes.h.


Member Function Documentation

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

Definition at line 1372 of file SelectionDAGNodes.h.

Referenced by AddNodeIDCustom().

int64_t llvm::ConstantSDNode::getSExtValue ( ) const [inline]
uint64_t llvm::ConstantSDNode::getZExtValue ( ) const [inline]

Definition at line 1374 of file SelectionDAGNodes.h.

Referenced by AddCombineToVPADDL(), adjustForTestUnderMask(), checkBoolTestSetCCCombine(), llvm::AMDGPUTargetLowering::computeKnownBitsForTargetNode(), llvm::AArch64TargetLowering::computeKnownBitsForTargetNode(), llvm::ARMTargetLowering::computeKnownBitsForTargetNode(), llvm::AMDGPUTargetLowering::ComputeNumSignBitsForTargetNode(), llvm::HexagonSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), FindBaseOffset(), FoldOperand(), getExtendTypeForNode(), getGatherNode(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::SelectionDAG::getNode(), getPrefetchNode(), getScatterNode(), isAllConstantBuildVector(), isBLACompatibleAddress(), isBSwapHWordElement(), isLegalMUBUFImmOffset(), isScaledConstantInRange(), isSimpleShift(), llvm::PPCTargetLowering::LowerAsmOperandForConstraint(), llvm::TargetLowering::LowerAsmOperandForConstraint(), LowerATOMIC_FENCE(), LowerScalarImmediateShift(), LowerScalarVariableShift(), LowerVectorIntExtend(), performANDCombine(), PerformANDCombine(), PerformAndCombine(), PerformBFICombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), PerformMulCombine(), performORCombine(), PerformORCombine(), performSELECTCombine(), performSRACombine(), PerformZExtCombine(), llvm::TargetLowering::SimplifyDemandedBits(), tryCombineCRC32(), tryCombineToBSL(), and tryLowerToSLI().

bool llvm::ConstantSDNode::isOne ( ) const [inline]

Definition at line 1377 of file SelectionDAGNodes.h.

Referenced by llvm::TargetLowering::isConstTrueVal(), isSetCC(), and LowerXALUO().


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 1364 of file SelectionDAGNodes.h.


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