Did I find the right examples for you? yes no

All Samples(25)  |  Call(11)  |  Derive(0)  |  Import(14)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/test/test_loop.py   plexnet(Download)
import py
from pypy.rlib.jit import JitDriver, OPTIMIZER_SIMPLE, OPTIMIZER_FULL
from pypy.rlib.objectmodel import compute_hash
from pypy.jit.metainterp.warmspot import ll_meta_interp, get_stats
from pypy.rpython.lltypesystem import lltype
    def meta_interp(self, f, args, policy=None):
        return ll_meta_interp(f, args, optimizer=self.optimizer,
                              policy=policy,
                              CPUClass=self.CPUClass,
                              type_system=self.type_system)

src/s/y/Sypy-HEAD/jit/metainterp/test/test_loop.py   Sypy(Download)
import py
from pypy.rlib.jit import JitDriver, hint, set_param
from pypy.rlib.objectmodel import compute_hash
from pypy.jit.metainterp.warmspot import ll_meta_interp, get_stats
from pypy.jit.metainterp.test.support import LLJitMixin, OOJitMixin
    def meta_interp(self, f, args, policy=None):
        return ll_meta_interp(f, args, enable_opts=self.enable_opts,
                              policy=policy,
                              CPUClass=self.CPUClass,
                              type_system=self.type_system)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/tool/test/test_jitoutput.py   plexnet(Download)
 
import py
from pypy.jit.metainterp.warmspot import ll_meta_interp
from pypy.rlib.jit import JitDriver, DEBUG_PROFILE
from pypy.jit.backend.llgraph import runner
    cap = py.io.StdCaptureFD()
    try:
        ll_meta_interp(f, [10], CPUClass=runner.LLtypeCPU, type_system='lltype',
                       ProfilerClass=Profiler, debug_level=DEBUG_PROFILE)
    finally:

src/s/y/Sypy-HEAD/jit/metainterp/test/test_ztranslation.py   Sypy(Download)
import py
from pypy.jit.metainterp.warmspot import rpython_ll_meta_interp, ll_meta_interp
from pypy.jit.backend.llgraph import runner
from pypy.rlib.jit import JitDriver, unroll_parameters, set_param
from pypy.rlib.jit import PARAMETERS, dont_look_inside, hint
                           boxint_new(8))
            return f(i) - f2(i+j, i, j) + resop_getopnum(op)
        res = ll_meta_interp(main, [40, 5], CPUClass=self.CPUClass,
                             type_system=self.type_system,
                             listops=True)
                n -= 1
            return total * 10
        res = ll_meta_interp(main, [40], CPUClass=self.CPUClass,
                             type_system=self.type_system)
        assert res == main(40)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/test/test_loop_dummy.py   plexnet(Download)
# xxx mostly pointless
 
from pypy.jit.metainterp.test import test_loop, test_send
from pypy.jit.metainterp.warmspot import ll_meta_interp
from pypy.rlib.jit import OPTIMIZER_SIMPLE
from pypy.jit.metainterp.test.test_basic import LLJitMixin, OOJitMixin
 
class LoopDummyTest(test_send.SendTests):
    def meta_interp(self, func, args, **kwds):
        return ll_meta_interp(func, args, optimizer=OPTIMIZER_SIMPLE,

src/s/y/Sypy-HEAD/jit/tool/test/test_jitoutput.py   Sypy(Download)
 
import py
from pypy.jit.metainterp.warmspot import ll_meta_interp
from pypy.rlib.jit import JitDriver
from pypy.jit.backend.llgraph import runner
    cap = py.io.StdCaptureFD()
    try:
        ll_meta_interp(f, [10], CPUClass=runner.LLtypeCPU, type_system='lltype',
                       ProfilerClass=Profiler)
    finally:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/test/test_ztranslation.py   plexnet(Download)
import py
from pypy.jit.metainterp.warmspot import rpython_ll_meta_interp, ll_meta_interp
from pypy.jit.backend.llgraph import runner
from pypy.rlib.jit import JitDriver, OPTIMIZER_FULL, unroll_parameters
from pypy.rlib.jit import PARAMETERS, dont_look_inside
                frame.i -= 1
            return total * 10
        res = ll_meta_interp(f, [40], CPUClass=self.CPUClass,
                             type_system=self.type_system)
        assert res == f(40)
                n -= 1
            return total * 10
        res = ll_meta_interp(main, [40], CPUClass=self.CPUClass,
                             type_system=self.type_system)
        assert res == main(40)

src/s/y/Sypy-HEAD/jit/metainterp/test/test_jitprof.py   Sypy(Download)
 
from pypy.jit.metainterp.warmspot import ll_meta_interp
from pypy.rlib.jit import JitDriver, dont_look_inside, elidable
from pypy.jit.metainterp.test.support import LLJitMixin
from pypy.jit.metainterp import pyjitpl

src/s/y/Sypy-HEAD/jit/metainterp/test/support.py   Sypy(Download)
from pypy.rpython.ootypesystem import ootype
from pypy.jit.backend.llgraph import runner
from pypy.jit.metainterp.warmspot import ll_meta_interp, get_stats
from pypy.jit.metainterp.warmstate import unspecialize_value
from pypy.jit.metainterp.optimizeopt import ALL_OPTS_DICT
        try:
            codewriter.CodeWriter.debug = True
            return ll_meta_interp(*args, **kwds)
        finally:
            codewriter.CodeWriter.debug = old

src/s/y/Sypy-HEAD/jit/backend/x86/test/test_basic.py   Sypy(Download)
import py
from pypy.jit.backend.detect_cpu import getcpuclass
from pypy.jit.metainterp.warmspot import ll_meta_interp
from pypy.jit.metainterp.test import support, test_ajit
from pypy.jit.codewriter.policy import StopAtXPolicy

  1 | 2  Next