LLVM API Documentation

Classes | Public Member Functions
llvm::AggressiveAntiDepState Class Reference

#include <AggressiveAntiDepBreaker.h>

List of all members.

Classes

struct  RegisterReference

Public Member Functions

 AggressiveAntiDepState (const unsigned TargetRegs, MachineBasicBlock *BB)
std::vector< unsigned > & GetKillIndices ()
 GetKillIndices - Return the kill indices.
std::vector< unsigned > & GetDefIndices ()
 GetDefIndices - Return the define indices.
std::multimap< unsigned,
RegisterReference > & 
GetRegRefs ()
 GetRegRefs - Return the RegRefs map.
unsigned GetGroup (unsigned Reg)
void GetGroupRegs (unsigned Group, std::vector< unsigned > &Regs, std::multimap< unsigned, AggressiveAntiDepState::RegisterReference > *RegRefs)
unsigned UnionGroups (unsigned Reg1, unsigned Reg2)
unsigned LeaveGroup (unsigned Reg)
bool IsLive (unsigned Reg)
 IsLive - Return true if Reg is live.

Detailed Description

Class AggressiveAntiDepState Contains all the state necessary for anti-dep breaking.

Definition at line 37 of file AggressiveAntiDepBreaker.h.


Constructor & Destructor Documentation

Definition at line 43 of file AggressiveAntiDepBreaker.cpp.

References llvm::MachineBasicBlock::size().


Member Function Documentation

void AggressiveAntiDepState::GetGroupRegs ( unsigned  Group,
std::vector< unsigned > &  Regs,
std::multimap< unsigned, AggressiveAntiDepState::RegisterReference > *  RegRefs 
)

Definition at line 69 of file AggressiveAntiDepBreaker.cpp.

References GetGroup().

GetKillIndices - Return the kill indices.

Definition at line 81 of file AggressiveAntiDepBreaker.h.

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), and llvm::AggressiveAntiDepBreaker::StartBlock().

GetRegRefs - Return the RegRefs map.

Definition at line 87 of file AggressiveAntiDepBreaker.h.

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies().

IsLive - Return true if Reg is live.

Definition at line 107 of file AggressiveAntiDepBreaker.cpp.

Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), and llvm::AggressiveAntiDepBreaker::Observe().

Definition at line 96 of file AggressiveAntiDepBreaker.cpp.


The documentation for this class was generated from the following files: