LLVM  7.0.0svn
Namespaces | Macros | Variables
AMDGPUTargetStreamer.cpp File Reference
#include "AMDGPUTargetStreamer.h"
#include "AMDGPU.h"
#include "SIDefines.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "Utils/AMDKernelCodeTUtils.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/Support/FormattedStream.h"
#include "AMDGPUPTNote.h"
Include dependency graph for AMDGPUTargetStreamer.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define PRINT_IF_NOT_DEFAULT(STREAM, DIRECTIVE, KERNEL_DESC, DEFAULT_KERNEL_DESC, MEMBER_NAME, FIELD_NAME)
 

Variables

struct {
   const char *   Name
 
   unsigned   Mach
 
MachTable []
 

Macro Definition Documentation

◆ PRINT_IF_NOT_DEFAULT

#define PRINT_IF_NOT_DEFAULT (   STREAM,
  DIRECTIVE,
  KERNEL_DESC,
  DEFAULT_KERNEL_DESC,
  MEMBER_NAME,
  FIELD_NAME 
)
Value:
if (AMDHSA_BITS_GET(KERNEL_DESC.MEMBER_NAME, FIELD_NAME) != \
AMDHSA_BITS_GET(DEFAULT_KERNEL_DESC.MEMBER_NAME, FIELD_NAME)) \
STREAM << "\t\t" << DIRECTIVE << " " \
<< AMDHSA_BITS_GET(KERNEL_DESC.MEMBER_NAME, FIELD_NAME) << '\n';
#define AMDHSA_BITS_GET(SRC, MSK)

Referenced by llvm::AMDGPUTargetAsmStreamer::EmitAmdhsaKernelDescriptor().

Variable Documentation

◆ Mach

unsigned Mach

Definition at line 44 of file AMDGPUTargetStreamer.cpp.

Referenced by llvm::AMDGPUTargetStreamer::getContext().

◆ MachTable

const { ... } MachTable[]

◆ Name

const char* Name

Definition at line 43 of file AMDGPUTargetStreamer.cpp.