clang 20.0.0git
|
Functions | |
void | DefineStd (MacroBuilder &Builder, StringRef MacroName, const LangOptions &Opts) |
DefineStd - Define a macro name and standard variants. | |
void | defineCPUMacros (MacroBuilder &Builder, StringRef CPUName, bool Tuning) |
void | addCygMingDefines (const LangOptions &Opts, MacroBuilder &Builder) |
std::unique_ptr< TargetInfo > | AllocateTarget (const llvm::Triple &Triple, const TargetOptions &Opts) |
LLVM_LIBRARY_VISIBILITY void | DefineStd (clang::MacroBuilder &Builder, llvm::StringRef MacroName, const clang::LangOptions &Opts) |
DefineStd - Define a macro name and standard variants. | |
LLVM_LIBRARY_VISIBILITY void | defineCPUMacros (clang::MacroBuilder &Builder, llvm::StringRef CPUName, bool Tuning=true) |
void | getDarwinDefines (MacroBuilder &Builder, const LangOptions &Opts, const llvm::Triple &Triple, StringRef &PlatformName, VersionTuple &PlatformMinVersion) |
static void | addMinGWDefines (const llvm::Triple &Triple, const LangOptions &Opts, MacroBuilder &Builder) |
static void | addVisualCDefines (const LangOptions &Opts, MacroBuilder &Builder) |
void | addWindowsDefines (const llvm::Triple &Triple, const LangOptions &Opts, MacroBuilder &Builder) |
Variables | |
static const char *const | DataLayoutStringR600 |
static const char *const | DataLayoutStringAMDGCN |
static MCUInfo | AVRMcus [] |
static const unsigned | DirectXAddrSpaceMap [] |
static const unsigned | NVPTXAddrSpaceMap [] |
static const int | NVPTXDWARFAddrSpaceMap [] |
The DWARF address class. | |
static const unsigned | SPIRDefIsPrivMap [] |
static const unsigned | SPIRDefIsGenMap [] |
static const unsigned | ZOSAddressMap [] |
static const unsigned | TCEOpenCLAddrSpaceMap [] |
static const unsigned | WebAssemblyAddrSpaceMap [] |
static constexpr Builtin::Info | BuiltinInfoX86 [] |
static const char *const | GCCRegNames [] |
const TargetInfo::AddlRegName | AddlRegNames [] |
static const unsigned | X86AddrSpaceMap [] |
LLVM_LIBRARY_VISIBILITY void clang::targets::addCygMingDefines | ( | const LangOptions & | Opts, |
MacroBuilder & | Builder | ||
) |
Definition at line 82 of file Targets.cpp.
Referenced by addMinGWDefines(), clang::targets::CygwinX86_32TargetInfo::getTargetDefines(), and clang::targets::CygwinX86_64TargetInfo::getTargetDefines().
|
static |
Definition at line 125 of file OSTargets.cpp.
References addCygMingDefines(), and DefineStd().
Referenced by addWindowsDefines().
|
static |
Definition at line 138 of file OSTargets.cpp.
References clang::LangOptionsBase::FPE_Strict, clang::LangOptionsBase::FPM_Off, clang::LangOptions::getDefaultExceptionMode(), clang::LangOptions::getDefaultRoundingMode(), clang::LangOptions::isCompatibleWithMSVC(), clang::LangOptionsBase::MSVC2015, and clang::LangOptionsBase::MSVC2022_3.
Referenced by addWindowsDefines().
void clang::targets::addWindowsDefines | ( | const llvm::Triple & | Triple, |
const LangOptions & | Opts, | ||
MacroBuilder & | Builder | ||
) |
Definition at line 260 of file OSTargets.cpp.
References addMinGWDefines(), and addVisualCDefines().
Referenced by clang::targets::WindowsTargetInfo< Target >::getOSDefines().
LLVM_LIBRARY_VISIBILITY std::unique_ptr< clang::TargetInfo > clang::targets::AllocateTarget | ( | const llvm::Triple & | Triple, |
const TargetOptions & | Opts | ||
) |
Definition at line 111 of file Targets.cpp.
Referenced by clang::targets::BaseSPIRTargetInfo::BaseSPIRTargetInfo(), clang::TargetInfo::CreateTargetInfo(), and clang::targets::NVPTXTargetInfo::NVPTXTargetInfo().
LLVM_LIBRARY_VISIBILITY void clang::targets::defineCPUMacros | ( | clang::MacroBuilder & | Builder, |
llvm::StringRef | CPUName, | ||
bool | Tuning = true |
||
) |
void clang::targets::defineCPUMacros | ( | MacroBuilder & | Builder, |
StringRef | CPUName, | ||
bool | Tuning | ||
) |
LLVM_LIBRARY_VISIBILITY void clang::targets::DefineStd | ( | clang::MacroBuilder & | Builder, |
llvm::StringRef | MacroName, | ||
const clang::LangOptions & | Opts | ||
) |
DefineStd - Define a macro name and standard variants.
For example if MacroName is "unix", then this will define "__unix", "__unix__", and "unix" when in GNU mode.
void clang::targets::DefineStd | ( | MacroBuilder & | Builder, |
StringRef | MacroName, | ||
const LangOptions & | Opts | ||
) |
DefineStd - Define a macro name and standard variants.
For example if MacroName is "unix", then this will define "__unix", "__unix__", and "unix" when in GNU mode.
Definition at line 59 of file Targets.cpp.
Referenced by addMinGWDefines(), clang::targets::DragonFlyBSDTargetInfo< Target >::getOSDefines(), clang::targets::FreeBSDTargetInfo< Target >::getOSDefines(), clang::targets::KFreeBSDTargetInfo< Target >::getOSDefines(), clang::targets::HaikuTargetInfo< Target >::getOSDefines(), clang::targets::HurdTargetInfo< Target >::getOSDefines(), clang::targets::LinuxTargetInfo< Target >::getOSDefines(), clang::targets::OpenBSDTargetInfo< Target >::getOSDefines(), clang::targets::PSOSTargetInfo< Target >::getOSDefines(), clang::targets::SolarisTargetInfo< Target >::getOSDefines(), clang::targets::AIXTargetInfo< Target >::getOSDefines(), clang::targets::NaClTargetInfo< Target >::getOSDefines(), clang::targets::OHOSTargetInfo< Target >::getOSDefines(), clang::targets::CygwinARMTargetInfo::getTargetDefines(), clang::targets::DirectXTargetInfo::getTargetDefines(), clang::targets::M68kTargetInfo::getTargetDefines(), clang::targets::MipsTargetInfo::getTargetDefines(), clang::targets::SparcTargetInfo::getTargetDefines(), clang::targets::SPIRTargetInfo::getTargetDefines(), clang::targets::SPIR32TargetInfo::getTargetDefines(), clang::targets::SPIR64TargetInfo::getTargetDefines(), clang::targets::BaseSPIRVTargetInfo::getTargetDefines(), clang::targets::SPIRV32TargetInfo::getTargetDefines(), clang::targets::SPIRV64TargetInfo::getTargetDefines(), clang::targets::SPIRV64AMDGCNTargetInfo::getTargetDefines(), clang::targets::TCETargetInfo::getTargetDefines(), clang::targets::TCELETargetInfo::getTargetDefines(), clang::targets::X86TargetInfo::getTargetDefines(), clang::targets::CygwinX86_32TargetInfo::getTargetDefines(), and clang::targets::CygwinX86_64TargetInfo::getTargetDefines().
void clang::targets::getDarwinDefines | ( | MacroBuilder & | Builder, |
const LangOptions & | Opts, | ||
const llvm::Triple & | Triple, | ||
StringRef & | PlatformName, | ||
VersionTuple & | PlatformMinVersion | ||
) |
Definition at line 22 of file OSTargets.cpp.
References clang::SanitizerSet::has(), and clang::LangOptions::Sanitize.
Referenced by clang::targets::DarwinAArch64TargetInfo::getOSDefines(), clang::targets::DarwinARMTargetInfo::getOSDefines(), and clang::targets::DarwinTargetInfo< Target >::getOSDefines().
const TargetInfo::AddlRegName clang::targets::AddlRegNames[] |
Definition at line 71 of file X86.cpp.
Referenced by clang::targets::AVRTargetInfo::getGCCAddlRegNames(), and clang::targets::X86TargetInfo::getGCCAddlRegNames().
|
static |
Definition at line 32 of file AVR.cpp.
Referenced by clang::targets::AVRTargetInfo::fillValidCPUList(), clang::targets::AVRTargetInfo::isValidCPUName(), and clang::targets::AVRTargetInfo::setCPU().
|
staticconstexpr |
Definition at line 26 of file X86.cpp.
Referenced by clang::targets::X86_32TargetInfo::getTargetBuiltins(), and clang::targets::X86_64TargetInfo::getTargetBuiltins().
|
static |
Definition at line 34 of file AMDGPU.cpp.
Referenced by clang::targets::AMDGPUTargetInfo::AMDGPUTargetInfo().
|
static |
Definition at line 30 of file AMDGPU.cpp.
Referenced by clang::targets::AMDGPUTargetInfo::AMDGPUTargetInfo().
|
static |
Definition at line 23 of file DirectX.h.
Referenced by clang::targets::DirectXTargetInfo::DirectXTargetInfo().
|
static |
Definition at line 44 of file X86.cpp.
Referenced by clang::targets::CSKYTargetInfo::getGCCRegNames(), clang::targets::LoongArchTargetInfo::getGCCRegNames(), clang::targets::RISCVTargetInfo::getGCCRegNames(), and clang::targets::X86TargetInfo::getGCCRegNames().
|
static |
Definition at line 26 of file NVPTX.h.
Referenced by clang::targets::NVPTXTargetInfo::NVPTXTargetInfo().
|
static |
The DWARF address class.
Definition at line 55 of file NVPTX.h.
Referenced by clang::targets::NVPTXTargetInfo::getDWARFAddressSpace().
|
static |
Definition at line 56 of file SPIR.h.
Referenced by clang::targets::BaseSPIRTargetInfo::setAddressSpaceMap().
|
static |
Definition at line 28 of file SPIR.h.
Referenced by clang::targets::BaseSPIRTargetInfo::BaseSPIRTargetInfo(), and clang::targets::BaseSPIRTargetInfo::setAddressSpaceMap().
|
static |
Definition at line 32 of file TCE.h.
Referenced by clang::targets::TCETargetInfo::TCETargetInfo().
|
static |
Definition at line 24 of file WebAssembly.h.
Referenced by clang::targets::WebAssemblyTargetInfo::WebAssemblyTargetInfo().
|
static |
Definition at line 28 of file X86.h.
Referenced by clang::targets::X86TargetInfo::X86TargetInfo().
|
static |
Definition at line 24 of file SystemZ.h.
Referenced by clang::targets::SystemZTargetInfo::SystemZTargetInfo().