clang 20.0.0git
Classes | Namespaces | Macros | Enumerations | Variables
TargetBuiltins.h File Reference

Enumerates target-specific builtins in their own namespaces within namespace clang. More...

#include <algorithm>
#include <stdint.h>
#include "clang/Basic/Builtins.h"
#include "llvm/Support/MathExtras.h"
#include "clang/Basic/BuiltinsNEON.def"
#include "clang/Basic/BuiltinsARM.def"
#include "clang/Basic/BuiltinsSVE.def"
#include "clang/Basic/BuiltinsSME.def"
#include "clang/Basic/BuiltinsAArch64.def"
#include "clang/Basic/BuiltinsBPF.inc"
#include "clang/Basic/BuiltinsPPC.def"
#include "clang/Basic/BuiltinsNVPTX.def"
#include "clang/Basic/BuiltinsAMDGPU.def"
#include "clang/Basic/BuiltinsX86.def"
#include "clang/Basic/BuiltinsX86.inc"
#include "clang/Basic/BuiltinsX86_64.def"
#include "clang/Basic/BuiltinsVE.def"
#include "clang/Basic/BuiltinsRISCVVector.def"
#include "clang/Basic/BuiltinsRISCV.inc"
#include "clang/Basic/BuiltinsLoongArch.def"
#include "clang/Basic/arm_immcheck_types.inc"
#include "clang/Basic/arm_sve_typeflags.inc"
#include "clang/Basic/BuiltinsHexagon.def"
#include "clang/Basic/BuiltinsMips.def"
#include "clang/Basic/BuiltinsXCore.def"
#include "clang/Basic/BuiltinsSystemZ.def"
#include "clang/Basic/BuiltinsWebAssembly.def"

Go to the source code of this file.

Classes

class  clang::NeonTypeFlags
 Flags to identify the types for overloaded Neon builtins. More...
 
class  clang::SVETypeFlags
 Flags to identify the types for overloaded SVE builtins. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::NEON
 
namespace  clang::ARM
 ARM builtins.
 
namespace  clang::SVE
 
namespace  clang::SME
 
namespace  clang::AArch64
 AArch64 builtins.
 
namespace  clang::BPF
 BPF builtins.
 
namespace  clang::PPC
 PPC builtins.
 
namespace  clang::NVPTX
 NVPTX builtins.
 
namespace  clang::AMDGPU
 AMDGPU builtins.
 
namespace  clang::X86
 X86 builtins.
 
namespace  clang::VE
 VE builtins.
 
namespace  clang::RISCVVector
 
namespace  clang::RISCV
 RISCV builtins.
 
namespace  clang::LoongArch
 LoongArch builtins.
 
namespace  clang::Hexagon
 Hexagon builtins.
 
namespace  clang::Mips
 MIPS builtins.
 
namespace  clang::XCore
 XCore builtins.
 
namespace  clang::SystemZ
 SystemZ builtins.
 
namespace  clang::WebAssembly
 WebAssembly builtins.
 

Macros

#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define LLVM_GET_ARM_INTRIN_IMMCHECKTYPES
 
#define LLVM_GET_SVE_TYPEFLAGS
 
#define LLVM_GET_SVE_ELTTYPES
 
#define LLVM_GET_SVE_MEMELTTYPES
 
#define LLVM_GET_SVE_MERGETYPES
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 
#define BUILTIN(ID, TYPE, ATTRS)   BI##ID,
 

Enumerations

enum  { clang::NEON::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::NEON::FirstTSBuiltin }
 
enum  { clang::ARM::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::ARM::LastNEONBuiltin = NEON::FirstTSBuiltin - 1 , clang::ARM::LastTSBuiltin }
 
enum  { clang::SVE::LastNEONBuiltin = NEON::FirstTSBuiltin - 1 , clang::SVE::FirstTSBuiltin }
 
enum  { clang::SME::LastSVEBuiltin = SVE::FirstTSBuiltin - 1 , clang::SME::FirstTSBuiltin }
 
