LLVM 22.0.0git
StackMaps.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "stackmaps"

Functions

static uint64_t getConstMetaVal (const MachineInstr &MI, unsigned Idx)
static unsigned getDwarfRegNum (MCRegister Reg, const TargetRegisterInfo *TRI)
 Go up the super-register chain until we hit a valid dwarf register number.

Variables

static cl::opt< int > StackMapVersion ("stackmap-version", cl::init(3), cl::Hidden, cl::desc("Specify the stackmap encoding version (default = 3)"))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "stackmaps"

Definition at line 39 of file StackMaps.cpp.

Function Documentation

◆ getConstMetaVal()

◆ getDwarfRegNum()

unsigned getDwarfRegNum ( MCRegister Reg,
const TargetRegisterInfo * TRI )
static

Go up the super-register chain until we hit a valid dwarf register number.

Definition at line 194 of file StackMaps.cpp.

References assert(), llvm::isUInt(), Reg, and TRI.

Referenced by llvm::AArch64RegisterInfo::getOffsetOpcodes(), and llvm::RISCVRegisterInfo::getOffsetOpcodes().

Variable Documentation

◆ StackMapVersion

cl::opt< int > StackMapVersion("stackmap-version", cl::init(3), cl::Hidden, cl::desc("Specify the stackmap encoding version (default = 3)")) ( "stackmap-version" ,
cl::init(3) ,
cl::Hidden ,
cl::desc("Specify the stackmap encoding version (default = 3)")  )
static