LLVM API Documentation

Classes | Public Types | Public Member Functions
llvm::StackMaps Class Reference

#include <StackMaps.h>

List of all members.

Classes

struct  CallsiteInfo
struct  LiveOutReg
struct  Location

Public Types

enum  OpType { DirectMemRefOp, IndirectMemRefOp, ConstantOp }

Public Member Functions

 StackMaps (AsmPrinter &AP)
void reset ()
void recordStackMap (const MachineInstr &MI)
 Generate a stackmap record for a stackmap instruction.
void recordPatchPoint (const MachineInstr &MI)
 Generate a stackmap record for a patchpoint instruction.
void serializeToStackMapSection ()
 Serialize the stackmap data.

Detailed Description

Definition at line 84 of file StackMaps.h.


Member Enumeration Documentation

Enumerator:
DirectMemRefOp 
IndirectMemRefOp 
ConstantOp 

Definition at line 117 of file StackMaps.h.


Constructor & Destructor Documentation

Definition at line 74 of file StackMaps.cpp.

References llvm_unreachable, and StackMapVersion.


Member Function Documentation

Generate a stackmap record for a stackmap instruction.

MI must be a raw STACKMAP, not a PATCHPOINT.

Definition at line 249 of file StackMaps.cpp.

References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineInstr::operands_begin(), llvm::MachineInstr::operands_end(), and llvm::TargetOpcode::STACKMAP.

void llvm::StackMaps::reset ( ) [inline]

The documentation for this class was generated from the following files: