LLVM  13.0.0git
Macros | Functions
AMDGPUTargetStreamer.cpp File Reference
#include "AMDGPUTargetStreamer.h"
#include "AMDGPUPTNote.h"
#include "AMDKernelCodeT.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "Utils/AMDKernelCodeTUtils.h"
#include "llvm/BinaryFormat/AMDGPUMetadataVerifier.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/Support/AMDGPUMetadata.h"
#include "llvm/Support/AMDHSAKernelDescriptor.h"
#include "llvm/Support/FormattedStream.h"
Include dependency graph for AMDGPUTargetStreamer.cpp:

Go to the source code of this file.

Macros

#define PRINT_FIELD(STREAM, DIRECTIVE, KERNEL_DESC, MEMBER_NAME, FIELD_NAME)
 

Functions

static void convertIsaVersionV2 (uint32_t &Major, uint32_t &Minor, uint32_t &Stepping, bool Sramecc, bool Xnack)
 

Macro Definition Documentation

◆ PRINT_FIELD

#define PRINT_FIELD (   STREAM,
  DIRECTIVE,
  KERNEL_DESC,
  MEMBER_NAME,
  FIELD_NAME 
)
Value:
STREAM << "\t\t" << DIRECTIVE << " " \
<< AMDHSA_BITS_GET(KERNEL_DESC.MEMBER_NAME, FIELD_NAME) << '\n';

Function Documentation

◆ convertIsaVersionV2()

static void convertIsaVersionV2 ( uint32_t Major,
uint32_t Minor,
uint32_t Stepping,
bool  Sramecc,
bool  Xnack 
)
static
AMDHSA_BITS_GET
#define AMDHSA_BITS_GET(SRC, MSK)
Definition: AMDHSAKernelDescriptor.h:37