LLVM 22.0.0git
InstrBuilder.cpp File Reference

This file implements the InstrBuilder interface. More...

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 MCSchedClassDesc &SCDesc, const MCSubtargetInfo &STI, unsigned CallLatency, bool IsCall)
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.