LLVM API Documentation

Public Member Functions | Public Attributes
llvm::resource_sort Struct Reference

Sorting functions for the Available queue. More...

#include <ResourcePriorityQueue.h>

Inheritance diagram for llvm::resource_sort:
Inheritance graph
[legend]
Collaboration diagram for llvm::resource_sort:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 resource_sort (ResourcePriorityQueue *pq)
bool operator() (const SUnit *left, const SUnit *right) const

Public Attributes

ResourcePriorityQueuePQ

Detailed Description

Sorting functions for the Available queue.

Definition at line 31 of file ResourcePriorityQueue.h.


Constructor & Destructor Documentation

Definition at line 33 of file ResourcePriorityQueue.h.


Member Function Documentation

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 184 of file ResourcePriorityQueue.cpp.

References llvm::ResourcePriorityQueue::getLatency(), llvm::ResourcePriorityQueue::getNumSolelyBlockNodes(), llvm::SUnit::isScheduleHigh, llvm::SUnit::NodeNum, and PQ.


Member Data Documentation

Definition at line 32 of file ResourcePriorityQueue.h.

Referenced by operator()().


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