CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CLRX::AsmExprTarget Struct Reference

target for assembler expression More...

#include <Assembler.h>

Public Member Functions

 AsmExprTarget ()
 empty constructor
 
 AsmExprTarget (AsmExprTargetType _type, cxuint _sectionId, size_t _offset)
 constructor to create custom target
 

Static Public Member Functions

static AsmExprTarget symbolTarget (AsmSymbolEntry *entry)
 make symbol target for expression
 
template<typename T >
static AsmExprTarget dataTarget (cxuint sectionId, size_t offset)
 make n-bit word target for expression
 

Public Attributes

AsmExprTargetType type
 type of target
 
union {
   AsmSymbolEntry *   symbol
 symbol entry (if ASMXTGT_SYMBOL)
 
   struct {
      cxuint   sectionId
 section id of destination
 
      size_t   offset
 offset of destination
 
   } 
 
}; 
 

Detailed Description

target for assembler expression


The documentation for this struct was generated from the following file: