clang 20.0.0git
Classes | Namespaces | Macros
CGDebugInfo.h File Reference
#include "CGBuilder.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExternalASTSource.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeOrdering.h"
#include "clang/Basic/ASTSourceDescriptor.h"
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/Support/Allocator.h"
#include <map>
#include <optional>
#include <string>
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
#include "clang/Basic/WebAssemblyReferenceTypes.def"
#include "clang/Basic/AMDGPUTypes.def"
#include "clang/Basic/HLSLIntangibleTypes.def"

Go to the source code of this file.

Classes

class  clang::CodeGen::CGDebugInfo
 This class gathers all debug information during compilation and is responsible for emitting to llvm globals or pass directly to the backend. More...
 
class  clang::CodeGen::ApplyDebugLocation
 A scoped helper to set the current debug location to the specified location or preferred location of the specified Expr. More...
 
class  clang::CodeGen::ApplyInlineDebugLocation
 A scoped helper to set the current debug location to an inlined location. More...
 

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::CodeGen
 

Macros

#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)    llvm::DIType *SingletonId = nullptr;
 
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext)    llvm::DIType *Id##Ty = nullptr;
 
#define WASM_TYPE(Name, Id, SingletonId)   llvm::DIType *SingletonId = nullptr;
 
#define AMDGPU_TYPE(Name, Id, SingletonId)   llvm::DIType *SingletonId = nullptr;
 
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId)    llvm::DIType *SingletonId = nullptr;
 

Macro Definition Documentation

◆ AMDGPU_TYPE

#define AMDGPU_TYPE (   Name,
  Id,
  SingletonId 
)    llvm::DIType *SingletonId = nullptr;

Definition at line 88 of file CGDebugInfo.h.

◆ EXT_OPAQUE_TYPE

#define EXT_OPAQUE_TYPE (   ExtType,
  Id,
  Ext 
)     llvm::DIType *Id##Ty = nullptr;

Definition at line 83 of file CGDebugInfo.h.

◆ HLSL_INTANGIBLE_TYPE

#define HLSL_INTANGIBLE_TYPE (   Name,
  Id,
  SingletonId 
)     llvm::DIType *SingletonId = nullptr;

Definition at line 90 of file CGDebugInfo.h.

◆ IMAGE_TYPE

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)     llvm::DIType *SingletonId = nullptr;

Definition at line 74 of file CGDebugInfo.h.

◆ WASM_TYPE

#define WASM_TYPE (   Name,
  Id,
  SingletonId 
)    llvm::DIType *SingletonId = nullptr;

Definition at line 86 of file CGDebugInfo.h.