LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::LiveVariables::VarInfo Struct Reference

#include <LiveVariables.h>

Collaboration diagram for llvm::LiveVariables::VarInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VarInfo ()
bool removeKill (MachineInstr *MI)

Public Attributes

MachineInstrDefInst
 DefInst - The machine instruction that defines this register.
std::vector< bool > AliveBlocks
std::vector< MachineInstr * > Kills

Detailed Description

Definition at line 41 of file LiveVariables.h.


Constructor & Destructor Documentation

llvm::LiveVariables::VarInfo::VarInfo  )  [inline]
 

Definition at line 56 of file LiveVariables.h.


Member Function Documentation

bool llvm::LiveVariables::VarInfo::removeKill MachineInstr MI  )  [inline]
 

removeKill - Delete a kill corresponding to the specified machine instruction. Returns true if there was a kill corresponding to this instruction, false otherwise.

Definition at line 61 of file LiveVariables.h.

References Kills.

Referenced by llvm::LiveVariables::removeVirtualRegistersDead(), and llvm::LiveVariables::removeVirtualRegistersKilled().


Member Data Documentation

std::vector<bool> llvm::LiveVariables::VarInfo::AliveBlocks
 

AliveBlocks - Set of blocks of which this value is alive completely through. This is a bit set which uses the basic block number as an index.

Definition at line 49 of file LiveVariables.h.

Referenced by llvm::LiveVariables::MarkVirtRegAliveInBlock().

MachineInstr* llvm::LiveVariables::VarInfo::DefInst
 

DefInst - The machine instruction that defines this register.

Definition at line 43 of file LiveVariables.h.

Referenced by llvm::LiveVariables::HandleVirtRegUse(), llvm::LiveVariables::instructionChanged(), llvm::LiveVariables::MarkVirtRegAliveInBlock(), and llvm::LiveVariables::runOnMachineFunction().

std::vector<MachineInstr*> llvm::LiveVariables::VarInfo::Kills
 

Kills - List of MachineInstruction's which are the last use of this virtual register (kill it) in their basic block.

Definition at line 54 of file LiveVariables.h.

Referenced by llvm::LiveVariables::addVirtualRegisterDead(), llvm::LiveVariables::addVirtualRegisterKilled(), llvm::LiveVariables::HandleVirtRegUse(), llvm::LiveVariables::MarkVirtRegAliveInBlock(), removeKill(), and llvm::LiveVariables::runOnMachineFunction().


The documentation for this struct was generated from the following file: