class AggressiveAntiDepState

Declaration

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

Description

Contains all the state necessary for anti-dep breaking.

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:40

Method Overview

  • public AggressiveAntiDepState(const unsigned int TargetRegs, llvm::MachineBasicBlock * BB)
  • public std::vector<unsigned int> & GetDefIndices()
  • public unsigned int GetGroup(unsigned int Reg)
  • public void GetGroupRegs(unsigned int Group, std::vector<unsigned int> & Regs, std::multimap<unsigned int, AggressiveAntiDepState::RegisterReference> * RegRefs)
  • public std::vector<unsigned int> & GetKillIndices()
  • public std::multimap<unsigned int, RegisterReference> & GetRegRefs()
  • public bool IsLive(unsigned int Reg)
  • public unsigned int LeaveGroup(unsigned int Reg)
  • public unsigned int UnionGroups(unsigned int Reg1, unsigned int Reg2)

Methods

AggressiveAntiDepState(
    const unsigned int TargetRegs,
    llvm::MachineBasicBlock* BB)

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:80

Parameters

const unsigned int TargetRegs
llvm::MachineBasicBlock* BB

std::vector<unsigned int>& GetDefIndices()

Description

Return the define indices.

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:86

unsigned int GetGroup(unsigned int Reg)

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:93

Parameters

unsigned int Reg

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

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:97

Parameters

unsigned int Group
std::vector<unsigned int>& Regs
std::multimap< unsigned int, AggressiveAntiDepState::RegisterReference>* RegRefs

std::vector<unsigned int>& GetKillIndices()

Description

Return the kill indices.

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:83

std::multimap<unsigned int, RegisterReference>&
GetRegRefs()

Description

Return the RegRefs map.

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:89

bool IsLive(unsigned int Reg)

Description

Return true if Reg is live.

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:113

Parameters

unsigned int Reg

unsigned int LeaveGroup(unsigned int Reg)

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:110

Parameters

unsigned int Reg

unsigned int UnionGroups(unsigned int Reg1,
                         unsigned int Reg2)

Declared at: llvm/lib/CodeGen/AggressiveAntiDepBreaker.h:105

Parameters

unsigned int Reg1
unsigned int Reg2