LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::resource_sort Struct Reference

Sorting functions for the Available queue. More...

#include "llvm/CodeGen/ResourcePriorityQueue.h"

Public Member Functions

 resource_sort (ResourcePriorityQueue *pq)
 
bool operator() (const SUnit *LHS, const SUnit *RHS) const
 This heuristic is used if DFA scheduling is not desired for some VLIW platform.
 

Public Attributes

ResourcePriorityQueuePQ
 

Detailed Description

Sorting functions for the Available queue.

Definition at line 30 of file ResourcePriorityQueue.h.

Constructor & Destructor Documentation

◆ resource_sort()

llvm::resource_sort::resource_sort ( ResourcePriorityQueue pq)
inlineexplicit

Definition at line 32 of file ResourcePriorityQueue.h.

Member Function Documentation

◆ operator()()

bool resource_sort::operator() ( const SUnit LHS,
const SUnit RHS 
) const

This heuristic is used if DFA scheduling is not desired for some VLIW platform.

Definition at line 175 of file ResourcePriorityQueue.cpp.

References llvm::ResourcePriorityQueue::getLatency(), llvm::ResourcePriorityQueue::getNumSolelyBlockNodes(), LHS, PQ, and RHS.

Member Data Documentation

◆ PQ

ResourcePriorityQueue* llvm::resource_sort::PQ

Definition at line 31 of file ResourcePriorityQueue.h.

Referenced by operator()().


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