LLVM  16.0.0git
Namespaces | Macros | Functions
Support.cpp File Reference
#include "llvm/MCA/Support.h"
#include "llvm/MC/MCSchedule.h"
#include <numeric>
Include dependency graph for Support.cpp:

Go to the source code of this file.


 This is an optimization pass for GlobalISel generic memory operations.


#define DEBUG_TYPE   "llvm-mca"


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

This file implements a few helper functions used by various pipeline components.

Definition in file Support.cpp.

Macro Definition Documentation


#define DEBUG_TYPE   "llvm-mca"

Definition at line 22 of file Support.cpp.