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

assembler section More...

#include <AsmDefs.h>

Public Member Functions

 AsmSection ()
 constructor
 
 AsmSection (const char *_name, cxuint _kernelId, AsmSectionType _type, Flags _flags, uint64_t _alignment, uint64_t _size=0, cxuint _relSpace=UINT_MAX, uint64_t _relAddress=UINT64_MAX)
 constructor
 
 AsmSection (const AsmSection &section)
 copy constructor
 
AsmSectionoperator= (const AsmSection &section)
 copy assignment
 
void addCodeFlowEntry (const AsmCodeFlowEntry &entry)
 add code flow entry to this section
 
size_t getSize () const
 get section's size
 

Public Attributes

const char * name
 section name
 
cxuint kernelId
 kernel id (optional)
 
AsmSectionType type
 type of section
 
Flags flags
 section flags
 
uint64_t alignment
 section alignment
 
uint64_t size
 section size
 
cxuint relSpace
 relative space where is section
 
uint64_t relAddress
 relative address
 
std::vector< cxbytecontent
 content of section
 
std::unique_ptr< ISAUsageHandlerusageHandler
 usage handler
 
std::vector< AsmCodeFlowEntrycodeFlow
 code flow info
 

Detailed Description

assembler section


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