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 | isOne () const |
bool | isNullValue () const |
bool | isAllOnesValue () const |
![]() | |
unsigned | getOpcode () const |
bool | isTargetOpcode () const |
bool | isTargetMemoryOpcode () const |
bool | isMachineOpcode () const |
unsigned | getMachineOpcode () const |
bool | getHasDebugValue () const |
getHasDebugValue - get this bit. More... | |
void | setHasDebugValue (bool b) |
setHasDebugValue - set this bit. More... | |
bool | use_empty () const |
bool | hasOneUse () const |
size_t | use_size () const |
int | getNodeId () const |
void | setNodeId (int Id) |
setNodeId - Set unique node id. More... | |
unsigned | getIROrder () const |
void | setIROrder (unsigned Order) |
const DebugLoc | getDebugLoc () const |
getDebugLoc - Return the source location info. More... | |
void | setDebugLoc (const DebugLoc dl) |
use_iterator | use_begin () const |
bool | hasNUsesOfValue (unsigned NUses, unsigned Value) const |
bool | hasAnyUseOfValue (unsigned Value) const |
bool | isOnlyUserOf (SDNode *N) const |
bool | isOperandOf (SDNode *N) const |
bool | isPredecessorOf (const SDNode *N) const |
bool | hasPredecessor (const SDNode *N) const |
bool | hasPredecessorHelper (const SDNode *N, SmallPtrSet< const SDNode *, 32 > &Visited, SmallVectorImpl< const SDNode * > &Worklist) const |
unsigned | getNumOperands () const |
uint64_t | getConstantOperandVal (unsigned Num) const |
const SDValue & | getOperand (unsigned Num) const |
op_iterator | op_begin () const |
op_iterator | op_end () const |
SDVTList | getVTList () const |
SDNode * | getGluedNode () const |
const SDNode * | getGluedMachineNode () const |
SDNode * | getGluedUser () const |
unsigned | getNumValues () const |
EVT | getValueType (unsigned ResNo) const |
MVT | getSimpleValueType (unsigned ResNo) const |
unsigned | getValueSizeInBits (unsigned ResNo) const |
value_iterator | value_begin () const |
value_iterator | value_end () const |
std::string | getOperationName (const SelectionDAG *G=0) const |
void | print_types (raw_ostream &OS, const SelectionDAG *G) const |
void | print_details (raw_ostream &OS, const SelectionDAG *G) const |
void | print (raw_ostream &OS, const SelectionDAG *G=0) const |
void | printr (raw_ostream &OS, const SelectionDAG *G=0) const |
void | printrFull (raw_ostream &O, const SelectionDAG *G=0) const |
void | printrWithDepth (raw_ostream &O, const SelectionDAG *G=0, unsigned depth=100) const |
void | dump () const |
dump - Dump this node, for debugging. More... | |
void | dumpr () const |
dumpr - Dump (recursively) this node and its use-def subgraph. More... | |
void | dump (const SelectionDAG *G) const |
void | dumpr (const SelectionDAG *G) const |
void | dumprFull (const SelectionDAG *G=0) const |
void | dumprWithDepth (const SelectionDAG *G=0, unsigned depth=100) const |
void | Profile (FoldingSetNodeID &ID) const |
void | addUse (SDUse &U) |
![]() | |
Node () | |
void * | getNextInBucket () const |
void | SetNextInBucket (void *N) |
![]() | |
SDNode * | getPrevNode () |
Get the previous node, or 0 for the list head. More... | |
const SDNode * | getPrevNode () const |
Get the previous node, or 0 for the list head. More... | |
SDNode * | getNextNode () |
Get the next node, or 0 for the list tail. More... | |
const SDNode * | getNextNode () const |
Get the next node, or 0 for the list tail. More... | |
Static Public Member Functions | |
static bool | classof (const SDNode *N) |
![]() | |
static use_iterator | use_end () |
static const char * | getIndexedModeName (ISD::MemIndexedMode AM) |
Friends | |
class | SelectionDAG |
Additional Inherited Members | |
![]() | |
typedef SDUse * | op_iterator |
typedef const EVT * | value_iterator |
![]() | |
SDNode (unsigned Opc, unsigned Order, const DebugLoc dl, SDVTList VTs, const SDValue *Ops, unsigned NumOps) | |
SDNode (unsigned Opc, unsigned Order, const DebugLoc dl, SDVTList VTs) | |
void | InitOperands (SDUse *Ops, const SDValue &Op0) |
InitOperands - Initialize the operands list of this with 1 operand. More... | |
void | InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1) |
InitOperands - Initialize the operands list of this with 2 operands. More... | |
void | InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1, const SDValue &Op2) |
InitOperands - Initialize the operands list of this with 3 operands. More... | |
void | InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1, const SDValue &Op2, const SDValue &Op3) |
InitOperands - Initialize the operands list of this with 4 operands. More... | |
void | InitOperands (SDUse *Ops, const SDValue *Vals, unsigned N) |
InitOperands - Initialize the operands list of this with N operands. More... | |
void | DropOperands () |
![]() | |
ilist_node () | |
![]() | |
static SDVTList | getSDVTList (EVT VT) |
![]() | |
uint16_t | SubclassData: 14 |
Definition at line 1246 of file SelectionDAGNodes.h.
Definition at line 1264 of file SelectionDAGNodes.h.
References llvm::ISD::Constant, llvm::SDNode::getOpcode(), and llvm::ISD::TargetConstant.
|
inline |
Definition at line 1256 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::BuildExactSDIV(), llvm::SelectionDAGISel::CheckAndMask(), llvm::SelectionDAGISel::CheckOrMask(), llvm::SelectionDAG::getNode(), isXor1OfSetCC(), llvm::TargetLowering::LowerAsmOperandForConstraint(), performANDCombine(), PerformISDSETCCCombine(), PerformORCombine(), performShiftToAllZeros(), PerformSHLCombine(), PerformSubCombine(), llvm::TargetLowering::TargetLoweringOpt::ShrinkDemandedConstant(), and SkipExtensionForVMULL().
|
inline |
Definition at line 1255 of file SelectionDAGNodes.h.
|
inline |
Definition at line 1258 of file SelectionDAGNodes.h.
Referenced by adjustSubwordCmp(), adjustZeroCmp(), canFoldInAddressingMode(), CheckInteger(), createCMovFP(), getAtomicLoadArithTargetConstant(), llvm::X86TargetLowering::getSingleConstraintMatchWeight(), Is_PostInc_S4_Offset(), isExtendedBUILD_VECTOR(), llvm::TargetLowering::isGAPlusOffset(), IsS11_0_Offset(), IsS11_1_Offset(), IsS11_2_Offset(), IsS11_3_Offset(), IsU6_0_Offset(), IsU6_1_Offset(), IsU6_2_Offset(), llvm::ARMTargetLowering::LowerAsmOperandForConstraint(), llvm::X86TargetLowering::LowerAsmOperandForConstraint(), PerformMULCombine(), performORCombine(), PerformOrCombine(), and shouldSwapCmpOperands().
|
inline |
Definition at line 1257 of file SelectionDAGNodes.h.
Referenced by AddCombineToVPADDL(), adjustForTestUnderMask(), adjustSubwordCmp(), checkBoolTestSetCCCombine(), llvm::HexagonSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemset(), FoldOperand(), getGatherNode(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), getMGatherNode(), getMScatterNode(), llvm::SelectionDAG::getNode(), getScatterNode(), llvm::X86TargetLowering::getSingleConstraintMatchWeight(), isBLACompatibleAddress(), isBSwapHWordElement(), isScaledConstantInRange(), isSimpleShift(), llvm::AArch64TargetLowering::LowerAsmOperandForConstraint(), llvm::PPCTargetLowering::LowerAsmOperandForConstraint(), llvm::X86TargetLowering::LowerAsmOperandForConstraint(), llvm::TargetLowering::LowerAsmOperandForConstraint(), LowerATOMIC_FENCE(), LowerScalarImmediateShift(), LowerScalarVariableShift(), LowerVectorIntExtend(), performANDCombine(), PerformAndCombine(), PerformBFICombine(), PerformMulCombine(), performORCombine(), PerformORCombine(), PerformOrCombine(), performSELECTCombine(), performSRACombine(), PerformZExtCombine(), shouldSwapCmpOperands(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 1262 of file SelectionDAGNodes.h.
Referenced by isAllOnes(), isZeroOrAllOnes(), and llvm::SITargetLowering::PerformDAGCombine().
|
inline |
Definition at line 1261 of file SelectionDAGNodes.h.
Referenced by llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), isZero(), isZeroOrAllOnes(), and llvm::SITargetLowering::PerformDAGCombine().
|
inline |
Definition at line 1260 of file SelectionDAGNodes.h.
Referenced by LowerXALUO().
|
friend |
Definition at line 1248 of file SelectionDAGNodes.h.