clang
15.0.0git
|
Functions | |
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) |
void | DefineStd (MacroBuilder &Builder, StringRef MacroName, const LangOptions &Opts) |
DefineStd - Define a macro name and standard variants. More... | |
void | defineCPUMacros (MacroBuilder &Builder, StringRef CPUName, bool Tuning) |
void | addCygMingDefines (const LangOptions &Opts, MacroBuilder &Builder) |
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. More... | |
LLVM_LIBRARY_VISIBILITY void | defineCPUMacros (clang::MacroBuilder &Builder, llvm::StringRef CPUName, bool Tuning=true) |
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. More... | |
static const unsigned | SPIRDefIsPrivMap [] |
static const unsigned | SPIRDefIsGenMap [] |
static const unsigned | TCEOpenCLAddrSpaceMap [] |
const 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 81 of file Targets.cpp.
|
static |
Definition at line 153 of file OSTargets.cpp.
|
static |
Definition at line 166 of file OSTargets.cpp.
void clang::targets::addWindowsDefines | ( | const llvm::Triple & | Triple, |
const LangOptions & | Opts, | ||
MacroBuilder & | Builder | ||
) |
Definition at line 230 of file OSTargets.cpp.
LLVM_LIBRARY_VISIBILITY clang::TargetInfo * clang::targets::AllocateTarget | ( | const llvm::Triple & | Triple, |
const TargetOptions & | Opts | ||
) |
Definition at line 109 of file Targets.cpp.
Referenced by 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 | ||
) |
Definition at line 74 of file Targets.cpp.
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 58 of file Targets.cpp.
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.
const TargetInfo::AddlRegName clang::targets::AddlRegNames[] |
Definition at line 68 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().
const Builtin::Info clang::targets::BuiltinInfoX86[] |
Definition at line 25 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 43 of file X86.cpp.
Referenced by clang::targets::ARCTargetInfo::getGCCRegNames(), clang::targets::XCoreTargetInfo::getGCCRegNames(), clang::targets::RISCVTargetInfo::getGCCRegNames(), clang::targets::AVRTargetInfo::getGCCRegNames(), clang::targets::VETargetInfo::getGCCRegNames(), clang::targets::CSKYTargetInfo::getGCCRegNames(), clang::targets::X86TargetInfo::getGCCRegNames(), and clang::targets::MipsTargetInfo::getGCCRegNames().
|
static |
Definition at line 25 of file NVPTX.h.
Referenced by clang::targets::NVPTXTargetInfo::NVPTXTargetInfo().
|
static |
The DWARF address class.
Definition at line 50 of file NVPTX.h.
Referenced by clang::targets::NVPTXTargetInfo::getDWARFAddressSpace().
|
static |
Definition at line 49 of file SPIR.h.
Referenced by clang::targets::BaseSPIRTargetInfo::setAddressSpaceMap().
|
static |
Definition at line 25 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 26 of file X86.h.
Referenced by clang::targets::X86TargetInfo::X86TargetInfo().