clang 22.0.0git
|
#include "CGBuiltin.h"
#include "CodeGenFunction.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/IR/IntrinsicsR600.h"
#include "llvm/IR/MemoryModelRelaxationAnnotations.h"
#include "llvm/Support/AMDGPUAddrSpace.h"
Go to the source code of this file.
Functions | |
static Value * | EmitAMDGCNBallotForExec (CodeGenFunction &CGF, const CallExpr *E, llvm::Type *RegisterType, llvm::Type *ValueType, bool isExecHi) |
static llvm::Value * | loadTextureDescPtorAsVec8I32 (CodeGenFunction &CGF, llvm::Value *RsrcPtr) |
llvm::CallInst * | emitAMDGCNImageOverloadedReturnType (clang::CodeGen::CodeGenFunction &CGF, const clang::CallExpr *E, unsigned IntrinsicID, bool IsImageStore) |
static Value * | emitFPIntBuiltin (CodeGenFunction &CGF, const CallExpr *E, unsigned IntrinsicID) |
static StringRef | mapScopeToSPIRV (StringRef AMDGCNScope) |
static Intrinsic::ID | getIntrinsicIDforWaveReduction (unsigned BuiltinID) |
|
static |
Definition at line 169 of file AMDGPU.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::Call, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenModule::getIntrinsic(), and clang::CodeGen::CodeGenTypeCache::Int32Ty.
Referenced by clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr().
llvm::CallInst * emitAMDGCNImageOverloadedReturnType | ( | clang::CodeGen::CodeGenFunction & | CGF, |
const clang::CallExpr * | E, | ||
unsigned | IntrinsicID, | ||
bool | IsImageStore ) |
Definition at line 217 of file AMDGPU.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::Call, clang::CodeGen::CodeGenFunction::ConvertType(), clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CallExpr::getArg(), clang::QualType::getCanonicalType(), clang::CodeGen::CodeGenFunction::getContext(), clang::CallExpr::getNumArgs(), clang::Expr::getType(), loadTextureDescPtorAsVec8I32(), V, and clang::CodeGen::CodeGenTypeCache::VoidTy.
Referenced by clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr().
|
static |
Definition at line 256 of file AMDGPU.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CallExpr::getArg(), and clang::CodeGen::CodeGenModule::getIntrinsic().
Referenced by clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr().
|
static |
Definition at line 385 of file AMDGPU.cpp.
Referenced by clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr().
|
static |
Definition at line 187 of file AMDGPU.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenModule::getDataLayout(), clang::CodeGen::CodeGenFunction::getLLVMContext(), and Typed.
Referenced by emitAMDGCNImageOverloadedReturnType().
|
inlinestatic |
Definition at line 266 of file AMDGPU.cpp.
Referenced by clang::CodeGen::CodeGenFunction::ProcessOrderScopeAMDGCN().