CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
assembler macro More...
#include <AsmSource.h>
Classes | |
struct | SourceTrans |
source translation More... | |
Public Member Functions | |
AsmMacro (const AsmSourcePos &pos, const Array< AsmMacroArg > &args) | |
constructor | |
AsmMacro (const AsmSourcePos &pos, Array< AsmMacroArg > &&args) | |
constructor with rlvalue for arguments | |
void | addLine (RefPtr< const AsmMacroSubst > macro, RefPtr< const AsmSource > source, const std::vector< LineTrans > &colTrans, size_t lineSize, const char *line) |
adds line to macro from source More... | |
const std::vector< LineTrans > & | getColTranslations () const |
get column translations | |
const std::vector< char > & | getContent () const |
get content vector | |
size_t | getSourceTransSize () const |
get source translations size | |
const SourceTrans & | getSourceTrans (uint64_t index) const |
get source translations | |
const AsmSourcePos & | getSourcePos () const |
get source position | |
const size_t | getArgsNum () const |
get number of arguments | |
const AsmMacroArg & | getArg (size_t i) const |
get argument | |
![]() | |
FastRefCountable () | |
constructor | |
void | reference () const |
reference object | |
bool | unreference () const |
unreference object (returns true if no reference count) | |
![]() | |
NonCopyableAndNonMovable () | |
constructor | |
NonCopyableAndNonMovable (const NonCopyableAndNonMovable &)=delete | |
copy-constructor | |
NonCopyableAndNonMovable (NonCopyableAndNonMovable &&)=delete | |
move-constructor | |
NonCopyableAndNonMovable & | operator= (const NonCopyableAndNonMovable &)=delete |
copy-assignment | |
NonCopyableAndNonMovable & | operator= (NonCopyableAndNonMovable &&)=delete |
move-asignment | |
assembler macro
void CLRX::AsmMacro::addLine | ( | RefPtr< const AsmMacroSubst > | macro, |
RefPtr< const AsmSource > | source, | ||
const std::vector< LineTrans > & | colTrans, | ||
size_t | lineSize, | ||
const char * | line | ||
) |
adds line to macro from source
macro | macro substitution |
source | source of line |
colTrans | column translations (for backslashes) |
lineSize | line size |
line | line text (can be with newline character) |