LLVM API Documentation
#include <SelectionDAGNodes.h>


Public Member Functions | |
| const ConstantInt * | getConstantIntValue () const |
| const APInt & | getAPIntValue () const |
| uint64_t | getZExtValue () const |
| int64_t | getSExtValue () const |
| bool | isNullValue () const |
| bool | isAllOnesValue () const |
Static Public Member Functions | |
| static bool | classof (const ConstantSDNode *) |
| static bool | classof (const SDNode *N) |
Protected Member Functions | |
| ConstantSDNode (bool isTarget, const ConstantInt *val, MVT VT) | |
Friends | |
| class | SelectionDAG |
Definition at line 1691 of file SelectionDAGNodes.h.
| llvm::ConstantSDNode::ConstantSDNode | ( | bool | isTarget, | |
| const ConstantInt * | val, | |||
| MVT | VT | |||
| ) | [inline, protected] |
Definition at line 1696 of file SelectionDAGNodes.h.
| const ConstantInt* llvm::ConstantSDNode::getConstantIntValue | ( | ) | const [inline] |
Definition at line 1702 of file SelectionDAGNodes.h.
| const APInt& llvm::ConstantSDNode::getAPIntValue | ( | ) | const [inline] |
Definition at line 1703 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::BuildUDIV(), llvm::SelectionDAGISel::CheckAndMask(), llvm::SelectionDAGISel::CheckOrMask(), llvm::SelectionDAG::FoldConstantArithmetic(), llvm::SelectionDAG::getNode(), and llvm::TargetLowering::LowerAsmOperandForConstraint().
| uint64_t llvm::ConstantSDNode::getZExtValue | ( | ) | const [inline] |
Definition at line 1704 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::SelectionDAG::getNode(), isBLACompatibleAddress(), isI16IntU10Immediate(), isIntS16Immediate(), isLSAAddress(), llvm::X86TargetLowering::LowerAsmOperandForConstraint(), llvm::TargetLowering::LowerAsmOperandForConstraint(), llvm::PPCTargetLowering::LowerAsmOperandForConstraint(), LowerConstant(), LowerSCALAR_TO_VECTOR(), and llvm::SPUTargetLowering::PerformDAGCombine().
| int64_t llvm::ConstantSDNode::getSExtValue | ( | ) | const [inline] |
Definition at line 1705 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::isGAPlusOffset(), isI16IntS10Immediate(), isI32IntS10Immediate(), isI32IntU10Immediate(), isI64IntS10Immediate(), LowerINSERT_VECTOR_ELT(), and llvm::SPUTargetLowering::PerformDAGCombine().
| bool llvm::ConstantSDNode::isNullValue | ( | ) | const [inline] |
Definition at line 1707 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), and llvm::SPUTargetLowering::PerformDAGCombine().
| bool llvm::ConstantSDNode::isAllOnesValue | ( | ) | const [inline] |
Definition at line 1708 of file SelectionDAGNodes.h.
| static bool llvm::ConstantSDNode::classof | ( | const ConstantSDNode * | ) | [inline, static] |
Definition at line 1710 of file SelectionDAGNodes.h.
| static bool llvm::ConstantSDNode::classof | ( | const SDNode * | N | ) | [inline, static] |
Reimplemented from llvm::SDNode.
Definition at line 1711 of file SelectionDAGNodes.h.
References llvm::ISD::Constant, llvm::SDNode::getOpcode(), and llvm::ISD::TargetConstant.
friend class SelectionDAG [friend] |
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.