LLVM 22.0.0git
TargetDataLayout.cpp File Reference

Go to the source code of this file.

Functions

static StringRef getManglingComponent (const Triple &T)
static std::string computeARMDataLayout (const Triple &TT, StringRef ABIName)
static std::string computeAArch64DataLayout (const Triple &TT)
static std::string computeBPFDataLayout (const Triple &TT)
static std::string computeCSKYDataLayout (const Triple &TT)
static std::string computeLoongArchDataLayout (const Triple &TT)
static std::string computeM68kDataLayout (const Triple &TT)
static MipsABI getMipsABI (const Triple &TT, StringRef ABIName)
static std::string computeMipsDataLayout (const Triple &TT, StringRef ABIName)
static std::string computePowerDataLayout (const Triple &T)
static std::string computeAMDDataLayout (const Triple &TT)
static std::string computeRISCVDataLayout (const Triple &TT, StringRef ABIName)
static std::string computeSparcDataLayout (const Triple &T)
static std::string computeSystemZDataLayout (const Triple &TT)
static std::string computeX86DataLayout (const Triple &TT)
static std::string computeNVPTXDataLayout (const Triple &T, StringRef ABIName)
static std::string computeSPIRVDataLayout (const Triple &TT)
static std::string computeLanaiDataLayout ()
static std::string computeWebAssemblyDataLayout (const Triple &TT)
static std::string computeVEDataLayout (const Triple &T)

Function Documentation

◆ computeAArch64DataLayout()

std::string computeAArch64DataLayout ( const Triple & TT)
static

◆ computeAMDDataLayout()

std::string computeAMDDataLayout ( const Triple & TT)
static

Definition at line 258 of file TargetDataLayout.cpp.

References llvm::Triple::r600.

Referenced by llvm::Triple::computeDataLayout().

◆ computeARMDataLayout()

◆ computeBPFDataLayout()

std::string computeBPFDataLayout ( const Triple & TT)
static

Definition at line 102 of file TargetDataLayout.cpp.

References llvm::Triple::bpfeb.

Referenced by llvm::Triple::computeDataLayout().

◆ computeCSKYDataLayout()

std::string computeCSKYDataLayout ( const Triple & TT)
static

Definition at line 109 of file TargetDataLayout.cpp.

Referenced by llvm::Triple::computeDataLayout().

◆ computeLanaiDataLayout()

std::string computeLanaiDataLayout ( )
static

Definition at line 474 of file TargetDataLayout.cpp.

Referenced by llvm::Triple::computeDataLayout().

◆ computeLoongArchDataLayout()

std::string computeLoongArchDataLayout ( const Triple & TT)
static

Definition at line 118 of file TargetDataLayout.cpp.

References assert().

Referenced by llvm::Triple::computeDataLayout().

◆ computeM68kDataLayout()

std::string computeM68kDataLayout ( const Triple & TT)
static

Definition at line 125 of file TargetDataLayout.cpp.

Referenced by llvm::Triple::computeDataLayout().

◆ computeMipsDataLayout()

std::string computeMipsDataLayout ( const Triple & TT,
StringRef ABIName )
static

Definition at line 177 of file TargetDataLayout.cpp.

References getMipsABI().

Referenced by llvm::Triple::computeDataLayout().

◆ computeNVPTXDataLayout()

std::string computeNVPTXDataLayout ( const Triple & T,
StringRef ABIName )
static

Definition at line 431 of file TargetDataLayout.cpp.

References llvm::Triple::nvptx64, and T.

Referenced by llvm::Triple::computeDataLayout().

◆ computePowerDataLayout()

std::string computePowerDataLayout ( const Triple & T)
static

◆ computeRISCVDataLayout()

std::string computeRISCVDataLayout ( const Triple & TT,
StringRef ABIName )
static

Definition at line 277 of file TargetDataLayout.cpp.

References assert().

Referenced by llvm::Triple::computeDataLayout().

◆ computeSparcDataLayout()

std::string computeSparcDataLayout ( const Triple & T)
static

Definition at line 309 of file TargetDataLayout.cpp.

References llvm::Triple::sparcel, and T.

Referenced by llvm::Triple::computeDataLayout().

◆ computeSPIRVDataLayout()

◆ computeSystemZDataLayout()

std::string computeSystemZDataLayout ( const Triple & TT)
static

Definition at line 342 of file TargetDataLayout.cpp.

References getManglingComponent().

Referenced by llvm::Triple::computeDataLayout().

◆ computeVEDataLayout()

std::string computeVEDataLayout ( const Triple & T)
static

Definition at line 497 of file TargetDataLayout.cpp.

References T.

Referenced by llvm::Triple::computeDataLayout().

◆ computeWebAssemblyDataLayout()

std::string computeWebAssemblyDataLayout ( const Triple & TT)
static

Definition at line 485 of file TargetDataLayout.cpp.

References llvm::Triple::wasm64.

Referenced by llvm::Triple::computeDataLayout().

◆ computeX86DataLayout()

std::string computeX86DataLayout ( const Triple & TT)
static

Definition at line 381 of file TargetDataLayout.cpp.

References getManglingComponent().

Referenced by llvm::Triple::computeDataLayout().

◆ getManglingComponent()

StringRef getManglingComponent ( const Triple & T)
static

◆ getMipsABI()

MipsABI getMipsABI ( const Triple & TT,
StringRef ABIName )
static