LLVM API Documentation

Public Member Functions
llvm::CriticalAntiDepBreaker Class Reference

#include <CriticalAntiDepBreaker.h>

Inheritance diagram for llvm::CriticalAntiDepBreaker:
Inheritance graph
[legend]
Collaboration diagram for llvm::CriticalAntiDepBreaker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CriticalAntiDepBreaker (MachineFunction &MFi, const RegisterClassInfo &)
 ~CriticalAntiDepBreaker ()
void StartBlock (MachineBasicBlock *BB)
 Start - Initialize anti-dep breaking for a new basic block.
unsigned BreakAntiDependencies (const std::vector< SUnit > &SUnits, MachineBasicBlock::iterator Begin, MachineBasicBlock::iterator End, unsigned InsertPosIndex, DbgValueVector &DbgValues)
void Observe (MachineInstr *MI, unsigned Count, unsigned InsertPosIndex)
void FinishBlock ()
 Finish - Finish anti-dep breaking for a basic block.

Detailed Description

Definition at line 34 of file CriticalAntiDepBreaker.h.


Constructor & Destructor Documentation

CriticalAntiDepBreaker::CriticalAntiDepBreaker ( MachineFunction MFi,
const RegisterClassInfo RCI 
)

Definition at line 30 of file CriticalAntiDepBreaker.cpp.

CriticalAntiDepBreaker::~CriticalAntiDepBreaker ( )

Definition at line 41 of file CriticalAntiDepBreaker.cpp.


Member Function Documentation

unsigned CriticalAntiDepBreaker::BreakAntiDependencies ( const std::vector< SUnit > &  SUnits,
MachineBasicBlock::iterator  Begin,
MachineBasicBlock::iterator  End,
unsigned  InsertPosIndex,
DbgValueVector DbgValues 
) [virtual]
void CriticalAntiDepBreaker::FinishBlock ( ) [virtual]

Finish - Finish anti-dep breaking for a basic block.

Implements llvm::AntiDepBreaker.

Definition at line 89 of file CriticalAntiDepBreaker.cpp.

References llvm::BitVector::reset().

void CriticalAntiDepBreaker::Observe ( MachineInstr MI,
unsigned  Count,
unsigned  InsertPosIndex 
) [virtual]

Observe - Update liveness information to account for the current instruction, which will not be scheduled.

Implements llvm::AntiDepBreaker.

Definition at line 94 of file CriticalAntiDepBreaker.cpp.

References llvm::MCRegisterInfo::getNumRegs(), and llvm::MachineInstr::isDebugValue().

void CriticalAntiDepBreaker::StartBlock ( MachineBasicBlock BB) [virtual]

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