Class defining a just-in-time compiler.
This class compiles source code at runtime and links it to the running binary. This mechanism makes it possible to generate source code based on user-defined run-time parameters and still perform compile-time optimization.
|
gsDynamicLibrary | build (bool force=false) |
|
gsDynamicLibrary | build (const std::string &name, bool force=false) |
|
void | clear () |
| Clear kernel source code.
|
|
std::ostringstream & | getKernel () |
| Return pointer to kernel source code.
|
|
const std::ostringstream & | getKernel () const |
| Return kernel source code (as output stringstream)
|
|
| gsJITCompiler () |
| Constructor (default)
|
|
| gsJITCompiler (const gsJITCompilerConfig &config) |
| Constructor (using compiler configuration)
|
|
| gsJITCompiler (gsJITCompiler const &other) |
| Constructor (copy)
|
|
gsJITCompiler & | operator<< (const std::string &s) |
| Input kernel source code from string.
|
|
gsJITCompiler & | operator<< (std::istream &is) |
| Input kernel source code from input stream.
|
|
gsJITCompiler & | operator= (gsJITCompiler const &other) |
| Assignment operator (copy)
|
|
std::ostream & | print (std::ostream &os) const |
| Prints the object as a string.
|
|