Did I find the right examples for you? yes no

All Samples(47)  |  Call(29)  |  Derive(1)  |  Import(17)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/compile.py   plexnet(Download)
 
from pypy.jit.metainterp.resoperation import ResOperation, rop
from pypy.jit.metainterp.history import TreeLoop, log, Box, History, LoopToken
from pypy.jit.metainterp.history import AbstractFailDescr, BoxInt
from pypy.jit.metainterp.history import BoxPtr, BoxObj, BoxFloat, Const
def make_loop_token(nb_args):
    loop_token = LoopToken()
    loop_token.specnodes = [prebuiltNotSpecNode] * nb_args
    return loop_token
 
class TerminatingLoopToken(LoopToken):
    terminating = True
 
    def __init__(self, nargs, finishdescr):
        self.specnodes = [prebuiltNotSpecNode]*nargs

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/regalloc.py   plexnet(Download)
 
""" Register allocation scheme.
"""
 
from pypy.jit.metainterp.history import (Box, Const, ConstInt, ConstPtr,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/optimizeopt.py   plexnet(Download)
from pypy.jit.metainterp.history import Box, BoxInt, LoopToken, BoxFloat,\
     ConstFloat
from pypy.jit.metainterp.history import Const, ConstInt, ConstPtr, ConstObj, REF
from pypy.jit.metainterp.resoperation import rop, ResOperation
from pypy.jit.metainterp.jitprof import OPT_OPS, OPT_GUARDS, OPT_FORCINGS

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/runner.py   plexnet(Download)
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import AbstractDescr, AbstractMethDescr
from pypy.jit.metainterp.history import AbstractFailDescr, LoopToken
from pypy.jit.metainterp.history import Box, BoxInt, BoxObj, ConstObj, Const
from pypy.jit.metainterp import executor

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/method.py   plexnet(Download)
from pypy.translator.cli import opcodes
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import (AbstractValue, Const, ConstInt, ConstFloat,
                                         ConstObj, BoxInt, LoopToken)
from pypy.jit.metainterp.resoperation import rop, opname

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llsupport/descr.py   plexnet(Download)
from pypy.rpython.lltypesystem import lltype
from pypy.jit.backend.llsupport import symbolic
from pypy.jit.metainterp.history import AbstractDescr, getkind, BoxInt, BoxPtr
from pypy.jit.metainterp.history import BasicFailDescr, LoopToken, BoxFloat
from pypy.jit.metainterp.resoperation import ResOperation, rop
                         descr=BasicFailDescr())]
        operations[1].fail_args = []
        loop_token = LoopToken()
        cpu.compile_loop(args, operations, loop_token)
        self.loop_token = loop_token

src/s/y/Sypy-HEAD/jit/backend/cli/runner.py   Sypy(Download)
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import AbstractDescr, AbstractMethDescr
from pypy.jit.metainterp.history import AbstractFailDescr, LoopToken
from pypy.jit.metainterp.history import Box, BoxInt, BoxObj, ConstObj, Const
from pypy.jit.metainterp import executor

src/s/y/Sypy-HEAD/jit/backend/cli/method.py   Sypy(Download)
from pypy.translator.cli import opcodes
from pypy.jit.metainterp import history
from pypy.jit.metainterp.history import (AbstractValue, Const, ConstInt, ConstFloat,
                                         ConstObj, BoxInt, LoopToken)
from pypy.jit.metainterp.resoperation import rop, opname

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/runner_test.py   plexnet(Download)
 
import py, sys, random
from pypy.jit.metainterp.history import (AbstractFailDescr,
                                         BasicFailDescr,
                                         BoxInt, Box, BoxPtr,
                                                                valueboxes,
                                                                descr)
        looptoken = LoopToken()
        self.cpu.compile_loop(inputargs, operations, looptoken)
        j = 0
            ]
        inputargs = [i0]
        looptoken = LoopToken()
        self.cpu.compile_loop(inputargs, operations, looptoken)
        self.cpu.set_future_value_int(0, 2)
    def test_compile_loop(self):
        i0 = BoxInt()
        i1 = BoxInt()
        i2 = BoxInt()
        looptoken = LoopToken()
        i1 = BoxInt()
        i2 = BoxInt()
        looptoken = LoopToken()
        operations = [
            ResOperation(rop.INT_ADD, [i0, ConstInt(1)], i1),

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/test/test_logger.py   plexnet(Download)
from StringIO import StringIO
from pypy.jit.metainterp.test.test_optimizeopt import equaloplists
from pypy.jit.metainterp.history import AbstractDescr, LoopToken, BasicFailDescr
 
class Descr(AbstractDescr):
    def test_jump(self):
        namespace = {'target': LoopToken(3)}
        inp = '''
        [i0]
        jump(i0, descr=target)

  1 | 2  Next