LLVM 20.0.0git
|
#include "llvm/CodeGen/DFAPacketizer.h"
Protected Attributes | |
MachineFunction & | MF |
const TargetInstrInfo * | TII |
AAResults * | AA |
DefaultVLIWScheduler * | VLIWScheduler |
std::vector< MachineInstr * > | CurrentPacketMIs |
DFAPacketizer * | ResourceTracker |
std::map< MachineInstr *, SUnit * > | MIToSUnit |
Definition at line 136 of file DFAPacketizer.h.
VLIWPacketizerList::VLIWPacketizerList | ( | MachineFunction & | MF, |
MachineLoopInfo & | MLI, | ||
AAResults * | AA | ||
) |
Definition at line 118 of file DFAPacketizer.cpp.
References AA, llvm::TargetInstrInfo::CreateTargetScheduleState(), llvm::MachineFunction::getSubtarget(), MF, ResourceTracker, llvm::DFAPacketizer::setTrackResources(), TII, and VLIWScheduler.
|
delete |
|
virtual |
Definition at line 126 of file DFAPacketizer.cpp.
References ResourceTracker, and VLIWScheduler.
void VLIWPacketizerList::addMutation | ( | std::unique_ptr< ScheduleDAGMutation > | Mutation | ) |
Definition at line 286 of file DFAPacketizer.cpp.
References llvm::DefaultVLIWScheduler::addMutation(), Mutation, and VLIWScheduler.
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 168 of file DFAPacketizer.h.
References CurrentPacketMIs, MI, llvm::DFAPacketizer::reserveResources(), and ResourceTracker.
Referenced by PacketizeMIs().
bool VLIWPacketizerList::alias | ( | const MachineInstr & | MI1, |
const MachineInstr & | MI2, | ||
bool | UseTBAA = true |
||
) | const |
Definition at line 272 of file DFAPacketizer.cpp.
References alias(), llvm::MachineInstr::memoperands(), llvm::MachineInstr::memoperands_empty(), and UseTBAA.
Referenced by alias(), and llvm::HexagonPacketizerList::isLegalToPacketizeTogether().
|
virtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 132 of file DFAPacketizer.cpp.
References CurrentPacketMIs, and LLVM_DEBUG.
Referenced by PacketizeMIs().
|
inline |
Definition at line 165 of file DFAPacketizer.h.
References ResourceTracker.
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 185 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 182 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 203 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 208 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 192 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
delete |
void VLIWPacketizerList::PacketizeMIs | ( | MachineBasicBlock * | MBB, |
MachineBasicBlock::iterator | BeginItr, | ||
MachineBasicBlock::iterator | EndItr | ||
) |
Definition at line 154 of file DFAPacketizer.cpp.
References addToPacket(), assert(), llvm::DFAPacketizer::canReserveResources(), CurrentPacketMIs, llvm::dbgs(), llvm::ScheduleDAGInstrs::dump(), endPacket(), llvm::ScheduleDAGInstrs::enterRegion(), llvm::ScheduleDAGInstrs::exitRegion(), llvm::ScheduleDAGInstrs::finishBlock(), llvm::SUnit::getInstr(), ignorePseudoInstruction(), initPacketizerState(), InstrCount, InstrLimit, isLegalToPacketizeTogether(), isLegalToPruneDependencies(), isSoloInstruction(), LLVM_DEBUG, MBB, MI, MIToSUnit, ResourceTracker, llvm::DefaultVLIWScheduler::schedule(), shouldAddToPacket(), llvm::ScheduleDAGInstrs::startBlock(), llvm::ScheduleDAG::SUnits, and VLIWScheduler.
|
inlinevirtual |
Reimplemented in llvm::HexagonPacketizerList.
Definition at line 200 of file DFAPacketizer.h.
Referenced by PacketizeMIs().
|
protected |
Definition at line 140 of file DFAPacketizer.h.
Referenced by VLIWPacketizerList().
|
protected |
Definition at line 145 of file DFAPacketizer.h.
Referenced by addToPacket(), llvm::HexagonPacketizerList::addToPacket(), llvm::HexagonPacketizerList::arePredicatesComplements(), llvm::HexagonPacketizerList::calcStall(), llvm::HexagonPacketizerList::canPromoteToDotCur(), llvm::HexagonPacketizerList::canPromoteToNewValueStore(), llvm::HexagonPacketizerList::cleanUpDotCur(), endPacket(), llvm::HexagonPacketizerList::endPacket(), llvm::HexagonPacketizerList::foundLSInPacket(), llvm::HexagonPacketizerList::isLegalToPacketizeTogether(), PacketizeMIs(), llvm::HexagonPacketizerList::restrictingDepExistInPacket(), and llvm::HexagonPacketizerList::shouldAddToPacket().
|
protected |
Definition at line 138 of file DFAPacketizer.h.
Referenced by llvm::HexagonPacketizerList::canPromoteToDotCur(), llvm::HexagonPacketizerList::canPromoteToDotNew(), llvm::HexagonPacketizerList::canPromoteToNewValueStore(), llvm::HexagonPacketizerList::isLegalToPacketizeTogether(), llvm::HexagonPacketizerList::tryAllocateResourcesForConstExt(), llvm::HexagonPacketizerList::unpacketizeSoloInstrs(), llvm::HexagonPacketizerList::useCalleesSP(), llvm::HexagonPacketizerList::useCallersSP(), and VLIWPacketizerList().
|
protected |
|
protected |
Definition at line 147 of file DFAPacketizer.h.
Referenced by addToPacket(), llvm::HexagonPacketizerList::addToPacket(), llvm::HexagonPacketizerList::canPromoteToDotNew(), getResourceTracker(), llvm::HexagonPacketizerList::ignorePseudoInstruction(), PacketizeMIs(), llvm::HexagonPacketizerList::shouldAddToPacket(), llvm::HexagonPacketizerList::tryAllocateResourcesForConstExt(), VLIWPacketizerList(), and ~VLIWPacketizerList().
|
protected |
Definition at line 139 of file DFAPacketizer.h.
Referenced by VLIWPacketizerList().
|
protected |
Definition at line 143 of file DFAPacketizer.h.
Referenced by addMutation(), PacketizeMIs(), VLIWPacketizerList(), and ~VLIWPacketizerList().