LLVM 20.0.0git
|
Helper functions used by various pipeline components. More...
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCSchedule.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MathExtras.h"
Go to the source code of this file.
Classes | |
class | llvm::mca::InstructionError< T > |
class | llvm::mca::ReleaseAtCycles |
This class represents the number of cycles per resource (fractions of cycles). More... | |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::mca |
Functions | |
void | llvm::mca::computeProcResourceMasks (const MCSchedModel &SM, MutableArrayRef< uint64_t > Masks) |
Populates vector Masks with processor resource masks. | |
unsigned | llvm::mca::getResourceStateIndex (uint64_t Mask) |
double | llvm::mca::computeBlockRThroughput (const MCSchedModel &SM, unsigned DispatchWidth, unsigned NumMicroOps, ArrayRef< unsigned > ProcResourceUsage) |
Compute the reciprocal block throughput from a set of processor resource cycles. | |
Helper functions used by various pipeline components.
Definition in file Support.h.