clang 19.0.0git
Classes | Namespaces | Macros | Enumerations
TargetInfo.h File Reference

Defines the clang::TargetInfo interface. More...

#include "clang/Basic/AddressSpaces.h"
#include "clang/Basic/BitmaskEnum.h"
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Basic/TargetCXXABI.h"
#include "clang/Basic/TargetOptions.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Frontend/OpenMP/OMPGridValues.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/VersionTuple.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <optional>
#include <string>
#include <vector>
#include "clang/Basic/OpenCLExtensions.def"

Go to the source code of this file.

Classes

struct  clang::ParsedTargetAttr
 Contains information gathered from parsing the contents of TargetAttr. More...
 
struct  clang::TransferrableTargetInfo
 Fields controlling how types are laid out in memory; these may need to be copied for targets like AMDGPU that base their ABIs on an auxiliary CPU target. More...
 
class  clang::TargetInfo
 Exposes information about the current target. More...
 
struct  clang::TargetInfo::ConstraintInfo
 
struct  clang::TargetInfo::GCCRegAlias
 
struct  clang::TargetInfo::AddlRegName
 
struct  clang::TargetInfo::BranchProtectionInfo
 

Namespaces

namespace  llvm
 YAML serialization mapping.
 
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::Builtin
 

Macros

#define OPENCLEXTNAME(Ext)    setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
 

Enumerations

enum class  clang::FloatModeKind {
  clang::NoFloat = 0 , clang::Half = 1 << 0 , clang::Float = 1 << 1 , clang::Double = 1 << 2 ,
  clang::LongDouble = 1 << 3 , clang::Float128 = 1 << 4 , clang::Ibm128 = 1 << 5
}
 
enum  clang::OpenCLTypeKind : uint8_t {
  clang::OCLTK_Default , clang::OCLTK_ClkEvent , clang::OCLTK_Event , clang::OCLTK_Image ,
  clang::OCLTK_Pipe , clang::OCLTK_Queue , clang::OCLTK_ReserveID , clang::OCLTK_Sampler
}
 OpenCL type kinds. More...
 

Detailed Description

Defines the clang::TargetInfo interface.

Definition in file TargetInfo.h.

Macro Definition Documentation

◆ OPENCLEXTNAME

#define OPENCLEXTNAME (   Ext)     setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);