LLVM 20.0.0git
Public Types | Public Member Functions | Static Protected Member Functions | List of all members
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:
Inheritance graph
[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 56 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 62 of file MachineModuleInfo.h.

◆ StubValueTy

Definition at line 58 of file MachineModuleInfo.h.

◆ SymbolListTy

using llvm::MachineModuleInfoImpl::SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy> >

Definition at line 59 of file MachineModuleInfo.h.

Constructor & Destructor Documentation

◆ ~MachineModuleInfoImpl()

MachineModuleInfoImpl::~MachineModuleInfoImpl ( )
virtualdefault

Member Function Documentation

◆ getSortedExprStubs()

MachineModuleInfoImpl::ExprStubListTy MachineModuleInfoImpl::getSortedExprStubs ( DenseMap< MCSymbol *, const MCExpr * > &  ExprStubs)
staticprotected

◆ getSortedStubs()

MachineModuleInfoImpl::SymbolListTy MachineModuleInfoImpl::getSortedStubs ( DenseMap< MCSymbol *, StubValueTy > &  Map)
staticprotected

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