LLVM  14.0.0git
Classes | Namespaces | Functions
Support.h File Reference
#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"
Include dependency graph for Support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::mca::InstructionError< T >
class  llvm::mca::ResourceCycles
 This class represents the number of cycles per resource (fractions of cycles). More...


 This file implements support for optimizing divisions by a constant.


void llvm::mca::computeProcResourceMasks (const MCSchedModel &SM, MutableArrayRef< uint64_t > Masks)
 Populates vector Masks with processor resource masks. More...
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. More...

Detailed Description

Helper functions used by various pipeline components.

Definition in file Support.h.