LLVM: lib/MCA/Support.cpp File Reference (original) (raw)
This file implements a few helper functions used by various pipeline components. More...
#include "[llvm/MCA/Support.h](llvm%5F2MCA%5F2Support%5F8h%5Fsource.html)"#include "[llvm/MC/MCSchedule.h](MCSchedule%5F8h%5Fsource.html)"#include <numeric>
Go to the source code of this file.
| Namespaces | |
|---|---|
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::mca |
| Macros | |
|---|---|
| #define | DEBUG_TYPE "llvm-mca" |
| Functions | |
|---|---|
| LLVM_ABI void | llvm::mca::computeProcResourceMasks (const MCSchedModel &SM, MutableArrayRef< uint64_t > Masks) |
| Populates vector Masks with processor resource masks. | |
| LLVM_ABI 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. |
Detailed Description
This file implements a few helper functions used by various pipeline components.
Definition in file Support.cpp.
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "llvm-mca"
Definition at line 22 of file Support.cpp.