GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Functions | Variables
pt-jit.cc File Reference
#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>
Include dependency graph for pt-jit.cc:

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

Macro Definition Documentation

#define __STDC_CONSTANT_MACROS

Definition at line 26 of file pt-jit.cc.

#define __STDC_LIMIT_MACROS

Definition at line 25 of file pt-jit.cc.

Function Documentation

static llvm::IRBuilder builder ( llvm::  getGlobalContext())
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().

Variable Documentation

llvm::LLVMContext& context = llvm::getGlobalContext ()
static

Definition at line 89 of file pt-jit.cc.

bool Vdebug_jit = false
static
bool Vjit_enable = false
static

Definition at line 45 of file pt-jit.cc.

Referenced by tree_jit::enabled().

int Vjit_startcnt = 1000
static

Definition at line 47 of file pt-jit.cc.