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:53

Member Variables

public unsigned int id
The ID number of this value.
public llvm::SlotIndex def
The index of the defining instruction.

Method Overview

Methods

VNInfo(unsigned int i, llvm::SlotIndex d)

Description

VNInfo constructor.

Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:64

Parameters

unsigned int i
llvm::SlotIndex d

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:67

Parameters

unsigned int i
const llvm::VNInfo& orig

void copyFrom(llvm::VNInfo& src)

Description

Copy from the parameter into this VNInfo.

Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:70

Parameters

llvm::VNInfo& src

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:78

bool isUnused() const

Description

Returns true if this value is unused.

Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:81

void markUnused()

Description

Mark this value as unused.

Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:84