LLVM 20.0.0git
Namespaces | Macros | Functions
InstrBuilder.cpp File Reference

This file implements the InstrBuilder interface. More...

#include "llvm/MCA/InstrBuilder.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/MC/MCInst.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Support/raw_ostream.h"

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-instrbuilder"
 

Functions

static void llvm::mca::initializeUsedResources (InstrDesc &ID, const MCSchedClassDesc &SCDesc, const MCSubtargetInfo &STI, ArrayRef< uint64_t > ProcResourceMasks)
 
static void llvm::mca::computeMaxLatency (InstrDesc &ID, const MCInstrDesc &MCDesc, const MCSchedClassDesc &SCDesc, const MCSubtargetInfo &STI, unsigned CallLatency)
 
static Error llvm::mca::verifyOperands (const MCInstrDesc &MCDesc, const MCInst &MCI)
 
hash_code llvm::mca::hashMCOperand (const MCOperand &MCO)
 
hash_code llvm::mca::hashMCInst (const MCInst &MCI)
 
 llvm::mca::STATISTIC (NumVariantInst, "Number of MCInsts that doesn't have static Desc")
 

Detailed Description

This file implements the InstrBuilder interface.

Definition in file InstrBuilder.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "llvm-mca-instrbuilder"

Definition at line 24 of file InstrBuilder.cpp.