LLVM 24.0.0git
llvm::NVPTXMachineFunctionInfo Class Reference

#include "Target/NVPTX/NVPTXMachineFunctionInfo.h"

Inheritance diagram for llvm::NVPTXMachineFunctionInfo:
[legend]

Public Member Functions

 NVPTXMachineFunctionInfo (const Function &F, const TargetSubtargetInfo *STI)
MachineFunctionInfoclone (BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
 Make a functionally equivalent copy of this MachineFunctionInfo in MF.
void addImageHandleSymbol (const MCSymbol *Symbol)
 Record that Symbol's handle was replaced with an image reference.
bool checkImageHandleSymbol (const MCSymbol *Symbol) const
 Check whether Symbol's handle was replaced with an image reference.
void addCallPrototype (unsigned Id, const CallBase *CB)
const std::map< unsigned, const CallBase * > & getCallPrototypes () const
Public Member Functions inherited from llvm::MachineFunctionInfo
virtual ~MachineFunctionInfo ()

Additional Inherited Members

Static Public Member Functions inherited from llvm::MachineFunctionInfo
template<typename FuncInfoTy, typename SubtargetTy = TargetSubtargetInfo>
static FuncInfoTy * create (BumpPtrAllocator &Allocator, const Function &F, const SubtargetTy *STI)
 Factory function: default behavior is to call new using the supplied allocator.
template<typename Ty>
static Ty * create (BumpPtrAllocator &Allocator, const Ty &MFI)

Detailed Description

Definition at line 25 of file NVPTXMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ NVPTXMachineFunctionInfo()

llvm::NVPTXMachineFunctionInfo::NVPTXMachineFunctionInfo ( const Function & F,
const TargetSubtargetInfo * STI )
inline

Definition at line 36 of file NVPTXMachineFunctionInfo.h.

References F.

Referenced by clone().

Member Function Documentation

◆ addCallPrototype()

void llvm::NVPTXMachineFunctionInfo::addCallPrototype ( unsigned Id,
const CallBase * CB )
inline

Definition at line 55 of file NVPTXMachineFunctionInfo.h.

◆ addImageHandleSymbol()

void llvm::NVPTXMachineFunctionInfo::addImageHandleSymbol ( const MCSymbol * Symbol)
inline

Record that Symbol's handle was replaced with an image reference.

Definition at line 46 of file NVPTXMachineFunctionInfo.h.

◆ checkImageHandleSymbol()

bool llvm::NVPTXMachineFunctionInfo::checkImageHandleSymbol ( const MCSymbol * Symbol) const
inline

Check whether Symbol's handle was replaced with an image reference.

Definition at line 51 of file NVPTXMachineFunctionInfo.h.

◆ clone()

MachineFunctionInfo * llvm::NVPTXMachineFunctionInfo::clone ( BumpPtrAllocator & Allocator,
MachineFunction & DestMF,
const DenseMap< MachineBasicBlock *, MachineBasicBlock * > & Src2DstMBB ) const
inlineoverridevirtual

Make a functionally equivalent copy of this MachineFunctionInfo in MF.

This requires remapping MachineBasicBlock references from the original parent to values in the new function. Targets may assume that virtual register and frame index values are preserved in the new function.

Reimplemented from llvm::MachineFunctionInfo.

Definition at line 39 of file NVPTXMachineFunctionInfo.h.

References Allocator, llvm::MachineFunction::cloneInfo(), and NVPTXMachineFunctionInfo().

◆ getCallPrototypes()

const std::map< unsigned, const CallBase * > & llvm::NVPTXMachineFunctionInfo::getCallPrototypes ( ) const
inline

Definition at line 59 of file NVPTXMachineFunctionInfo.h.


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