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) override
 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) override
void Observe (MachineInstr *MI, unsigned Count, unsigned InsertPosIndex) override
void FinishBlock () override
 Finish - Finish anti-dep breaking for a basic block.

Detailed Description

Definition at line 34 of file CriticalAntiDepBreaker.h.


Constructor & Destructor Documentation

Definition at line 31 of file CriticalAntiDepBreaker.cpp.

Definition at line 39 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 
) [override, virtual]
void CriticalAntiDepBreaker::FinishBlock ( ) [override, virtual]

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

Implements llvm::AntiDepBreaker.

Definition at line 87 of file CriticalAntiDepBreaker.cpp.

References llvm::BitVector::reset().

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

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

Implements llvm::AntiDepBreaker.

Definition at line 92 of file CriticalAntiDepBreaker.cpp.

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

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

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