LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::FunctionImporter::ImportIDTable Class Reference

#include "llvm/Transforms/IPO/FunctionImport.h"

Public Types

using ImportIDTy = uint32_t
 

Public Member Functions

 ImportIDTable ()=default
 
 ImportIDTable (const ImportIDTable &)=delete
 
ImportIDTableoperator= (const ImportIDTable &)=delete
 
std::pair< ImportIDTy, ImportIDTycreateImportIDs (StringRef FromModule, GlobalValue::GUID GUID)
 
std::optional< std::pair< ImportIDTy, ImportIDTy > > getImportIDs (StringRef FromModule, GlobalValue::GUID GUID)
 
std::tuple< StringRef, GlobalValue::GUID, GlobalValueSummary::ImportKindlookup (ImportIDTy ImportID) const
 
std::tuple< StringRef, GlobalValue::GUID, GlobalValueSummary::ImportKindoperator() (ImportIDTable::ImportIDTy ImportID) const
 

Detailed Description

Definition at line 110 of file FunctionImport.h.

Member Typedef Documentation

◆ ImportIDTy

Definition at line 112 of file FunctionImport.h.

Constructor & Destructor Documentation

◆ ImportIDTable() [1/2]

llvm::FunctionImporter::ImportIDTable::ImportIDTable ( )
default

◆ ImportIDTable() [2/2]

llvm::FunctionImporter::ImportIDTable::ImportIDTable ( const ImportIDTable )
delete

Member Function Documentation

◆ createImportIDs()

std::pair< ImportIDTy, ImportIDTy > llvm::FunctionImporter::ImportIDTable::createImportIDs ( StringRef  FromModule,
GlobalValue::GUID  GUID 
)
inline

◆ getImportIDs()

std::optional< std::pair< ImportIDTy, ImportIDTy > > llvm::FunctionImporter::ImportIDTable::getImportIDs ( StringRef  FromModule,
GlobalValue::GUID  GUID 
)
inline

Definition at line 133 of file FunctionImport.h.

◆ lookup()

std::tuple< StringRef, GlobalValue::GUID, GlobalValueSummary::ImportKind > llvm::FunctionImporter::ImportIDTable::lookup ( ImportIDTy  ImportID) const
inline

◆ operator()()

std::tuple< StringRef, GlobalValue::GUID, GlobalValueSummary::ImportKind > llvm::FunctionImporter::ImportIDTable::operator() ( ImportIDTable::ImportIDTy  ImportID) const
inline

Definition at line 156 of file FunctionImport.h.

References lookup().

◆ operator=()

ImportIDTable & llvm::FunctionImporter::ImportIDTable::operator= ( const ImportIDTable )
delete

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