CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
target for assembler expression More...
#include <AsmDefs.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 | |
static AsmExprTarget | codeFlowTarget (cxuint sectionId, size_t cflowIndex) |
make code flow 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 | |
union { | |
size_t offset | |
offset of destination | |
size_t cflowId | |
cflow index of destination | |
} | |
} | |
}; | |
target for assembler expression