Go to the source code of this file.
|
void | extractInstructionFeatures (llvm::SmallVectorImpl< LRStartEndInfo > &LRPosInfo, MLModelRunner *RegallocRunner, function_ref< int(SlotIndex)> GetOpcode, function_ref< float(SlotIndex)> GetMBBFreq, function_ref< MachineBasicBlock *(SlotIndex)> GetMBBReference, const int InstructionsIndex, const int InstructionsMappingIndex, const int MBBFreqIndex, const int MBBMappingIndex, const SlotIndex LastIndex) |
|
void | extractMBBFrequency (const SlotIndex CurrentIndex, const size_t CurrentInstructionIndex, std::map< MachineBasicBlock *, size_t > &VisitedMBBs, function_ref< float(SlotIndex)> GetMBBFreq, MachineBasicBlock *CurrentMBBReference, MLModelRunner *RegallocRunner, const int MBBFreqIndex, const int MBBMappingIndex) |
|
◆ extractInstructionFeatures()
Definition at line 946 of file MLRegAllocEvictAdvisor.cpp.
References A, assert(), B, llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), End, extractMBBFrequency(), llvm::SlotIndex::getNextIndex(), llvm::MLModelRunner::getTensor(), ModelMaxSupportedInstructionCount, and llvm::SmallVectorBase< Size_T >::size().
◆ extractMBBFrequency()
◆ CandidateVirtRegPos
◆ InstructionsMappingShape
const std::vector<int64_t> InstructionsMappingShape |
|
static |
Initial value:{
static const int ModelMaxSupportedInstructionCount
static const int64_t NumberOfInterferences
Definition at line 82 of file MLRegAllocEvictAdvisor.h.
◆ InstructionsShape
const std::vector<int64_t> InstructionsShape |
|
static |
◆ MaxInterferences
const int64_t MaxInterferences = 32 |
|
static |
◆ MBBFrequencyShape
const std::vector<int64_t> MBBFrequencyShape |
|
static |
◆ ModelMaxSupportedInstructionCount
const int ModelMaxSupportedInstructionCount = 300 |
|
static |
◆ ModelMaxSupportedMBBCount
const int64_t ModelMaxSupportedMBBCount = 100 |
|
static |
◆ NumberOfInterferences