LLVM 17.0.0git
Namespaces | Functions | Variables
AMDGPUHSAMetadataStreamer.cpp File Reference

AMDGPU HSA Metadata Streamer. More...

#include "AMDGPUHSAMetadataStreamer.h"
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUTargetStreamer.h"
#include "SIMachineFunctionInfo.h"
#include "SIProgramInfo.h"
#include "llvm/IR/Module.h"
Include dependency graph for AMDGPUHSAMetadataStreamer.cpp:

Go to the source code of this file.


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::AMDGPU
namespace  llvm::AMDGPU::HSAMD


static std::pair< Type *, AligngetArgumentTypeAlign (const Argument &Arg, const DataLayout &DL)


static cl::opt< boolllvm::DumpHSAMetadata ("amdgpu-dump-hsa-metadata", cl::desc("Dump AMDGPU HSA Metadata"))
static cl::opt< boolllvm::VerifyHSAMetadata ("amdgpu-verify-hsa-metadata", cl::desc("Verify AMDGPU HSA Metadata"))

Detailed Description

AMDGPU HSA Metadata Streamer.

Definition in file AMDGPUHSAMetadataStreamer.cpp.

Function Documentation

◆ getArgumentTypeAlign()

static std::pair< Type *, Align > getArgumentTypeAlign ( const Argument Arg,
const DataLayout DL 

Definition at line 24 of file AMDGPUHSAMetadataStreamer.cpp.

References Arg, and DL.

Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV3::emitKernelArg().