LLVM 20.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions
IFSStub.h File Reference

This file defines an internal representation of an InterFace Stub. More...

#include "llvm/Support/VersionTuple.h"
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

struct  llvm::ifs::IFSSymbol
 
struct  llvm::ifs::IFSTarget
 
struct  llvm::ifs::IFSStub
 
struct  llvm::ifs::IFSStubTriple
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::ifs
 

Typedefs

typedef uint16_t llvm::ifs::IFSArch
 

Enumerations

enum class  llvm::ifs::IFSSymbolType {
  llvm::ifs::NoType , llvm::ifs::Object , llvm::ifs::Func , llvm::ifs::TLS ,
  llvm::ifs::Unknown = 16
}
 
enum class  llvm::ifs::IFSEndiannessType { llvm::ifs::Little , llvm::ifs::Big , llvm::ifs::Unknown = 256 }
 
enum class  llvm::ifs::IFSBitWidthType { llvm::ifs::IFS32 , llvm::ifs::IFS64 , llvm::ifs::Unknown = 256 }
 

Functions

bool llvm::ifs::operator== (const IFSTarget &Lhs, const IFSTarget &Rhs)
 
bool llvm::ifs::operator!= (const IFSTarget &Lhs, const IFSTarget &Rhs)
 
uint8_t llvm::ifs::convertIFSBitWidthToELF (IFSBitWidthType BitWidth)
 This function convert bit width type from IFS enum to ELF format Currently, ELFCLASS32 and ELFCLASS64 are supported.
 
uint8_t llvm::ifs::convertIFSEndiannessToELF (IFSEndiannessType Endianness)
 This function convert endianness type from IFS enum to ELF format Currently, ELFDATA2LSB and ELFDATA2MSB are supported.
 
uint8_t llvm::ifs::convertIFSSymbolTypeToELF (IFSSymbolType SymbolType)
 This function convert symbol type from IFS enum to ELF format Currently, STT_NOTYPE, STT_OBJECT, STT_FUNC, and STT_TLS are supported.
 
IFSBitWidthType llvm::ifs::convertELFBitWidthToIFS (uint8_t BitWidth)
 This function extracts ELF bit width from e_ident[EI_CLASS] of an ELF file Currently, ELFCLASS32 and ELFCLASS64 are supported.
 
IFSEndiannessType llvm::ifs::convertELFEndiannessToIFS (uint8_t Endianness)
 This function extracts ELF endianness from e_ident[EI_DATA] of an ELF file Currently, ELFDATA2LSB and ELFDATA2MSB are supported.
 
IFSSymbolType llvm::ifs::convertELFSymbolTypeToIFS (uint8_t SymbolType)
 This function extracts symbol type from a symbol's st_info member and maps it to an IFSSymbolType enum.
 

Detailed Description

This file defines an internal representation of an InterFace Stub.

Definition in file IFSStub.h.