LLVM 17.0.0git
|
Represents one node in the SelectionDAG. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
Classes | |
class | ConstantSDNodeBitfields |
class | LoadSDNodeBitfields |
class | LSBaseSDNodeBitfields |
class | MemSDNodeBitfields |
class | SDNodeBitfields |
class | StoreSDNodeBitfields |
class | use_iterator |
This class provides iterator support for SDUse operands that use a specific SDNode. More... | |
struct | value_op_iterator |
Iterator for directly iterating over the operand SDValue's. More... | |
Public Types | |
using | op_iterator = SDUse * |
using | value_iterator = const EVT * |
Public Member Functions | |
unsigned | getOpcode () const |
Return the SelectionDAG opcode value for this node. | |
bool | isTargetOpcode () const |
Test if this node has a target-specific opcode (in the <target>ISD namespace). | |
bool | isTargetStrictFPOpcode () const |
Test if this node has a target-specific opcode that may raise FP exceptions (in the <target>ISD namespace and greater than FIRST_TARGET_STRICTFP_OPCODE). | |
bool | isTargetMemoryOpcode () const |
Test if this node has a target-specific memory-referencing opcode (in the <target>ISD namespace and greater than FIRST_TARGET_MEMORY_OPCODE). | |
bool | isUndef () const |
Return true if the type of the node type undefined. | |
bool | isMemIntrinsic () const |
Test if this node is a memory intrinsic (with valid pointer information). | |
bool | isStrictFPOpcode () |
Test if this node is a strict floating point pseudo-op. | |
bool | isVPOpcode () const |
Test if this node is a vector predication operation. | |
bool | isMachineOpcode () const |
Test if this node has a post-isel opcode, directly corresponding to a MachineInstr opcode. | |
unsigned | getMachineOpcode () const |
This may only be called if isMachineOpcode returns true. | |
bool | getHasDebugValue () const |
void | setHasDebugValue (bool b) |
bool | isDivergent () const |
bool | use_empty () const |
Return true if there are no uses of this node. | |
bool | hasOneUse () const |
Return true if there is exactly one use of this node. | |
size_t | use_size () const |
Return the number of uses of this node. | |
int | getNodeId () const |
Return the unique node id. | |
void | setNodeId (int Id) |
Set unique node id. | |
unsigned | getIROrder () const |
Return the node ordering. | |
void | setIROrder (unsigned Order) |
Set the node ordering. | |
const DebugLoc & | getDebugLoc () const |
Return the source location info. | |
void | setDebugLoc (DebugLoc dl) |
Set source location info. | |
use_iterator | use_begin () const |
Provide iteration support to walk over all uses of an SDNode. | |
iterator_range< use_iterator > | uses () |
iterator_range< use_iterator > | uses () const |
bool | hasNUsesOfValue (unsigned NUses, unsigned Value) const |
Return true if there are exactly NUSES uses of the indicated value. | |
bool | hasAnyUseOfValue (unsigned Value) const |
Return true if there are any use of the indicated value. | |
bool | isOnlyUserOf (const SDNode *N) const |
Return true if this node is the only use of N. | |
bool | isOperandOf (const SDNode *N) const |
Return true if this node is an operand of N. | |
bool | isPredecessorOf (const SDNode *N) const |
Return true if this node is a predecessor of N. | |
bool | hasPredecessor (const SDNode *N) const |
Return true if N is a predecessor of this node. | |
unsigned | getNumOperands () const |
Return the number of values used by this operation. | |
uint64_t | getConstantOperandVal (unsigned Num) const |
Helper method returns the integer value of a ConstantSDNode operand. | |
const APInt & | getConstantOperandAPInt (unsigned Num) const |
Helper method returns the APInt of a ConstantSDNode operand. | |
const SDValue & | getOperand (unsigned Num) const |
op_iterator | op_begin () const |
op_iterator | op_end () const |
ArrayRef< SDUse > | ops () const |
iterator_range< value_op_iterator > | op_values () const |
SDVTList | getVTList () const |
SDNode * | getGluedNode () const |
If this node has a glue operand, return the node to which the glue operand points. | |
SDNode * | getGluedUser () const |
If this node has a glue value with a user, return the user (there is at most one). | |
SDNodeFlags | getFlags () const |
void | setFlags (SDNodeFlags NewFlags) |
void | intersectFlagsWith (const SDNodeFlags Flags) |
Clear any flags in this node that aren't also set in Flags. | |
void | setCFIType (uint32_t Type) |
uint32_t | getCFIType () const |
unsigned | getNumValues () const |
Return the number of values defined/returned by this operator. | |
EVT | getValueType (unsigned ResNo) const |
Return the type of a specified result. | |
MVT | getSimpleValueType (unsigned ResNo) const |
Return the type of a specified result as a simple type. | |
TypeSize | getValueSizeInBits (unsigned ResNo) const |
Returns MVT::getSizeInBits(getValueType(ResNo)). | |
value_iterator | value_begin () const |
value_iterator | value_end () const |
iterator_range< value_iterator > | values () const |
std::string | getOperationName (const SelectionDAG *G=nullptr) const |
Return the opcode of this operation for printing. | |
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=nullptr) const |
void | printr (raw_ostream &OS, const SelectionDAG *G=nullptr) const |
void | printrFull (raw_ostream &O, const SelectionDAG *G=nullptr) const |
Print a SelectionDAG node and all children down to the leaves. | |
void | printrWithDepth (raw_ostream &O, const SelectionDAG *G=nullptr, unsigned depth=100) const |
Print a SelectionDAG node and children up to depth "depth." The given SelectionDAG allows target-specific nodes to be printed in human-readable form. | |
void | dump () const |
Dump this node, for debugging. | |
void | dumpr () const |
Dump (recursively) this node and its use-def subgraph. | |
void | dump (const SelectionDAG *G) const |
Dump this node, for debugging. | |
void | dumpr (const SelectionDAG *G) const |
Dump (recursively) this node and its use-def subgraph. | |
void | dumprFull (const SelectionDAG *G=nullptr) const |
printrFull to dbgs(). | |
void | dumprWithDepth (const SelectionDAG *G=nullptr, unsigned depth=100) const |
printrWithDepth to dbgs(). | |
void | Profile (FoldingSetNodeID &ID) const |
Gather unique data for the node. | |
void | addUse (SDUse &U) |
This method should only be used by the SDUse class. | |
![]() | |
Node ()=default | |
void * | getNextInBucket () const |
void | SetNextInBucket (void *N) |
![]() | |
self_iterator | getIterator () |
const_self_iterator | getIterator () const |
reverse_self_iterator | getReverseIterator () |
const_reverse_self_iterator | getReverseIterator () const |
bool | isSentinel () const |
Check whether this is the sentinel node. | |
Static Public Member Functions | |
static use_iterator | use_end () |
static bool | hasPredecessorHelper (const SDNode *N, SmallPtrSetImpl< const SDNode * > &Visited, SmallVectorImpl< const SDNode * > &Worklist, unsigned int MaxSteps=0, bool TopologicalPrune=false) |
Returns true if N is a predecessor of any node in Worklist. | |
static bool | areOnlyUsersOf (ArrayRef< const SDNode * > Nodes, const SDNode *N) |
Return true if all the users of N are contained in Nodes. | |
static constexpr size_t | getMaxNumOperands () |
Return the maximum number of operands that a SDNode can hold. | |
static const char * | getIndexedModeName (ISD::MemIndexedMode AM) |
Public Attributes | |
uint16_t | PersistentId = 0xffff |
Unique and persistent id per SDNode in the DAG. | |
Protected Types | |
enum | { NumSDNodeBits = 3 } |
enum | { NumMemSDNodeBits = NumSDNodeBits + 4 } |
enum | { NumLSBaseSDNodeBits = NumMemSDNodeBits + 3 } |
![]() | |
using | self_iterator = ilist_iterator< OptionsT, false, false > |
using | const_self_iterator = ilist_iterator< OptionsT, false, true > |
using | reverse_self_iterator = ilist_iterator< OptionsT, true, false > |
using | const_reverse_self_iterator = ilist_iterator< OptionsT, true, true > |
Protected Member Functions | |
SDNode (unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs) | |
Create an SDNode. | |
void | DropOperands () |
Release the operands and set this node to have zero operands. | |
![]() | |
ilist_node_impl ()=default | |
Static Protected Member Functions | |
static SDVTList | getSDVTList (EVT VT) |
Friends | |
class | SelectionDAG |
class | HandleSDNode |
Represents one node in the SelectionDAG.
Definition at line 463 of file SelectionDAGNodes.h.
using llvm::SDNode::op_iterator = SDUse * |
Definition at line 926 of file SelectionDAGNodes.h.
using llvm::SDNode::value_iterator = const EVT * |
Definition at line 1005 of file SelectionDAGNodes.h.
|
protected |
Enumerator | |
---|---|
NumSDNodeBits |
Definition at line 501 of file SelectionDAGNodes.h.
|
protected |
Enumerator | |
---|---|
NumMemSDNodeBits |
Definition at line 523 of file SelectionDAGNodes.h.
|
protected |
Enumerator | |
---|---|
NumLSBaseSDNodeBits |
Definition at line 543 of file SelectionDAGNodes.h.
Create an SDNode.
SDNodes are created without any operands, and never own the operand storage. To add operands, see SelectionDAG::createOperands.
Definition at line 1084 of file SelectionDAGNodes.h.
References assert(), llvm::DebugLoc::hasTrivialDestructor(), llvm::SDVTList::NumVTs, and RawSDNodeBits.
|
inline |
This method should only be used by the SDUse class.
Definition at line 1072 of file SelectionDAGNodes.h.
Return true if all the users of N are contained in Nodes.
Return true if the only users of N are contained in Nodes.
NOTE: Requires at least one match, but doesn't require them all.
Definition at line 11358 of file SelectionDAG.cpp.
References llvm::is_contained(), and N.
Referenced by combineX86ShufflesRecursively().
|
protected |
Release the operands and set this node to have zero operands.
DropOperands - Release the operands and set this node to have zero operands.
Definition at line 9816 of file SelectionDAG.cpp.
References E, I, op_begin(), op_end(), and llvm::Use::set().
Referenced by llvm::HandleSDNode::~HandleSDNode().
LLVM_DUMP_METHOD void SDNode::dump | ( | ) | const |
Dump this node, for debugging.
Definition at line 556 of file SelectionDAGDumper.cpp.
References dump().
Referenced by dump(), llvm::ScheduleDAGSDNodes::dumpNode(), and tryLowerToSLI().
LLVM_DUMP_METHOD void SDNode::dump | ( | const SelectionDAG * | G | ) | const |
Dump this node, for debugging.
The given SelectionDAG allows target-specific nodes to be printed in human-readable form.
Definition at line 558 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), G, and print().
LLVM_DUMP_METHOD void SDNode::dumpr | ( | ) | const |
Dump (recursively) this node and its use-def subgraph.
Definition at line 1021 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), and DumpNodesr().
LLVM_DUMP_METHOD void SDNode::dumpr | ( | const SelectionDAG * | G | ) | const |
Dump (recursively) this node and its use-def subgraph.
The given SelectionDAG allows target-specific nodes to be printed in human-readable form.
Definition at line 1026 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), DumpNodesr(), and G.
LLVM_DUMP_METHOD void SDNode::dumprFull | ( | const SelectionDAG * | G = nullptr | ) | const |
printrFull to dbgs().
The given SelectionDAG allows target-specific nodes to be printed in human-readable form. Unlike dumpr, this will print the whole DAG, including children that appear multiple times.
Definition at line 1067 of file SelectionDAGDumper.cpp.
References dumprWithDepth(), and G.
Referenced by llvm::SelectionDAG::AssignTopologicalOrder().
LLVM_DUMP_METHOD void SDNode::dumprWithDepth | ( | const SelectionDAG * | G = nullptr , |
unsigned | depth = 100 |
||
) | const |
printrWithDepth to dbgs().
The given SelectionDAG allows target-specific nodes to be printed in human-readable form. Unlike dumpr, this will print children that appear multiple times wherever they are used.
Definition at line 1063 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), G, and printrWithDepth().
Referenced by dumprFull().
|
inline |
Definition at line 980 of file SelectionDAGNodes.h.
Helper method returns the APInt of a ConstantSDNode operand.
Definition at line 1631 of file SelectionDAGNodes.h.
References getOperand().
Referenced by llvm::SelectionDAG::getNode(), and llvm::BuildVectorSDNode::isConstantSequence().
Helper method returns the integer value of a ConstantSDNode operand.
Definition at line 1627 of file SelectionDAGNodes.h.
References getOperand().
Referenced by checkBoolTestAndOrSetCCCombine(), foldCSELOfCSEL(), narrowExtractedVectorLoad(), performBuildVectorCombine(), performConcatVectorsCombine(), performSetCCPunpkCombine(), PerformVMOVNCombine(), and replaceZeroVectorStore().
Return the source location info.
Definition at line 737 of file SelectionDAGNodes.h.
Referenced by print().
|
inline |
Definition at line 972 of file SelectionDAGNodes.h.
References Flags.
Referenced by combineEXTEND_VECTOR_INREG(), combineFaddCFmul(), combineShiftToAVG(), lowerVECTOR_SHUFFLE(), narrowExtractedVectorBinOp(), narrowInsertExtractVectorBinOp(), llvm::AMDGPUTargetLowering::performFNegCombine(), print_details(), llvm::X86TargetLowering::ReplaceNodeResults(), and llvm::TargetLowering::SimplifySetCC().
|
inline |
If this node has a glue operand, return the node to which the glue operand points.
Otherwise return NULL.
Definition at line 956 of file SelectionDAGNodes.h.
References llvm::SDValue::getNode(), getNumOperands(), getOperand(), and getValueType().
Referenced by canClobberPhysRegDefs(), llvm::ScheduleDAGSDNodes::dumpNode(), llvm::ScheduleDAGSDNodes::EmitSchedule(), isOperandOf(), llvm::ResourcePriorityQueue::isResourceAvailable(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), and llvm::ResourcePriorityQueue::reserveResources().
|
inline |
If this node has a glue value with a user, return the user (there is at most one).
Otherwise return NULL.
Definition at line 965 of file SelectionDAGNodes.h.
References use_begin(), and use_end().
|
inline |
Definition at line 709 of file SelectionDAGNodes.h.
References SDNodeBits.
Referenced by print_details(), and llvm::SelectionDAG::transferDbgValues().
|
static |
Definition at line 509 of file SelectionDAGDumper.cpp.
References llvm::ISD::POST_DEC, llvm::ISD::POST_INC, llvm::ISD::PRE_DEC, and llvm::ISD::PRE_INC.
Referenced by print_details().
|
inline |
Return the node ordering.
Definition at line 731 of file SelectionDAGNodes.h.
Referenced by PerformADDCombineWithOperands(), print_details(), llvm::SelectionDAGBuilder::resolveDanglingDebugInfo(), and llvm::SelectionDAG::transferDbgValues().
|
inline |
This may only be called if isMachineOpcode returns true.
It returns the MachineInstr opcode value that the node's opcode corresponds to.
Definition at line 704 of file SelectionDAGNodes.h.
References assert(), and isMachineOpcode().
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr(), llvm::ARMBaseInstrInfo::areLoadsFromSameBasePtr(), llvm::X86InstrInfo::areLoadsFromSameBasePtr(), canClobberReachingPhysRegUse(), llvm::SITargetLowering::checkForPhysRegDependency(), llvm::TargetInstrInfo::getOperandLatency(), llvm::ARMBaseInstrInfo::getOperandLatency(), getOperationName(), getUsefulBitsForUse(), llvm::ResourcePriorityQueue::isResourceAvailable(), nodesHaveSameOperandValue(), PerformANDCombine(), llvm::ResourcePriorityQueue::reserveResources(), llvm::ARMBaseInstrInfo::shouldScheduleLoadsNear(), llvm::X86InstrInfo::shouldScheduleLoadsNear(), and llvm::HexagonDAGToDAGISel::StoreInstrForLoadIntrinsic().
|
inlinestaticconstexpr |
Return the maximum number of operands that a SDNode can hold.
Definition at line 911 of file SelectionDAGNodes.h.
References llvm::max().
Referenced by llvm::SelectionDAG::getTokenFactor().
|
inline |
Return the unique node id.
Definition at line 725 of file SelectionDAGNodes.h.
Referenced by insertDAGNode(), and print_details().
|
inline |
Return the number of values used by this operation.
Definition at line 908 of file SelectionDAGNodes.h.
Referenced by AddCombineBUILD_VECTORToVPADDL(), AddCombineTo64bitMLAL(), combineConcatVectorOfConcatVectors(), createMMXBuildVector(), llvm::BuildVectorSDNode::getConstantRawBits(), getGluedNode(), llvm::BuildVectorSDNode::getRepeatedSequence(), llvm::BuildVectorSDNode::getSplatValue(), llvm::BuildVectorSDNode::isConstantSequence(), llvm::BuildVectorSDNode::isConstantSplat(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), performANDCombine(), PerformANDCombine(), performSRACombine(), print(), llvm::ResourcePriorityQueue::rawRegPressureDelta(), reduceBuildVecToShuffleWithZero(), replaceInChain(), llvm::ResourcePriorityQueue::scheduledNode(), llvm::SelectionDAGISel::SelectCodeCommon(), and llvm::HexagonDAGToDAGISel::SelectNewCircIntrinsic().
|
inline |
Return the number of values defined/returned by this operator.
Definition at line 983 of file SelectionDAGNodes.h.
Referenced by AddCombineTo64bitMLAL(), BURRSort(), getCmp(), getFPBinOp(), getFPTernOp(), getOutputChainFromCallSeq(), llvm::SelectionDAGBuilder::getValueImpl(), hasAnyUseOfValue(), hasNUsesOfValue(), llvm::SelectionDAGISel::IsLegalToFold(), isMemOPCandidate(), llvm::SITargetLowering::legalizeTargetIndependentNode(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), LowerLoad(), llvm::TargetLowering::LowerOperationWrapper(), narrowExtractedVectorBinOp(), narrowInsertExtractVectorBinOp(), llvm::DAGTypeLegalizer::NoteDeletion(), print_types(), llvm::ResourcePriorityQueue::rawRegPressureDelta(), llvm::AVRTargetLowering::ReplaceNodeResults(), scalarizeExtractedBinop(), llvm::ResourcePriorityQueue::scheduledNode(), and llvm::SelectionDAGISel::SelectCodeCommon().
|
inline |
Return the SelectionDAG opcode value for this node.
For pre-isel nodes (those for which isMachineOpcode returns false), these are the opcode values in the ISD and <target>ISD namespaces. For post-isel opcodes, see getMachineOpcode.
Definition at line 644 of file SelectionDAGNodes.h.
Referenced by AddCombineBUILD_VECTORToVPADDL(), AddCombineTo64bitMLAL(), AddCombineTo64bitUMAAL(), canEmitConjunction(), canEnableCoalescing(), CheckForMaskedLoad(), closestSucc(), CombineANDShift(), combineArithReduction(), combineBitOpWithShift(), combineShiftOfShiftedLogic(), combineToExtendCMOV(), CombineVLDDUP(), combineX86ShuffleChain(), emitConjunctionRec(), findConsecutiveLoad(), foldAndOrOfSETCC(), foldMaskedMerge(), llvm::SelectionDAG::FoldSymbolOffset(), llvm::MemSDNode::getBasePtr(), llvm::VPBaseLoadStoreSDNode::getBasePtr(), llvm::VPGatherScatterSDNode::getBasePtr(), getConstantLaneNumOfExtractHalfOperand(), llvm::VPGatherScatterSDNode::getIndex(), llvm::VPBaseLoadStoreSDNode::getMask(), llvm::MaskedLoadStoreSDNode::getMask(), llvm::VPGatherScatterSDNode::getMask(), getMemVTFromNode(), llvm::SelectionDAG::getNode(), getNormalLoadInput(), llvm::LSBaseSDNode::getOffset(), llvm::VPBaseLoadStoreSDNode::getOffset(), llvm::MaskedLoadStoreSDNode::getOffset(), getOperationName(), llvm::VPGatherScatterSDNode::getScale(), llvm::VPBaseLoadStoreSDNode::getVectorLength(), llvm::VPGatherScatterSDNode::getVectorLength(), hasOnlyLiveInOpers(), hasOnlyLiveOutUses(), hasVRegCycleUse(), isAddSubOrSubAdd(), isBitfieldExtractOpFromAnd(), llvm::AtomicSDNode::isCompareAndSwap(), llvm::ARMTargetLowering::isDesirableToCommuteWithShift(), isExtendedBUILD_VECTOR(), isFloatingPointZero(), llvm::isLegalAVL(), isMemOPCandidate(), isVPOpcode(), llvm::HexagonDAGToDAGISel::LoadInstrForLoadIntrinsic(), llvm::VETargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_64(), lowerCallFromStatepointLoweringInfo(), LowerMUL(), LowerVECTOR_SHUFFLE(), llvm::SelectionDAG::matchBinOpReduction(), matchSetCC(), PerformADDVecReduce(), performANDCombine(), PerformANDCombine(), PerformARMBUILD_VECTORCombine(), performBuildVectorCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), performConcatVectorsCombine(), performCONDCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), PerformExtractEltCombine(), PerformExtractEltToVMOVRRD(), PerformExtractFpToIntStores(), performExtractVectorEltCombine(), performMADD_MSUBCombine(), performMemPairCombine(), PerformMinMaxCombine(), performMulCombine(), performORCombine(), performSetCCPunpkCombine(), PerformSplittingMVETruncToNarrowingStores(), PerformSplittingToNarrowingStores(), performSRACombine(), PerformSTORECombine(), PerformSUBCombine(), PerformUMLALCombine(), PerformVCMPCombine(), PerformVECREDUCE_ADDCombine(), PerformVMOVhrCombine(), PerformVMOVNCombine(), PerformVMOVrhCombine(), performXORCombine(), PerformXORCombine(), reduceBuildVecToShuffleWithZero(), replaceInChain(), resetVRegCycle(), scalarizeExtEltFP(), llvm::HexagonDAGToDAGISel::SelectBrevLdIntrinsic(), llvm::SelectionDAGISel::SelectCodeCommon(), llvm::HexagonDAGToDAGISel::SelectNewCircIntrinsic(), shouldCombineToPostInc(), simplifyMul24(), llvm::TargetLowering::SimplifySetCC(), SkipExtensionForVMULL(), stripModuloOnShift(), transformAddImmMulImm(), transformAddShlImm(), tryMemPairCombine(), tryToConvertShuffleOfTbl2ToTbl4(), tryToFoldExtendOfConstant(), tryToFoldExtendSelectLoad(), tryToWidenSetCCOperands(), widenAbs(), and widenCtPop().
Definition at line 921 of file SelectionDAGNodes.h.
References assert().
Referenced by AddCombineBUILD_VECTORToVPADDL(), AddCombineTo64bitMLAL(), AddCombineTo64BitSMLAL16(), AddCombineTo64bitUMAAL(), AddCombineToVPADD(), llvm::SIInstrInfo::areLoadsFromSameBasePtr(), llvm::ARMBaseInstrInfo::areLoadsFromSameBasePtr(), llvm::X86InstrInfo::areLoadsFromSameBasePtr(), CanCombineFCOPYSIGN_EXTEND_ROUND(), canEmitConjunction(), checkBoolTestAndOrSetCCCombine(), CombineANDShift(), combineAndShuffleNot(), combineArithReduction(), combineBasicSADPattern(), combineCCMask(), combineCompareEqual(), combineConcatVectorOfShuffleAndItsOperands(), combineFaddCFmul(), combineMaskedLoadConstantMask(), combineSext(), combineShiftOfShiftedLogic(), combineShuffleOfBitcast(), combineShuffleOfScalars(), combineShuffleOfSplatVal(), combineShuffleToAnyExtendVectorInreg(), combineShuffleToZeroExtendVectorInReg(), combineStore(), combineToExtendCMOV(), combineTruncationShuffle(), combineVectorCompareAndMaskUnaryOp(), CombineVLDDUP(), CombineVMOVDRRCandidateWithVecOp(), combineVPDPBUSDPattern(), combineX86ShuffleChain(), combineZext(), createMMXBuildVector(), detectZextAbsDiff(), emitConjunctionRec(), llvm::PPCTargetLowering::expandVSXLoadForLE(), llvm::PPCTargetLowering::expandVSXStoreForLE(), foldAddSubBoolOfMaskedVal(), foldAddSubMasked1(), foldAndOrOfSETCC(), foldCSELOfCSEL(), foldMaskedMerge(), foldMaskedMergeImpl(), foldOverflowCheck(), foldShuffleOfConcatUndefs(), formSplatFromShuffles(), llvm::getAnnotatedNodeAVL(), llvm::MemSDNode::getBasePtr(), llvm::AtomicSDNode::getBasePtr(), llvm::LoadSDNode::getBasePtr(), llvm::StoreSDNode::getBasePtr(), llvm::VPBaseLoadStoreSDNode::getBasePtr(), llvm::VPLoadSDNode::getBasePtr(), llvm::VPStridedLoadSDNode::getBasePtr(), llvm::VPStoreSDNode::getBasePtr(), llvm::VPStridedStoreSDNode::getBasePtr(), llvm::MaskedLoadSDNode::getBasePtr(), llvm::MaskedStoreSDNode::getBasePtr(), llvm::VPGatherScatterSDNode::getBasePtr(), llvm::MaskedGatherScatterSDNode::getBasePtr(), llvm::X86MaskedGatherScatterSDNode::getBasePtr(), llvm::MemSDNode::getChain(), llvm::SelectionDAG::getCommutedVectorShuffle(), getConstantLaneNumOfExtractHalfOperand(), getConstantOperandAPInt(), getConstantOperandVal(), llvm::BuildVectorSDNode::getConstantRawBits(), llvm::LifetimeSDNode::getFrameIndex(), getGluedNode(), getHopForBuildVector(), llvm::VPGatherScatterSDNode::getIndex(), llvm::MaskedGatherScatterSDNode::getIndex(), llvm::X86MaskedGatherScatterSDNode::getIndex(), getKnownUndefForVectorBinop(), llvm::VPBaseLoadStoreSDNode::getMask(), llvm::VPLoadSDNode::getMask(), llvm::VPStridedLoadSDNode::getMask(), llvm::VPStoreSDNode::getMask(), llvm::VPStridedStoreSDNode::getMask(), llvm::MaskedLoadStoreSDNode::getMask(), llvm::MaskedLoadSDNode::getMask(), llvm::MaskedStoreSDNode::getMask(), llvm::VPGatherScatterSDNode::getMask(), llvm::MaskedGatherScatterSDNode::getMask(), llvm::X86MaskedGatherScatterSDNode::getMask(), getMemVTFromNode(), getNormalLoadInput(), llvm::LSBaseSDNode::getOffset(), llvm::LoadSDNode::getOffset(), llvm::StoreSDNode::getOffset(), llvm::VPBaseLoadStoreSDNode::getOffset(), llvm::VPLoadSDNode::getOffset(), llvm::VPStridedLoadSDNode::getOffset(), llvm::VPStoreSDNode::getOffset(), llvm::VPStridedStoreSDNode::getOffset(), llvm::MaskedLoadStoreSDNode::getOffset(), llvm::MaskedLoadSDNode::getOffset(), llvm::MaskedStoreSDNode::getOffset(), getOneTrueElt(), llvm::ARMBaseInstrInfo::getOperandLatency(), getOperationName(), llvm::MaskedLoadSDNode::getPassThru(), llvm::MaskedGatherSDNode::getPassThru(), llvm::X86MaskedGatherSDNode::getPassThru(), llvm::BuildVectorSDNode::getRepeatedSequence(), llvm::VPGatherScatterSDNode::getScale(), llvm::MaskedGatherScatterSDNode::getScale(), llvm::X86MaskedGatherScatterSDNode::getScale(), llvm::BuildVectorSDNode::getSplatValue(), llvm::VPStridedLoadSDNode::getStride(), llvm::VPStridedStoreSDNode::getStride(), getUnderlyingExtractedFromVec(), getUsefulBitsForUse(), llvm::AtomicSDNode::getVal(), llvm::StoreSDNode::getValue(), llvm::VPStoreSDNode::getValue(), llvm::VPStridedStoreSDNode::getValue(), llvm::MaskedStoreSDNode::getValue(), llvm::VPScatterSDNode::getValue(), llvm::MaskedScatterSDNode::getValue(), llvm::X86MaskedScatterSDNode::getValue(), llvm::VPBaseLoadStoreSDNode::getVectorLength(), llvm::VPLoadSDNode::getVectorLength(), llvm::VPStridedLoadSDNode::getVectorLength(), llvm::VPStoreSDNode::getVectorLength(), llvm::VPStridedStoreSDNode::getVectorLength(), llvm::VPGatherScatterSDNode::getVectorLength(), llvm::SelectionDAG::getVectorShuffle(), hasOnlyLiveInOpers(), hasOnlyLiveOutUses(), incDecVectorConstant(), isAddSubOrSubAdd(), isAllConstantBuildVector(), isBitfieldExtractOpFromAnd(), llvm::BuildVectorSDNode::isConstantSequence(), llvm::BuildVectorSDNode::isConstantSplat(), llvm::X86TargetLowering::isDesirableToCombineLogicOpOfSETCC(), llvm::ARMTargetLowering::isDesirableToCommuteWithShift(), llvm::RISCVTargetLowering::isDesirableToCommuteWithShift(), isExtendedBUILD_VECTOR(), isFloatingPointZero(), isFusableLoadOpStorePattern(), isHopBuildVector(), llvm::SelectionDAG::isKnownToBeAPowerOfTwo(), llvm::HexagonDAGToDAGISel::LoadInstrForLoadIntrinsic(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), LowerBuildVectorv4x32(), llvm::NVPTXTargetLowering::LowerCall(), lowerCallFromStatepointLoweringInfo(), LowerMLOAD(), LowerMUL(), LowerShift(), lowerShuffleAsBroadcast(), LowerToHorizontalOp(), LowerVECTOR_SHUFFLE(), llvm::SelectionDAG::matchBinOpReduction(), matchPMADDWD(), MergeInputChains(), narrowExtractedVectorBinOp(), narrowExtractedVectorLoad(), narrowInsertExtractVectorBinOp(), narrowShuffle(), nodesHaveSameOperandValue(), PerformADDVecReduce(), performANDCombine(), PerformANDCombine(), PerformARMBUILD_VECTORCombine(), performBuildShuffleExtendCombine(), performBuildVectorCombine(), llvm::ARMTargetLowering::PerformCMOVToBFICombine(), performConcatVectorsCombine(), performCONDCombine(), PerformExtractEltCombine(), performExtractVectorEltCombine(), llvm::AMDGPUTargetLowering::performFNegCombine(), PerformHWLoopCombine(), performLDNT1Combine(), performMADD_MSUBCombine(), performMemPairCombine(), PerformMinMaxCombine(), performMulCombine(), llvm::ARMTargetLowering::PerformMVEExtCombine(), performORCombine(), PerformORCombine(), PerformORCombineToSMULWBT(), PerformSELECTCombine(), performSetccAddFolding(), performSetCCPunpkCombine(), PerformShiftCombine(), performSignExtendSetCCCombine(), PerformSplittingMVETruncToNarrowingStores(), PerformSplittingToNarrowingStores(), performSRACombine(), performSRLCombine(), performSTNT1Combine(), PerformSTORECombine(), PerformSUBCombine(), performSubsToAndsCombine(), performSVEAndCombine(), performSVEMulAddSubCombine(), PerformUMLALCombine(), performUzpCombine(), PerformVECREDUCE_ADDCombine(), performVecReduceAddCombineWithUADDLP(), PerformVMOVhrCombine(), PerformVMOVNCombine(), PerformVMOVrhCombine(), PerformVMOVRRDCombine(), PerformVMULCombine(), performXORCombine(), PerformXORCombine(), print(), llvm::ResourcePriorityQueue::rawRegPressureDelta(), ReconstructShuffleWithRuntimeMask(), reduceBuildVecToShuffleWithZero(), replaceInChain(), replaceShuffleOfInsert(), scalarizeExtEltFP(), scalarizeExtractedBinop(), llvm::ResourcePriorityQueue::scheduledNode(), llvm::RISCVDAGToDAGISel::Select(), llvm::HexagonDAGToDAGISel::SelectBrevLdIntrinsic(), llvm::SelectionDAGISel::SelectCodeCommon(), llvm::HexagonDAGToDAGISel::SelectNewCircIntrinsic(), selectUmullSmull(), simplifyMul24(), llvm::TargetLowering::SimplifySetCC(), simplifyShuffleOfShuffle(), SkipExtensionForVMULL(), llvm::HexagonDAGToDAGISel::StoreInstrForLoadIntrinsic(), stripModuloOnShift(), transformAddImmMulImm(), transformAddShlImm(), tryBitfieldInsertOpFromOr(), tryBuildVectorShuffle(), tryCombineToBSL(), tryMemPairCombine(), llvm::RISCVDAGToDAGISel::trySignedBitfieldExtract(), tryToConvertShuffleOfTbl2ToTbl4(), tryToFoldExtendOfConstant(), tryToFoldExtendSelectLoad(), usesAllOnesMask(), widenAbs(), and widenCtPop().
std::string SDNode::getOperationName | ( | const SelectionDAG * | G = nullptr | ) | const |
Return the opcode of this operation for printing.
Definition at line 58 of file SelectionDAGDumper.cpp.
References llvm::ISD::ABDS, llvm::ISD::ABDU, llvm::ISD::ABS, llvm::ISD::ADD, llvm::ISD::ADDC, llvm::ISD::ADDE, llvm::ISD::ADDROFRETURNADDR, llvm::ISD::ADDRSPACECAST, llvm::ISD::ADJUST_TRAMPOLINE, llvm::ISD::AND, llvm::ISD::ANNOTATION_LABEL, llvm::ISD::ANY_EXTEND, llvm::ISD::ANY_EXTEND_VECTOR_INREG, llvm::ISD::AssertAlign, llvm::ISD::AssertSext, llvm::ISD::AssertZext, llvm::ISD::ATOMIC_CMP_SWAP, llvm::ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS, llvm::ISD::ATOMIC_FENCE, llvm::ISD::ATOMIC_LOAD, llvm::ISD::ATOMIC_LOAD_ADD, llvm::ISD::ATOMIC_LOAD_AND, llvm::ISD::ATOMIC_LOAD_CLR, llvm::ISD::ATOMIC_LOAD_FADD, llvm::ISD::ATOMIC_LOAD_MAX, llvm::ISD::ATOMIC_LOAD_MIN, llvm::ISD::ATOMIC_LOAD_NAND, llvm::ISD::ATOMIC_LOAD_OR, llvm::ISD::ATOMIC_LOAD_SUB, llvm::ISD::ATOMIC_LOAD_UDEC_WRAP, llvm::ISD::ATOMIC_LOAD_UINC_WRAP, llvm::ISD::ATOMIC_LOAD_UMAX, llvm::ISD::ATOMIC_LOAD_UMIN, llvm::ISD::ATOMIC_LOAD_XOR, llvm::ISD::ATOMIC_STORE, llvm::ISD::ATOMIC_SWAP, llvm::ISD::AVGCEILS, llvm::ISD::AVGCEILU, llvm::ISD::AVGFLOORS, llvm::ISD::AVGFLOORU, llvm::ISD::BasicBlock, llvm::ISD::BF16_TO_FP, llvm::ISD::BITCAST, llvm::ISD::BITREVERSE, llvm::ISD::BlockAddress, llvm::ISD::BR, llvm::ISD::BR_CC, llvm::ISD::BR_JT, llvm::ISD::BRCOND, llvm::ISD::BRIND, llvm::ISD::BSWAP, llvm::ISD::BUILD_PAIR, llvm::ISD::BUILD_VECTOR, llvm::ISD::BUILTIN_OP_END, llvm::ISD::CALLSEQ_END, llvm::ISD::CALLSEQ_START, llvm::ISD::CARRY_FALSE, llvm::ISD::CATCHRET, llvm::ISD::CLEANUPRET, llvm::ISD::CONCAT_VECTORS, llvm::ISD::CONDCODE, llvm::ISD::Constant, llvm::ISD::ConstantFP, llvm::ISD::ConstantPool, llvm::ISD::CopyFromReg, llvm::ISD::CopyToReg, llvm::ISD::CTLZ, llvm::ISD::CTLZ_ZERO_UNDEF, llvm::ISD::CTPOP, llvm::ISD::CTTZ, llvm::ISD::CTTZ_ZERO_UNDEF, llvm::ISD::DEBUGTRAP, llvm::ISD::DELETED_NODE, llvm::ISD::DYNAMIC_STACKALLOC, llvm::ISD::EH_DWARF_CFA, llvm::ISD::EH_LABEL, llvm::ISD::EH_RETURN, llvm::ISD::EH_SJLJ_LONGJMP, llvm::ISD::EH_SJLJ_SETJMP, llvm::ISD::EH_SJLJ_SETUP_DISPATCH, llvm::ISD::EntryToken, llvm::ISD::ExternalSymbol, llvm::ISD::EXTRACT_ELEMENT, llvm::ISD::EXTRACT_SUBVECTOR, llvm::ISD::EXTRACT_VECTOR_ELT, llvm::ISD::FABS, llvm::ISD::FADD, llvm::ISD::FCANONICALIZE, llvm::ISD::FCBRT, llvm::ISD::FCEIL, llvm::ISD::FCOPYSIGN, llvm::ISD::FCOS, llvm::ISD::FDIV, llvm::ISD::FEXP, llvm::ISD::FEXP2, llvm::ISD::FFLOOR, llvm::ISD::FGETSIGN, llvm::ISD::FLOG, llvm::ISD::FLOG10, llvm::ISD::FLOG2, llvm::ISD::FMA, llvm::ISD::FMAD, llvm::ISD::FMAXIMUM, llvm::ISD::FMAXNUM, llvm::ISD::FMAXNUM_IEEE, llvm::ISD::FMINIMUM, llvm::ISD::FMINNUM, llvm::ISD::FMINNUM_IEEE, llvm::ISD::FMUL, llvm::ISD::FNEARBYINT, llvm::ISD::FNEG, llvm::ISD::FP16_TO_FP, llvm::ISD::FP_EXTEND, llvm::ISD::FP_ROUND, llvm::ISD::FP_TO_BF16, llvm::ISD::FP_TO_FP16, llvm::ISD::FP_TO_SINT, llvm::ISD::FP_TO_SINT_SAT, llvm::ISD::FP_TO_UINT, llvm::ISD::FP_TO_UINT_SAT, llvm::ISD::FPOW, llvm::ISD::FPOWI, llvm::ISD::FRAME_TO_ARGS_OFFSET, llvm::ISD::FRAMEADDR, llvm::ISD::FrameIndex, llvm::ISD::FREEZE, llvm::ISD::FREM, llvm::ISD::FRINT, llvm::ISD::FROUND, llvm::ISD::FROUNDEVEN, llvm::ISD::FSHL, llvm::ISD::FSHR, llvm::ISD::FSIN, llvm::ISD::FSINCOS, llvm::ISD::FSQRT, llvm::ISD::FSUB, llvm::ISD::FTRUNC, G, llvm::ISD::GC_TRANSITION_END, llvm::ISD::GC_TRANSITION_START, llvm::get(), llvm::ISD::GET_DYNAMIC_AREA_OFFSET, llvm::ISD::GET_ROUNDING, llvm::Intrinsic::getBaseName(), getMachineOpcode(), getOpcode(), getOperand(), llvm::TargetLowering::getTargetNodeName(), llvm::ISD::GLOBAL_OFFSET_TABLE, llvm::ISD::GlobalAddress, llvm::ISD::GlobalTLSAddress, llvm::ISD::HANDLENODE, llvm::ISD::INIT_TRAMPOLINE, llvm::ISD::INLINEASM, llvm::ISD::INLINEASM_BR, llvm::ISD::INSERT_SUBVECTOR, llvm::ISD::INSERT_VECTOR_ELT, llvm::ISD::INTRINSIC_VOID, llvm::ISD::INTRINSIC_W_CHAIN, llvm::ISD::INTRINSIC_WO_CHAIN, llvm::ISD::IS_FPCLASS, isMachineOpcode(), llvm::ISD::JumpTable, llvm::ISD::LIFETIME_END, llvm::ISD::LIFETIME_START, llvm::ISD::LLRINT, llvm::ISD::LLROUND, llvm_unreachable, llvm::ISD::LOAD, llvm::ISD::LOCAL_RECOVER, llvm::ISD::LRINT, llvm::ISD::LROUND, llvm::ISD::MCSymbol, llvm::ISD::MDNODE_SDNODE, llvm::ISD::MEMBARRIER, llvm::ISD::MERGE_VALUES, llvm::ISD::MGATHER, llvm::ISD::MLOAD, llvm::ISD::MSCATTER, llvm::ISD::MSTORE, llvm::ISD::MUL, llvm::ISD::MULHS, llvm::ISD::MULHU, Name, llvm::ISD::OR, llvm::ISD::PARITY, llvm::ISD::PATCHPOINT, llvm::ISD::PCMARKER, llvm::ISD::PREALLOCATED_ARG, llvm::ISD::PREALLOCATED_SETUP, llvm::ISD::PREFETCH, llvm::ISD::PSEUDO_PROBE, llvm::ISD::READ_REGISTER, llvm::ISD::READCYCLECOUNTER, llvm::ISD::Register, llvm::ISD::RegisterMask, llvm::ISD::RETURNADDR, llvm::ISD::ROTL, llvm::ISD::ROTR, llvm::ISD::SADDO, llvm::ISD::SADDO_CARRY, llvm::ISD::SADDSAT, llvm::ISD::SCALAR_TO_VECTOR, llvm::ISD::SDIV, llvm::ISD::SDIVFIX, llvm::ISD::SDIVFIXSAT, llvm::ISD::SDIVREM, llvm::ISD::SELECT, llvm::ISD::SELECT_CC, llvm::ISD::SET_ROUNDING, llvm::ISD::SETCC, llvm::ISD::SETCCCARRY, llvm::ISD::SETEQ, llvm::ISD::SETFALSE, llvm::ISD::SETFALSE2, llvm::ISD::SETGE, llvm::ISD::SETGT, llvm::ISD::SETLE, llvm::ISD::SETLT, llvm::ISD::SETNE, llvm::ISD::SETO, llvm::ISD::SETOEQ, llvm::ISD::SETOGE, llvm::ISD::SETOGT, llvm::ISD::SETOLE, llvm::ISD::SETOLT, llvm::ISD::SETONE, llvm::ISD::SETTRUE, llvm::ISD::SETTRUE2, llvm::ISD::SETUEQ, llvm::ISD::SETUGE, llvm::ISD::SETUGT, llvm::ISD::SETULE, llvm::ISD::SETULT, llvm::ISD::SETUNE, llvm::ISD::SETUO, llvm::ISD::SHL, llvm::ISD::SHL_PARTS, llvm::ISD::SIGN_EXTEND, llvm::ISD::SIGN_EXTEND_INREG, llvm::ISD::SIGN_EXTEND_VECTOR_INREG, llvm::ISD::SINT_TO_FP, llvm::ISD::SMAX, llvm::ISD::SMIN, llvm::ISD::SMUL_LOHI, llvm::ISD::SMULFIX, llvm::ISD::SMULFIXSAT, llvm::ISD::SMULO, llvm::ISD::SPLAT_VECTOR, llvm::ISD::SPLAT_VECTOR_PARTS, llvm::ISD::SPONENTRY, llvm::ISD::SRA, llvm::ISD::SRA_PARTS, llvm::ISD::SRCVALUE, llvm::ISD::SREM, llvm::ISD::SRL, llvm::ISD::SRL_PARTS, llvm::ISD::SSHLSAT, llvm::ISD::SSUBO, llvm::ISD::SSUBO_CARRY, llvm::ISD::SSUBSAT, llvm::ISD::STACKMAP, llvm::ISD::STACKRESTORE, llvm::ISD::STACKSAVE, llvm::ISD::STEP_VECTOR, llvm::ISD::STORE, llvm::StringRef::str(), llvm::ISD::STRICT_FADD, llvm::ISD::STRICT_FCEIL, llvm::ISD::STRICT_FCOS, llvm::ISD::STRICT_FDIV, llvm::ISD::STRICT_FEXP, llvm::ISD::STRICT_FEXP2, llvm::ISD::STRICT_FFLOOR, llvm::ISD::STRICT_FLOG, llvm::ISD::STRICT_FLOG10, llvm::ISD::STRICT_FLOG2, llvm::ISD::STRICT_FMA, llvm::ISD::STRICT_FMAXIMUM, llvm::ISD::STRICT_FMAXNUM, llvm::ISD::STRICT_FMINIMUM, llvm::ISD::STRICT_FMINNUM, llvm::ISD::STRICT_FMUL, llvm::ISD::STRICT_FNEARBYINT, llvm::ISD::STRICT_FP16_TO_FP, llvm::ISD::STRICT_FP_EXTEND, llvm::ISD::STRICT_FP_ROUND, llvm::ISD::STRICT_FP_TO_FP16, llvm::ISD::STRICT_FP_TO_SINT, llvm::ISD::STRICT_FP_TO_UINT, llvm::ISD::STRICT_FPOW, llvm::ISD::STRICT_FPOWI, llvm::ISD::STRICT_FREM, llvm::ISD::STRICT_FRINT, llvm::ISD::STRICT_FROUND, llvm::ISD::STRICT_FROUNDEVEN, llvm::ISD::STRICT_FSETCC, llvm::ISD::STRICT_FSETCCS, llvm::ISD::STRICT_FSIN, llvm::ISD::STRICT_FSQRT, llvm::ISD::STRICT_FSUB, llvm::ISD::STRICT_FTRUNC, llvm::ISD::STRICT_LLRINT, llvm::ISD::STRICT_LLROUND, llvm::ISD::STRICT_LRINT, llvm::ISD::STRICT_LROUND, llvm::ISD::STRICT_SINT_TO_FP, llvm::ISD::STRICT_UINT_TO_FP, llvm::ISD::SUB, llvm::ISD::SUBC, llvm::ISD::SUBE, llvm::ISD::TargetBlockAddress, llvm::ISD::TargetConstant, llvm::ISD::TargetConstantFP, llvm::ISD::TargetConstantPool, llvm::ISD::TargetExternalSymbol, llvm::ISD::TargetFrameIndex, llvm::ISD::TargetGlobalAddress, llvm::ISD::TargetGlobalTLSAddress, llvm::ISD::TargetIndex, llvm::ISD::TargetJumpTable, TII, llvm::ISD::TokenFactor, llvm::ISD::TRAP, llvm::ISD::TRUNCATE, llvm::ISD::UADDO, llvm::ISD::UADDO_CARRY, llvm::ISD::UADDSAT, llvm::ISD::UBSANTRAP, llvm::ISD::UDIV, llvm::ISD::UDIVFIX, llvm::ISD::UDIVFIXSAT, llvm::ISD::UDIVREM, llvm::ISD::UINT_TO_FP, llvm::ISD::UMAX, llvm::ISD::UMIN, llvm::ISD::UMUL_LOHI, llvm::ISD::UMULFIX, llvm::ISD::UMULFIXSAT, llvm::ISD::UMULO, llvm::ISD::UNDEF, llvm::ISD::UREM, llvm::ISD::USHLSAT, llvm::ISD::USUBO, llvm::ISD::USUBO_CARRY, llvm::ISD::USUBSAT, llvm::ISD::VAARG, llvm::ISD::VACOPY, llvm::ISD::VAEND, llvm::ISD::VALUETYPE, llvm::ISD::VASTART, llvm::ISD::VECREDUCE_ADD, llvm::ISD::VECREDUCE_AND, llvm::ISD::VECREDUCE_FADD, llvm::ISD::VECREDUCE_FMAX, llvm::ISD::VECREDUCE_FMIN, llvm::ISD::VECREDUCE_FMUL, llvm::ISD::VECREDUCE_MUL, llvm::ISD::VECREDUCE_OR, llvm::ISD::VECREDUCE_SEQ_FADD, llvm::ISD::VECREDUCE_SEQ_FMUL, llvm::ISD::VECREDUCE_SMAX, llvm::ISD::VECREDUCE_SMIN, llvm::ISD::VECREDUCE_UMAX, llvm::ISD::VECREDUCE_UMIN, llvm::ISD::VECREDUCE_XOR, llvm::ISD::VECTOR_DEINTERLEAVE, llvm::ISD::VECTOR_INTERLEAVE, llvm::ISD::VECTOR_REVERSE, llvm::ISD::VECTOR_SHUFFLE, llvm::ISD::VECTOR_SPLICE, llvm::ISD::VSCALE, llvm::ISD::VSELECT, llvm::ISD::WRITE_REGISTER, llvm::ISD::XOR, llvm::ISD::ZERO_EXTEND, and llvm::ISD::ZERO_EXTEND_VECTOR_INREG.
Referenced by printr().
Definition at line 1075 of file SelectionDAGNodes.h.
Return the type of a specified result as a simple type.
Definition at line 992 of file SelectionDAGNodes.h.
References llvm::EVT::getSimpleVT(), and getValueType().
Referenced by getHopForBuildVector(), incDecVectorConstant(), isAddSubOrSubAdd(), isHopBuildVector(), lowerBuildVectorAsBroadcast(), lowerToAddSubOrFMAddSub(), LowerToHorizontalOp(), llvm::ResourcePriorityQueue::rawRegPressureDelta(), llvm::ResourcePriorityQueue::scheduledNode(), and llvm::RISCVDAGToDAGISel::selectFPImm().
Returns MVT::getSizeInBits(getValueType(ResNo)).
If the value type is a scalable vector type, the scalable property will be set and the runtime size will be a positive integer multiple of the base size.
Definition at line 1001 of file SelectionDAGNodes.h.
References llvm::EVT::getSizeInBits(), and getValueType().
Return the type of a specified result.
Definition at line 986 of file SelectionDAGNodes.h.
References assert().
Referenced by AddCombineTo64bitMLAL(), CanCombineFCOPYSIGN_EXTEND_ROUND(), combineADDToMAT_PCREL_ADDR(), combineArithReduction(), combineBasicSADPattern(), combineLoad(), combineMinMaxReduction(), combinePredicateReduction(), combineShiftOfShiftedLogic(), combineShuffleOfBitcast(), combineShuffleOfScalars(), combineShuffleOfSplatVal(), combineShuffleToAnyExtendVectorInreg(), combineShuffleToZeroExtendVectorInReg(), combineToExtendCMOV(), combineTruncationShuffle(), combineVectorCompareAndMaskUnaryOp(), CombineVMOVDRRCandidateWithVecOp(), combineVPDPBUSDPattern(), Expand64BitShift(), foldAndOrOfSETCC(), foldMaskedMergeImpl(), foldShuffleOfConcatUndefs(), formSplatFromShuffles(), llvm::SelectionDAG::getCommutedVectorShuffle(), llvm::BuildVectorSDNode::getConstantRawBits(), llvm::HexagonTargetLowering::GetDynamicTLSAddr(), getGluedNode(), llvm::ShuffleVectorSDNode::getMask(), llvm::ShuffleVectorSDNode::getMaskElt(), getMemVTFromNode(), getOneTrueElt(), getSimpleValueType(), llvm::PPC::getSplatIdxForPPCMnemonics(), llvm::ShuffleVectorSDNode::getSplatIndex(), GetTLSADDR(), getValueSizeInBits(), isAllConstantBuildVector(), isBitfieldExtractOpFromAnd(), isBitfieldExtractOpFromShr(), llvm::BuildVectorSDNode::isConstantSequence(), llvm::BuildVectorSDNode::isConstantSplat(), llvm::isConstOrConstSplat(), llvm::X86TargetLowering::isDesirableToCombineLogicOpOfSETCC(), isExtendedBUILD_VECTOR(), llvm::SelectionDAGISel::IsLegalToFold(), isSaturatingMinMax(), llvm::ShuffleVectorSDNode::isSplat(), lookThroughSignExtension(), lowerDSPIntr(), lowerMSACopyIntr(), LowerToTLSExecModel(), LowerToTLSLocalDynamicModel(), narrowExtractedVectorBinOp(), narrowExtractedVectorLoad(), narrowInsertExtractVectorBinOp(), narrowShuffle(), performAddUADDVCombine(), performANDORCSELCombine(), performConcatVectorsCombine(), performCONDCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformExtractEltToVMOVRRD(), performMADD_MSUBCombine(), PerformMinMaxFpToSatCombine(), performSetccAddFolding(), performSetCCPunpkCombine(), performSignExtendSetCCCombine(), performSubsToAndsCombine(), performSVEAndCombine(), PerformVECREDUCE_ADDCombine(), performVecReduceAddCombineWithUADDLP(), PerformVMOVRRDCombine(), PerformXORCombine(), print_types(), reduceBuildVecToShuffleWithZero(), llvm::SelectionDAG::ReplaceAllUsesWith(), llvm::SparcTargetLowering::ReplaceNodeResults(), resolveBuildVector(), scalarizeExtEltFP(), scalarizeExtractedBinop(), llvm::PPCTargetLowering::SelectAddressRegImm(), llvm::SelectionDAGISel::SelectCodeCommon(), selectUmullSmull(), llvm::X86InstrInfo::shouldScheduleLoadsNear(), llvm::TargetLowering::SimplifySetCC(), SkipExtensionForVMULL(), tryBuildVectorShuffle(), llvm::RISCVDAGToDAGISel::tryIndexedLoad(), tryToConvertShuffleOfTbl2ToTbl4(), tryToFoldExtendOfConstant(), tryToFoldExtOfMaskedLoad(), tryToWidenSetCCOperands(), widenAbs(), and widenCtPop().
|
inline |
Definition at line 949 of file SelectionDAGNodes.h.
References X.
Referenced by combineAdd(), combineAddOrSubToADCOrSBB(), combineCarryDiamond(), combineCarryThroughADD(), combineSub(), combineUADDO_CARRYDiamond(), llvm::NVPTXTargetLowering::LowerCall(), performANDCombine(), performSRACombine(), performSubsToAndsCombine(), and simplifyMul24().
Return true if there are any use of the indicated value.
hasAnyUseOfValue - Return true if there are any use of the indicated value.
This method ignores uses of other values defined by this operation.
Definition at line 11334 of file SelectionDAG.cpp.
References assert(), E, getNumValues(), use_begin(), and use_end().
Referenced by AddCombineTo64bitMLAL(), combineAdd(), combineSub(), and performCONDCombine().
Return true if there are exactly NUSES uses of the indicated value.
hasNUsesOfValue - Return true if there are exactly NUSES uses of the indicated value.
This method ignores uses of other values defined by this operation.
Definition at line 11316 of file SelectionDAG.cpp.
References assert(), E, getNumValues(), use_begin(), and use_end().
Referenced by combineStore(), getCmp(), isFMAddSubOrFMSubAdd(), isFusableLoadOpStorePattern(), lowerBuildVectorAsBroadcast(), llvm::PPCTargetLowering::PerformDAGCombine(), and performVFMADD_VLCombine().
|
inline |
Return true if there is exactly one use of this node.
Definition at line 718 of file SelectionDAGNodes.h.
References llvm::hasSingleElement(), and uses().
Referenced by combineAdd(), combineAddOrSubToADCOrSBB(), combineAnd(), combineAndnp(), CombineANDShift(), combineCarryThroughADD(), combineSelectAndUseCommutative(), combineSetCC(), combineSetCCMOVMSK(), combineShuffleOfScalars(), combineSub(), combineTargetShuffle(), emitConjunctionRec(), foldMaskedMerge(), foldMaskedMergeImpl(), getBT(), isAddSubOrSubAdd(), isAddSubSExt(), isAddSubZExt(), IsCMPZCSINC(), lower1BitShuffle(), matchBSwapHWordOrAndAnd(), narrowExtractedVectorBinOp(), PerformADDCombineWithOperands(), performANDORCSELCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), performMulCombine(), performNegCSelCombine(), PerformSTORECombine(), PerformSUBCombine(), PerformVMOVRRDCombine(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::TargetLowering::SimplifySetCC(), transformAddImmMulImm(), transformAddShlImm(), and TryDistrubutionADDVecReduce().
Return true if N is a predecessor of this node.
N is either an operand of this node, or can be reached by recursively traversing up the operands. NOTE: This is an expensive method. Use it carefully.
Definition at line 11428 of file SelectionDAG.cpp.
References hasPredecessorHelper(), N, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inlinestatic |
Returns true if N is a predecessor of any node in Worklist.
This helper keeps Visited and Worklist sets externally to allow unions searches to be performed in parallel, caching of results across queries and incremental addition to Worklist. Stops early if N is found but will resume. Remember to clear Visited and Worklists if DAG changes. MaxSteps gives a maximum number of nodes to visit before giving up. The TopologicalPrune flag signals that positive NodeIds are topologically ordered (Operands have strictly smaller node id) and search can be pruned leveraging this.
Definition at line 849 of file SelectionDAGNodes.h.
References llvm::SmallVectorImpl< T >::append(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallPtrSetImpl< PtrType >::count(), llvm::SmallVectorBase< Size_T >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallPtrSetImpl< PtrType >::insert(), N, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallPtrSetImplBase::size(), and llvm::ISD::TokenFactor.
Referenced by findNonImmUse(), getPostIndexedLoadStoreOp(), HandleMergeInputChains(), hasPredecessor(), isFusableLoadOpStorePattern(), isValidBaseUpdate(), PerformMVEVLDCombine(), performNEONPostLDSTCombine(), performPostLD1Combine(), shouldCombineToPostInc(), and tryMemPairCombine().
void SDNode::intersectFlagsWith | ( | const SDNodeFlags | Flags | ) |
Clear any flags in this node that aren't also set in Flags.
If Flags is not in a defined state then this has no effect.
Definition at line 11435 of file SelectionDAG.cpp.
References Flags, and llvm::SDNodeFlags::intersectWith().
|
inline |
Definition at line 712 of file SelectionDAGNodes.h.
References SDNodeBits.
Referenced by llvm::SITargetLowering::isReassocProfitable(), llvm::SITargetLowering::PostISelFolding(), print(), print_details(), llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
|
inline |
Test if this node has a post-isel opcode, directly corresponding to a MachineInstr opcode.
Definition at line 699 of file SelectionDAGNodes.h.
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr(), llvm::ARMBaseInstrInfo::areLoadsFromSameBasePtr(), llvm::X86InstrInfo::areLoadsFromSameBasePtr(), getMachineOpcode(), llvm::TargetInstrInfo::getOperandLatency(), llvm::ARMBaseInstrInfo::getOperandLatency(), getOperationName(), getUsefulBitsForUse(), llvm::ResourcePriorityQueue::isResourceAvailable(), PerformANDCombine(), llvm::ResourcePriorityQueue::rawRegPressureDelta(), llvm::ResourcePriorityQueue::regPressureDelta(), llvm::ResourcePriorityQueue::reserveResources(), llvm::ResourcePriorityQueue::scheduledNode(), llvm::SelectionDAGISel::SelectCodeCommon(), and usesAllOnesMask().
|
inline |
Test if this node is a memory intrinsic (with valid pointer information).
INTRINSIC_W_CHAIN and INTRINSIC_VOID nodes are sometimes created for non-memory intrinsics (with chains) that are not really instances of MemSDNode. For such nodes, we need some extra state to determine the proper classof relationship.
Definition at line 674 of file SelectionDAGNodes.h.
References llvm::ISD::INTRINSIC_VOID, llvm::ISD::INTRINSIC_W_CHAIN, and SDNodeBits.
Return true if this node is the only use of N.
isOnlyUserOf - Return true if this node is the only use of N.
Definition at line 11345 of file SelectionDAG.cpp.
References N.
Referenced by canonicalizeShuffleMaskWithHorizOp(), combineAnd(), combineVectorShiftImm(), findNonImmUse(), llvm::ARMTargetLowering::isVectorLoadExtDesirable(), lowerBuildVectorAsBroadcast(), and performConcatVectorsCombine().
Return true if this node is an operand of N.
Definition at line 11375 of file SelectionDAG.cpp.
References llvm::any_of(), and N.
Referenced by combineCarryDiamond().
Return true if this node is a predecessor of N.
NOTE: Implemented on top of hasPredecessor and every bit as expensive. Use carefully.
Definition at line 830 of file SelectionDAGNodes.h.
References N.
Referenced by AddCombineTo64bitMLAL(), and AMDGPUDAGToDAGISel::matchLoadD16FromBuildVector().
|
inline |
Test if this node is a strict floating point pseudo-op.
Definition at line 681 of file SelectionDAGNodes.h.
References llvm::ISD::STRICT_FP16_TO_FP, and llvm::ISD::STRICT_FP_TO_FP16.
Referenced by combineFP_ROUND(), and performExtractVectorEltCombine().
|
inline |
Test if this node has a target-specific memory-referencing opcode (in the <target>ISD namespace and greater than FIRST_TARGET_MEMORY_OPCODE).
Definition at line 662 of file SelectionDAGNodes.h.
References llvm::ISD::FIRST_TARGET_MEMORY_OPCODE.
|
inline |
Test if this node has a target-specific opcode (in the <target>ISD namespace).
Definition at line 648 of file SelectionDAGNodes.h.
References llvm::ISD::BUILTIN_OP_END.
|
inline |
Test if this node has a target-specific opcode that may raise FP exceptions (in the <target>ISD namespace and greater than FIRST_TARGET_STRICTFP_OPCODE).
Note that all target memory opcode are currently automatically considered to possibly raise FP exceptions as well.
Definition at line 655 of file SelectionDAGNodes.h.
References llvm::ISD::FIRST_TARGET_STRICTFP_OPCODE.
|
inline |
Return true if the type of the node type undefined.
Definition at line 667 of file SelectionDAGNodes.h.
References llvm::ISD::UNDEF.
Referenced by combineBinOpToReduce(), ExpandHorizontalBinOp(), llvm::BuildVectorSDNode::getRepeatedSequence(), llvm::BuildVectorSDNode::getSplatValue(), LowerToHorizontalOp(), llvm::VETargetLowering::lowerVVP_GATHER_SCATTER(), llvm::VETargetLowering::lowerVVP_LOAD_STORE(), performConcatVectorsCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), performUnpackCombine(), and PerformVMOVNCombine().
|
inline |
Test if this node is a vector predication operation.
Definition at line 695 of file SelectionDAGNodes.h.
References getOpcode(), and llvm::ISD::isVPOpcode().
|
inline |
Definition at line 928 of file SelectionDAGNodes.h.
Referenced by combineBitcast(), DropOperands(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), moveBelowOrigChain(), op_values(), ops(), llvm::R600TargetLowering::PerformDAGCombine(), and llvm::AMDGPUTargetLowering::performFNegCombine().
|
inline |
Definition at line 929 of file SelectionDAGNodes.h.
Referenced by combineBitcast(), DropOperands(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), moveBelowOrigChain(), op_values(), ops(), llvm::R600TargetLowering::PerformDAGCombine(), and llvm::AMDGPUTargetLowering::performFNegCombine().
|
inline |
Definition at line 944 of file SelectionDAGNodes.h.
References llvm::make_range(), op_begin(), and op_end().
Referenced by findNonImmUse(), llvm::BuildVectorSDNode::isConstant(), llvm::SelectionDAG::isUndef(), and LowerToHorizontalOp().
Definition at line 930 of file SelectionDAGNodes.h.
References op_begin(), and op_end().
Referenced by combineConcatVectorOfShuffleAndItsOperands(), combineEXTRACT_SUBVECTOR(), combineShuffleToZeroExtendVectorInReg(), combineStore(), extractSubVector(), findConsecutiveLoad(), insert1BitVector(), isFusableLoadOpStorePattern(), llvm::SelectionDAG::isKnownToBeAPowerOfTwo(), mergeEltWithShuffle(), performBuildShuffleExtendCombine(), scalarizeBinOpOfSplats(), and scalarizeExtEltFP().
void SDNode::print | ( | raw_ostream & | OS, |
const SelectionDAG * | G = nullptr |
||
) | const |
Definition at line 1073 of file SelectionDAGDumper.cpp.
References DL, G, getDebugLoc(), getNumOperands(), getOperand(), isDivergent(), OS, llvm::MachineBasicBlock::print(), printOperand(), printr(), and VerboseDAGDumping.
void SDNode::print_details | ( | raw_ostream & | OS, |
const SelectionDAG * | G | ||
) | const |
Definition at line 574 of file SelectionDAGDumper.cpp.
References llvm::ISD::EXTLOAD, G, getFlags(), getHasDebugValue(), getIndexedModeName(), getIROrder(), llvm::Value::getName(), getNodeId(), hasNoInfs(), hasNoSignedWrap(), hasNoUnsignedWrap(), Idx, llvm::APFloatBase::IEEEdouble(), llvm::APFloatBase::IEEEsingle(), isDivergent(), N, OS, printMemOperand(), llvm::printReg(), Scaled, llvm::ISD::SEXTLOAD, Signed, VerboseDAGDumping, and llvm::ISD::ZEXTLOAD.
Referenced by printr().
void SDNode::print_types | ( | raw_ostream & | OS, |
const SelectionDAG * | G | ||
) | const |
Definition at line 564 of file SelectionDAGDumper.cpp.
References llvm::EVT::getEVTString(), getNumValues(), getValueType(), and OS.
Referenced by printr().
void SDNode::printr | ( | raw_ostream & | OS, |
const SelectionDAG * | G = nullptr |
||
) | const |
Definition at line 964 of file SelectionDAGDumper.cpp.
References G, getOperationName(), OS, print_details(), print_types(), and PrintNodeId().
Referenced by print().
void SDNode::printrFull | ( | raw_ostream & | O, |
const SelectionDAG * | G = nullptr |
||
) | const |
Print a SelectionDAG node and all children down to the leaves.
The given SelectionDAG allows target-specific nodes to be printed in human-readable form. Unlike printr, this will print the whole DAG, including children that appear multiple times.
Definition at line 1056 of file SelectionDAGDumper.cpp.
References G, OS, and printrWithDepth().
void SDNode::printrWithDepth | ( | raw_ostream & | O, |
const SelectionDAG * | G = nullptr , |
||
unsigned | depth = 100 |
||
) | const |
Print a SelectionDAG node and children up to depth "depth." The given SelectionDAG allows target-specific nodes to be printed in human-readable form.
Unlike printr, this will print children that appear multiple times wherever they are used.
Definition at line 1051 of file SelectionDAGDumper.cpp.
References G, OS, and printrWithDepthHelper().
Referenced by dumprWithDepth(), llvm::MipsSETargetLowering::PerformDAGCombine(), and printrFull().
void SDNode::Profile | ( | FoldingSetNodeID & | ID | ) | const |
Gather unique data for the node.
Profile - Gather unique data for the node.
Definition at line 11280 of file SelectionDAG.cpp.
References AddNodeIDNode().
|
inline |
Definition at line 979 of file SelectionDAGNodes.h.
|
inline |
Set source location info.
Try to avoid this, putting it in the constructor is preferable.
Definition at line 741 of file SelectionDAGNodes.h.
|
inline |
Definition at line 973 of file SelectionDAGNodes.h.
References Flags.
Referenced by llvm::TargetLowering::createSelectForFMINNUM_FMAXNUM(), LowerVSETCC(), performFADDCombine(), and PerformFADDVCMLACombine().
|
inline |
Definition at line 710 of file SelectionDAGNodes.h.
References SDNodeBits.
|
inline |
Set the node ordering.
Definition at line 734 of file SelectionDAGNodes.h.
|
inline |
Set unique node id.
Definition at line 728 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::mutateStrictFPToFP(), and llvm::SelectionDAGISel::SelectCodeCommon().
|
inline |
Provide iteration support to walk over all uses of an SDNode.
Definition at line 800 of file SelectionDAGNodes.h.
Referenced by CombineVLDDUP(), combineX86ShuffleChain(), ExtendUsesToFormExtLoad(), findUser(), getGluedUser(), hasAnyUseOfValue(), hasNUsesOfValue(), llvm::SITargetLowering::isReassocProfitable(), llvm::ARMTargetLowering::isVectorLoadExtDesirable(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformExtractEltToVMOVRRD(), performMemPairCombine(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::SelectionDAGISel::SelectCodeCommon(), use_size(), and uses().
|
inline |
Return true if there are no uses of this node.
Definition at line 715 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::getCheaperOrNeutralNegatedExpression(), llvm::ARMTargetLowering::isVectorLoadExtDesirable(), LowerUMULO_SMULO(), llvm::SelectionDAG::RemoveDeadNodes(), llvm::SelectionDAGISel::SelectCodeCommon(), and tryToFoldExtOfExtload().
|
inlinestatic |
Definition at line 804 of file SelectionDAGNodes.h.
Referenced by CombineVLDDUP(), ExtendUsesToFormExtLoad(), findUser(), getGluedUser(), hasAnyUseOfValue(), hasNUsesOfValue(), llvm::PPCTargetLowering::PerformDAGCombine(), performMemPairCombine(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::SelectionDAGISel::SelectCodeCommon(), use_size(), and uses().
|
inline |
Return the number of uses of this node.
This method takes time proportional to the number of uses.
Definition at line 722 of file SelectionDAGNodes.h.
References use_begin(), and use_end().
Referenced by performANDCombine(), PerformExtractEltToVMOVRRD(), and llvm::AArch64TargetLowering::shouldRemoveRedundantExtend().
|
inline |
Definition at line 806 of file SelectionDAGNodes.h.
References llvm::make_range(), use_begin(), and use_end().
Referenced by llvm::AMDGPUTargetLowering::addTokenForArgument(), adjustForLTGFR(), combineExtractVectorElt(), combineShiftToMULH(), findConsecutiveLoad(), hasOneUse(), hasVolatileUser(), isHorizontalBinOp(), isOnlyUsedByStores(), isWorthFoldingSHL(), lowerShufflePairAsUNPCKAndPermute(), PerformADDCombineWithOperands(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformExtractEltToVMOVRRD(), llvm::AMDGPUTargetLowering::performFNegCombine(), performGlobalAddressCombine(), PerformREMCombine(), performSRACombine(), llvm::X86TargetLowering::SimplifyDemandedVectorEltsForTargetNode(), and useSinCos().
|
inline |
Definition at line 809 of file SelectionDAGNodes.h.
References llvm::make_range(), use_begin(), and use_end().
|
inline |
Definition at line 1007 of file SelectionDAGNodes.h.
Referenced by values().
|
inline |
Definition at line 1008 of file SelectionDAGNodes.h.
Referenced by values().
|
inline |
Definition at line 1009 of file SelectionDAGNodes.h.
References llvm::make_range(), value_begin(), and value_end().
|
friend |
Definition at line 599 of file SelectionDAGNodes.h.
|
friend |
Definition at line 597 of file SelectionDAGNodes.h.
union { ... } llvm::SDNode::@222 |
ConstantSDNodeBitfields llvm::SDNode::ConstantSDNodeBits |
Definition at line 576 of file SelectionDAGNodes.h.
Referenced by llvm::ConstantSDNode::isOpaque().
LoadSDNodeBitfields llvm::SDNode::LoadSDNodeBits |
Definition at line 579 of file SelectionDAGNodes.h.
Referenced by llvm::LoadSDNode::getExtensionType(), llvm::VPLoadSDNode::getExtensionType(), llvm::VPStridedLoadSDNode::getExtensionType(), llvm::MaskedLoadSDNode::getExtensionType(), llvm::MaskedGatherSDNode::getExtensionType(), llvm::VPLoadSDNode::isExpandingLoad(), llvm::VPStridedLoadSDNode::isExpandingLoad(), llvm::MaskedLoadSDNode::isExpandingLoad(), llvm::MaskedGatherSDNode::MaskedGatherSDNode(), llvm::MaskedLoadSDNode::MaskedLoadSDNode(), llvm::VPLoadSDNode::VPLoadSDNode(), and llvm::VPStridedLoadSDNode::VPStridedLoadSDNode().
LSBaseSDNodeBitfields llvm::SDNode::LSBaseSDNodeBits |
Definition at line 578 of file SelectionDAGNodes.h.
Referenced by llvm::LSBaseSDNode::getAddressingMode(), llvm::VPBaseLoadStoreSDNode::getAddressingMode(), llvm::MaskedLoadStoreSDNode::getAddressingMode(), llvm::VPGatherScatterSDNode::getIndexType(), llvm::MaskedGatherScatterSDNode::getIndexType(), llvm::LSBaseSDNode::LSBaseSDNode(), llvm::MaskedGatherScatterSDNode::MaskedGatherScatterSDNode(), llvm::MaskedLoadStoreSDNode::MaskedLoadStoreSDNode(), llvm::VPBaseLoadStoreSDNode::VPBaseLoadStoreSDNode(), and llvm::VPGatherScatterSDNode::VPGatherScatterSDNode().
MemSDNodeBitfields llvm::SDNode::MemSDNodeBits |
Definition at line 577 of file SelectionDAGNodes.h.
Referenced by llvm::MemSDNode::isDereferenceable(), llvm::MemSDNode::isInvariant(), llvm::MemSDNode::isNonTemporal(), llvm::MemSDNode::isVolatile(), and llvm::MemSDNode::MemSDNode().
uint16_t llvm::SDNode::PersistentId = 0xffff |
Unique and persistent id per SDNode in the DAG.
Used for debug printing. We do not place that under #if LLVM_ENABLE_ABI_BREAKING_CHECKS
intentionally because it adds unneeded complexity without noticeable benefits (see discussion with @thakis in D120714).
Definition at line 473 of file SelectionDAGNodes.h.
Referenced by llvm::HandleSDNode::HandleSDNode().
Definition at line 574 of file SelectionDAGNodes.h.
Referenced by llvm::MemSDNode::getRawSubclassData(), and SDNode().
SDNodeBitfields llvm::SDNode::SDNodeBits |
Definition at line 575 of file SelectionDAGNodes.h.
Referenced by getHasDebugValue(), llvm::MemSDNode::getRawSubclassData(), isDivergent(), isMemIntrinsic(), llvm::MemIntrinsicSDNode::MemIntrinsicSDNode(), and setHasDebugValue().
StoreSDNodeBitfields llvm::SDNode::StoreSDNodeBits |
Definition at line 580 of file SelectionDAGNodes.h.
Referenced by llvm::VPStoreSDNode::isCompressingStore(), llvm::VPStridedStoreSDNode::isCompressingStore(), llvm::MaskedStoreSDNode::isCompressingStore(), llvm::StoreSDNode::isTruncatingStore(), llvm::VPStoreSDNode::isTruncatingStore(), llvm::VPStridedStoreSDNode::isTruncatingStore(), llvm::MaskedStoreSDNode::isTruncatingStore(), llvm::MaskedScatterSDNode::isTruncatingStore(), llvm::MaskedScatterSDNode::MaskedScatterSDNode(), llvm::MaskedStoreSDNode::MaskedStoreSDNode(), llvm::StoreSDNode::setTruncatingStore(), llvm::VPStoreSDNode::VPStoreSDNode(), and llvm::VPStridedStoreSDNode::VPStridedStoreSDNode().