llvm::SDNode::getConstantOperandAPInt

Helper method returns the APInt of a ConstantSDNode operand.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

APInt const&
getConstantOperandAPInt(unsigned int Num) const;

Return Value

The APInt of a ConstantSDNode operand.

Parameters

NameDescription
NumOperand index.