LLVM 22.0.0git
llvm::MachineModuleInfoImpl Class Reference

This class can be derived from and used by targets to hold private target-specific information for each Module. More...

#include "llvm/CodeGen/MachineModuleInfo.h"

Inheritance diagram for llvm::MachineModuleInfoImpl:
[legend]

Public Types

using StubValueTy = PointerIntPair<MCSymbol *, 1, bool>
using SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy>>
using ExprStubListTy = std::vector<std::pair<MCSymbol *, const MCExpr *>>
 A variant of SymbolListTy where the stub is a generalized MCExpr.

Public Member Functions

virtual ~MachineModuleInfoImpl ()

Static Protected Member Functions

static SymbolListTy getSortedStubs (DenseMap< MCSymbol *, StubValueTy > &)
 Return the entries from a DenseMap in a deterministic sorted orer.
static ExprStubListTy getSortedExprStubs (DenseMap< MCSymbol *, const MCExpr * > &)
 Return the entries from a DenseMap in a deterministic sorted orer.

Detailed Description

This class can be derived from and used by targets to hold private target-specific information for each Module.

Objects of type are accessed/created with MachineModuleInfo::getObjFileInfo and destroyed when the MachineModuleInfo is destroyed.

Definition at line 57 of file MachineModuleInfo.h.

Member Typedef Documentation

◆ ExprStubListTy

using llvm::MachineModuleInfoImpl::ExprStubListTy = std::vector<std::pair<MCSymbol *, const MCExpr *>>

A variant of SymbolListTy where the stub is a generalized MCExpr.

Definition at line 63 of file MachineModuleInfo.h.

◆ StubValueTy

◆ SymbolListTy

Definition at line 60 of file MachineModuleInfo.h.

Constructor & Destructor Documentation

◆ ~MachineModuleInfoImpl()

MachineModuleInfoImpl::~MachineModuleInfoImpl ( )
virtualdefault

Member Function Documentation

◆ getSortedExprStubs()

◆ getSortedStubs()


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