class VNInfo
Declaration
class VNInfo { /* full declaration omitted */ };
Description
VNInfo - Value Number Information. This class holds information about a machine level values, including definition and use points.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:52
Member Variables
- public unsigned int id
- The ID number of this value.
- public llvm::SlotIndex def
- The index of the defining instruction.
Method Overview
- public VNInfo(unsigned int i, llvm::SlotIndex d)
- public VNInfo(unsigned int i, const llvm::VNInfo & orig)
- public void copyFrom(llvm::VNInfo & src)
- public bool isPHIDef() const
- public bool isUnused() const
- public void markUnused()
Methods
¶VNInfo(unsigned int i, llvm::SlotIndex d)
VNInfo(unsigned int i, llvm::SlotIndex d)
Description
VNInfo constructor.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:63
Parameters
- unsigned int i
- llvm::SlotIndex d
¶VNInfo(unsigned int i, const llvm::VNInfo& orig)
VNInfo(unsigned int i, const llvm::VNInfo& orig)
Description
VNInfo constructor, copies values from orig, except for the value number.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:66
Parameters
- unsigned int i
- const llvm::VNInfo& orig
¶void copyFrom(llvm::VNInfo& src)
void copyFrom(llvm::VNInfo& src)
Description
Copy from the parameter into this VNInfo.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:69
Parameters
- llvm::VNInfo& src
¶bool isPHIDef() const
bool isPHIDef() const
Description
Returns true if this value is defined by a PHI instruction (or was, PHI instructions may have been eliminated). PHI-defs begin at a block boundary, all other defs begin at register or EC slots.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:77
¶bool isUnused() const
bool isUnused() const
Description
Returns true if this value is unused.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:80
¶void markUnused()
void markUnused()
Description
Mark this value as unused.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:83