![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "debug.h"#include "defun.h"#include "ov.h"#include "pt-all.h"#include "pt-jit.h"#include "sighandlers.h"#include "symtab.h"#include "variables.h"#include <llvm/Analysis/CallGraph.h>#include <llvm/Analysis/Passes.h>#include <llvm/Analysis/Verifier.h>#include <llvm/Bitcode/ReaderWriter.h>#include <llvm/ExecutionEngine/ExecutionEngine.h>#include <llvm/ExecutionEngine/JIT.h>#include <llvm/PassManager.h>#include <llvm/LLVMContext.h>#include <llvm/Module.h>#include <llvm/IRBuilder.h>#include <llvm/Support/raw_os_ostream.h>#include <llvm/Support/TargetSelect.h>#include <llvm/Target/TargetData.h>#include <llvm/Transforms/IPO.h>#include <llvm/Transforms/Scalar.h>
Go to the source code of this file.
Classes | |
| class | jit_break_exception |
Macros | |
| #define | __STDC_CONSTANT_MACROS |
| #define | __STDC_LIMIT_MACROS |
Functions | |
| static llvm::IRBuilder | builder (llvm::getGlobalContext()) |
| OCTAVE_EXPORT octave_value_list | Fdebug_jit (const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fjit_enable (const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fjit_startcnt (const octave_value_list &args, int nargout) |
Variables | |
| static llvm::LLVMContext & | context = llvm::getGlobalContext () |
| static bool | Vdebug_jit = false |
| static bool | Vjit_enable = false |
| static int | Vjit_startcnt = 1000 |
|
static |
| OCTAVE_EXPORT octave_value_list Fdebug_jit | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 2329 of file pt-jit.cc.
References octave_value(), SET_INTERNAL_VARIABLE, and warning().
Referenced by octave_process_command_line().
| OCTAVE_EXPORT octave_value_list Fjit_enable | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 2350 of file pt-jit.cc.
References octave_value(), SET_INTERNAL_VARIABLE, and warning().
Referenced by octave_process_command_line().
| OCTAVE_EXPORT octave_value_list Fjit_startcnt | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 2374 of file pt-jit.cc.
References max(), octave_value(), SET_INTERNAL_VARIABLE_WITH_LIMITS, and warning().
|
static |
|
static |
Definition at line 43 of file pt-jit.cc.
Referenced by jit_info::compile(), jit_function_info::jit_function_info(), and tree_jit::optimize().
|
static |
Definition at line 45 of file pt-jit.cc.
Referenced by tree_jit::enabled().
1.8.1.2