#include "CodeGenTypes.h"
#include "CGCXXABI.h"
#include "CGCall.h"
#include "CGDebugInfo.h"
#include "CGHLSLRuntime.h"
#include "CGOpenCLRuntime.h"
#include "CGRecordLayout.h"
#include "TargetInfo.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/RecordLayout.h"
#include "clang/CodeGen/CGFunctionInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Module.h"
#include "clang/AST/TypeNodes.inc"
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
#include "clang/Basic/AArch64ACLETypes.def"
#include "clang/Basic/PPCTypes.def"
#include "clang/Basic/RISCVVTypes.def"
#include "clang/Basic/WebAssemblyReferenceTypes.def"
#include "clang/Basic/AMDGPUTypes.def"
#include "clang/Basic/HLSLIntangibleTypes.def"
#include "clang/AST/BuiltinTypes.def"
Go to the source code of this file.
|
| #define | TYPE(Class, Base) |
| #define | ABSTRACT_TYPE(Class, Base) |
| #define | NON_CANONICAL_TYPE(Class, Base) |
| #define | DEPENDENT_TYPE(Class, Base) |
| #define | NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) |
| #define | IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) |
| #define | EXT_OPAQUE_TYPE(ExtType, Id, Ext) |
| #define | SVE_VECTOR_TYPE(Name, MangledName, Id, SingletonId) |
| #define | SVE_PREDICATE_TYPE(Name, MangledName, Id, SingletonId) |
| #define | PPC_VECTOR_TYPE(Name, Id, Size) |
| #define | RVV_TYPE(Name, Id, SingletonId) |
| #define | WASM_REF_TYPE(Name, MangledName, Id, SingletonId, AS) |
| #define | AMDGPU_OPAQUE_PTR_TYPE(Name, Id, SingletonId, Width, Align, AS) |
| #define | AMDGPU_NAMED_BARRIER_TYPE(Name, Id, SingletonId, Width, Align, Scope) |
| #define | HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) |
| #define | BUILTIN_TYPE(Id, SingletonId) |
| #define | PLACEHOLDER_TYPE(Id, SingletonId) |
|
| static llvm::Type * | getTypeForFormat (llvm::LLVMContext &VMContext, const llvm::fltSemantics &format, bool UseNativeHalf=false) |
◆ ABSTRACT_TYPE
| #define ABSTRACT_TYPE |
( |
| Class, |
|
|
| Base ) |
◆ AMDGPU_NAMED_BARRIER_TYPE
| #define AMDGPU_NAMED_BARRIER_TYPE |
( |
| Name, |
|
|
| Id, |
|
|
| SingletonId, |
|
|
| Width, |
|
|
| Align, |
|
|
| Scope ) |
Value: case BuiltinType::Id: \
return llvm::TargetExtType::get(getLLVMContext(), "amdgcn.named.barrier", \
Scope - A scope is a transient data structure that is used while parsing the program.
◆ AMDGPU_OPAQUE_PTR_TYPE
| #define AMDGPU_OPAQUE_PTR_TYPE |
( |
| Name, |
|
|
| Id, |
|
|
| SingletonId, |
|
|
| Width, |
|
|
| Align, |
|
|
| AS ) |
Value: case BuiltinType::Id: \
return llvm::PointerType::get(getLLVMContext(), AS);
◆ BUILTIN_TYPE
| #define BUILTIN_TYPE |
( |
| Id, |
|
|
| SingletonId ) |
◆ DEPENDENT_TYPE
| #define DEPENDENT_TYPE |
( |
| Class, |
|
|
| Base ) |
◆ EXT_OPAQUE_TYPE
| #define EXT_OPAQUE_TYPE |
( |
| ExtType, |
|
|
| Id, |
|
|
| Ext ) |
◆ HLSL_INTANGIBLE_TYPE
| #define HLSL_INTANGIBLE_TYPE |
( |
| Name, |
|
|
| Id, |
|
|
| SingletonId ) |
◆ IMAGE_TYPE
| #define IMAGE_TYPE |
( |
| ImgType, |
|
|
| Id, |
|
|
| SingletonId, |
|
|
| Access, |
|
|
| Suffix ) |
◆ NON_CANONICAL_TYPE
| #define NON_CANONICAL_TYPE |
( |
| Class, |
|
|
| Base ) |
◆ NON_CANONICAL_UNLESS_DEPENDENT_TYPE
| #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE |
( |
| Class, |
|
|
| Base ) |
◆ PLACEHOLDER_TYPE
| #define PLACEHOLDER_TYPE |
( |
| Id, |
|
|
| SingletonId ) |
◆ PPC_VECTOR_TYPE
| #define PPC_VECTOR_TYPE |
( |
| Name, |
|
|
| Id, |
|
|
| Size ) |
Value: case BuiltinType::Id: \
ResultType = \
llvm::FixedVectorType::get(ConvertType(Context.BoolTy), Size); \
break;
◆ RVV_TYPE
| #define RVV_TYPE |
( |
| Name, |
|
|
| Id, |
|
|
| SingletonId ) |
◆ SVE_PREDICATE_TYPE
| #define SVE_PREDICATE_TYPE |
( |
| Name, |
|
|
| MangledName, |
|
|
| Id, |
|
|
| SingletonId ) |
◆ SVE_VECTOR_TYPE
| #define SVE_VECTOR_TYPE |
( |
| Name, |
|
|
| MangledName, |
|
|
| Id, |
|
|
| SingletonId ) |
◆ TYPE
| #define TYPE |
( |
| Class, |
|
|
| Base ) |
◆ WASM_REF_TYPE
| #define WASM_REF_TYPE |
( |
| Name, |
|
|
| MangledName, |
|
|
| Id, |
|
|
| SingletonId, |
|
|
| AS ) |
Value: case BuiltinType::Id: { \
if (BuiltinType::Id == BuiltinType::WasmExternRef) \
ResultType = CGM.getTargetCodeGenInfo().getWasmExternrefReferenceType(); \
else \
llvm_unreachable("Unexpected wasm reference builtin type!"); \
} break;
◆ getTypeForFormat()
| llvm::Type * getTypeForFormat |
( |
llvm::LLVMContext & | VMContext, |
|
|
const llvm::fltSemantics & | format, |
|
|
bool | UseNativeHalf = false ) |
|
static |