class VLIWPacketizerList

Declaration

class VLIWPacketizerList { /* full declaration omitted */ };

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:111

Member Variables

protected llvm::MachineFunction& MF
protected const llvm::TargetInstrInfo* TII
protected llvm::AAResults* AA
protected llvm::DefaultVLIWScheduler* VLIWScheduler
protected std::vector<MachineInstr*> CurrentPacketMIs
protected llvm::DFAPacketizer* ResourceTracker
protected std::map<MachineInstr*, SUnit*> MIToSUnit

Method Overview

  • public void PacketizeMIs(llvm::MachineBasicBlock * MBB, MachineBasicBlock::iterator BeginItr, MachineBasicBlock::iterator EndItr)
  • public VLIWPacketizerList(llvm::MachineFunction & MF, llvm::MachineLoopInfo & MLI, llvm::AAResults * AA)
  • public void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation)
  • public virtual MachineBasicBlock::iterator addToPacket(llvm::MachineInstr & MI)
  • public bool alias(const llvm::MachineInstr & MI1, const llvm::MachineInstr & MI2, bool UseTBAA = true) const
  • private bool alias(const llvm::MachineMemOperand & Op1, const llvm::MachineMemOperand & Op2, bool UseTBAA = true) const
  • public virtual void endPacket(llvm::MachineBasicBlock * MBB, MachineBasicBlock::iterator MI)
  • public llvm::DFAPacketizer * getResourceTracker()
  • public virtual bool ignorePseudoInstruction(const llvm::MachineInstr & I, const llvm::MachineBasicBlock * MBB)
  • public virtual void initPacketizerState()
  • public virtual bool isLegalToPacketizeTogether(llvm::SUnit * SUI, llvm::SUnit * SUJ)
  • public virtual bool isLegalToPruneDependencies(llvm::SUnit * SUI, llvm::SUnit * SUJ)
  • public virtual bool isSoloInstruction(const llvm::MachineInstr & MI)
  • public virtual bool shouldAddToPacket(const llvm::MachineInstr & MI)
  • public virtual ~VLIWPacketizerList()

Methods

void PacketizeMIs(
    llvm::MachineBasicBlock* MBB,
    MachineBasicBlock::iterator BeginItr,
    MachineBasicBlock::iterator EndItr)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:134

Parameters

llvm::MachineBasicBlock* MBB
MachineBasicBlock::iterator BeginItr
MachineBasicBlock::iterator EndItr

VLIWPacketizerList(llvm::MachineFunction& MF,
                   llvm::MachineLoopInfo& MLI,
                   llvm::AAResults* AA)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:128

Parameters

llvm::MachineFunction& MF
llvm::MachineLoopInfo& MLI
llvm::AAResults* AA

void addMutation(
    std::unique_ptr<ScheduleDAGMutation> Mutation)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:187

Parameters

std::unique_ptr<ScheduleDAGMutation> Mutation

virtual MachineBasicBlock::iterator addToPacket(
    llvm::MachineInstr& MI)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:142

Parameters

llvm::MachineInstr& MI

bool alias(const llvm::MachineInstr& MI1,
           const llvm::MachineInstr& MI2,
           bool UseTBAA = true) const

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:189

Parameters

const llvm::MachineInstr& MI1
const llvm::MachineInstr& MI2
bool UseTBAA = true

bool alias(const llvm::MachineMemOperand& Op1,
           const llvm::MachineMemOperand& Op2,
           bool UseTBAA = true) const

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:193

Parameters

const llvm::MachineMemOperand& Op1
const llvm::MachineMemOperand& Op2
bool UseTBAA = true

virtual void endPacket(
    llvm::MachineBasicBlock* MBB,
    MachineBasicBlock::iterator MI)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:151

Parameters

llvm::MachineBasicBlock* MBB
MachineBasicBlock::iterator MI

llvm::DFAPacketizer* getResourceTracker()

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:139

virtual bool ignorePseudoInstruction(
    const llvm::MachineInstr& I,
    const llvm::MachineBasicBlock* MBB)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:159

Parameters

const llvm::MachineInstr& I
const llvm::MachineBasicBlock* MBB

virtual void initPacketizerState()

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:156

virtual bool isLegalToPacketizeTogether(
    llvm::SUnit* SUI,
    llvm::SUnit* SUJ)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:177

Parameters

llvm::SUnit* SUI
llvm::SUnit* SUJ

virtual bool isLegalToPruneDependencies(
    llvm::SUnit* SUI,
    llvm::SUnit* SUJ)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:182

Parameters

llvm::SUnit* SUI
llvm::SUnit* SUJ

virtual bool isSoloInstruction(
    const llvm::MachineInstr& MI)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:166

Parameters

const llvm::MachineInstr& MI

virtual bool shouldAddToPacket(
    const llvm::MachineInstr& MI)

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:174

Parameters

const llvm::MachineInstr& MI

virtual ~VLIWPacketizerList()

Declared at: llvm/include/llvm/CodeGen/DFAPacketizer.h:131