enum  {
  clang::AArch64::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::AArch64::LastNEONBuiltin = NEON::FirstTSBuiltin - 1 , clang::AArch64::FirstSVEBuiltin = NEON::FirstTSBuiltin , clang::AArch64::LastSVEBuiltin = SVE::FirstTSBuiltin - 1 ,
  clang::AArch64::FirstSMEBuiltin = SVE::FirstTSBuiltin , clang::AArch64::LastSMEBuiltin = SME::FirstTSBuiltin - 1 , clang::AArch64::LastTSBuiltin
}
 
enum  { clang::BPF::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::BPF::LastTSBuiltin }
 
enum  { clang::PPC::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::PPC::LastTSBuiltin }
 
enum  { clang::NVPTX::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::NVPTX::LastTSBuiltin }
 
enum  { clang::AMDGPU::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::AMDGPU::LastTSBuiltin }
 
enum  { clang::X86::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::X86::FirstX86_64Builtin , clang::X86::LastX86CommonBuiltin = FirstX86_64Builtin - 1 , clang::X86::LastTSBuiltin }
 
enum  { clang::VE::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::VE::LastTSBuiltin }
 
enum  { clang::RISCVVector::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::RISCVVector::FirstTSBuiltin }
 
enum  { clang::RISCV::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::RISCV::FirstRVVBuiltin = clang::Builtin::FirstTSBuiltin , clang::RISCV::LastRVVBuiltin = RISCVVector::FirstTSBuiltin - 1 , clang::RISCV::LastTSBuiltin }
 
enum  { clang::LoongArch::LastTIBuiltin = clang::Builtin::FirstTSBuiltin - 1 , clang::LoongArch::LastTSBuiltin }
 
enum  clang::ImmCheckType
 
enum  { clang::Hexagon::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::Hexagon::LastTSBuiltin }
 
enum  { clang::Mips::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::Mips::LastTSBuiltin }
 
enum  { clang::XCore::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::XCore::LastTSBuiltin }
 
enum  { clang::SystemZ::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::SystemZ::LastTSBuiltin }
 
enum  { clang::WebAssembly::LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1 , clang::WebAssembly::LastTSBuiltin }
 

Variables

static constexpr uint64_t clang::LargestBuiltinID
 

Detailed Description

Enumerates target-specific builtins in their own namespaces within namespace clang.

Definition in file TargetBuiltins.h.

Macro Definition Documentation

◆ BUILTIN [1/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [2/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [3/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [4/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [5/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [6/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [7/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [8/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [9/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [10/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [11/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [12/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [13/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [14/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [15/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [16/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [17/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [18/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [19/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [20/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ BUILTIN [21/21]

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)    BI##ID,

Definition at line 389 of file TargetBuiltins.h.

◆ LLVM_GET_ARM_INTRIN_IMMCHECKTYPES

#define LLVM_GET_ARM_INTRIN_IMMCHECKTYPES

Definition at line 247 of file TargetBuiltins.h.

◆ LLVM_GET_SVE_ELTTYPES

#define LLVM_GET_SVE_ELTTYPES

Definition at line 266 of file TargetBuiltins.h.

◆ LLVM_GET_SVE_MEMELTTYPES

#define LLVM_GET_SVE_MEMELTTYPES

Definition at line 272 of file TargetBuiltins.h.

◆ LLVM_GET_SVE_MERGETYPES

#define LLVM_GET_SVE_MERGETYPES

Definition at line 278 of file TargetBuiltins.h.

◆ LLVM_GET_SVE_TYPEFLAGS

#define LLVM_GET_SVE_TYPEFLAGS

Definition at line 261 of file TargetBuiltins.h.

◆ TARGET_BUILTIN [1/3]

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)    BI##ID,

Definition at line 61 of file TargetBuiltins.h.

◆ TARGET_BUILTIN [2/3]

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)    BI##ID,

Definition at line 61 of file TargetBuiltins.h.

◆ TARGET_BUILTIN [3/3]

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)    BI##ID,

Definition at line 61 of file TargetBuiltins.h.