llvm::rdf::StmtNode

Statement node corresponding to a machine instruction.

Synopsis

Declared in <llvm/CodeGen/RDFGraph.h>

struct StmtNode
    : InstrNode

Base Classes

NameDescription
InstrNodeInstruction code node (phi or statement) owned by a block.

Member Functions

NameDescription
addMember Append member NA to this container in graph G.
addMemberAfter Insert member NA after existing member MA in graph G.
append Insert node NA after this node in the circular chain.
getAttrs Return the raw packed attribute word.
getCode getCode overloads
getFirstMember Return the first member in the circular list, or null.
getFlags Return the flag bits from Attrs.
getKind Return the node kind bits from Attrs.
getLastMember Return the last member in the circular list, or null.
getNext Return the id of the next node in the circular member chain.
getOwner Return the owning block node in graph G.
getType Return the node type bits from Attrs.
init Initialize all members to 0.
members Return all members of this container in graph G.
members_if Return members of this container for which predicate P is true.
removeMember Remove member NA from this container in graph G.
setAttrs Replace the packed attribute word with A.
setCode Set the underlying code pointer to C.
setFlags Replace only the flag bits with F.
setNext Set the next-node id in the circular chain to N.

Data Members

NameDescription
CodeData [variant member]Code-node payload.
RefData [variant member]Reference-node payload.

Protected Types

NameDescription
Code_struct Payload for code (container) nodes.
Def_struct Payload for definition nodes: first reached def and use ids.
PhiU_struct Payload for phi-use nodes: predecessor block id.
Ref_struct Payload for reference (def/use) nodes.

Protected Data Members

NameDescription
Attrs Packed type, kind, and flag attributes.
Next Id of the next node in the circular chain.
Reserved Reserved padding / unused bits.