LLVM API Documentation
#include <AggressiveAntiDepBreaker.h>
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. |
Class AggressiveAntiDepState Contains all the state necessary for anti-dep breaking.
Definition at line 37 of file AggressiveAntiDepBreaker.h.
AggressiveAntiDepState::AggressiveAntiDepState | ( | const unsigned | TargetRegs, |
MachineBasicBlock * | BB | ||
) |
Definition at line 43 of file AggressiveAntiDepBreaker.cpp.
References llvm::MachineBasicBlock::size().
std::vector<unsigned>& llvm::AggressiveAntiDepState::GetDefIndices | ( | ) | [inline] |
GetDefIndices - Return the define indices.
Definition at line 84 of file AggressiveAntiDepBreaker.h.
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::AggressiveAntiDepBreaker::Observe(), and llvm::AggressiveAntiDepBreaker::StartBlock().
Definition at line 61 of file AggressiveAntiDepBreaker.cpp.
References Node.
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), GetGroupRegs(), llvm::AggressiveAntiDepBreaker::Observe(), and UnionGroups().
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().
std::vector<unsigned>& llvm::AggressiveAntiDepState::GetKillIndices | ( | ) | [inline] |
GetKillIndices - Return the kill indices.
Definition at line 81 of file AggressiveAntiDepBreaker.h.
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), and llvm::AggressiveAntiDepBreaker::StartBlock().
std::multimap<unsigned, RegisterReference>& llvm::AggressiveAntiDepState::GetRegRefs | ( | ) | [inline] |
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.
unsigned AggressiveAntiDepState::UnionGroups | ( | unsigned | Reg1, |
unsigned | Reg2 | ||
) |
Definition at line 80 of file AggressiveAntiDepBreaker.cpp.
References GetGroup().
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::AggressiveAntiDepBreaker::Observe(), and llvm::AggressiveAntiDepBreaker::StartBlock().