LLVM 19.0.0git
Namespaces | Macros | Functions
Support.cpp File Reference

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

#include "llvm/MCA/Support.h"
#include "llvm/MC/MCSchedule.h"
#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

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