Did I find the right examples for you? yes no

All Samples(58)  |  Call(33)  |  Derive(2)  |  Import(23)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/executor.py   plexnet(Download)
from pypy.rlib.rarithmetic import ovfcheck, r_uint, intmask
from pypy.jit.metainterp.history import BoxInt, ConstInt, check_descr
from pypy.jit.metainterp.history import INT, REF, ConstFloat
from pypy.jit.metainterp import resoperation
from pypy.jit.metainterp.resoperation import rop
def do_float_neg(cpu, box1):
    return ConstFloat(-box1.getfloat())
 
def do_float_abs(cpu, box1):
    return ConstFloat(abs(box1.getfloat()))
def do_float_add(cpu, box1, box2):
    return ConstFloat(box1.getfloat() + box2.getfloat())
 
def do_float_sub(cpu, box1, box2):
    return ConstFloat(box1.getfloat() - box2.getfloat())

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/warmstate.py   plexnet(Download)
    elif isinstance(value, float):
        if in_const_box:
            return history.ConstFloat(value)
        else:
            return history.BoxFloat(value)

src/s/y/Sypy-HEAD/jit/metainterp/warmstate.py   Sypy(Download)
            value = rffi.cast(lltype.SignedLongLong, value)
        if in_const_box:
            return history.ConstFloat(value)
        else:
            return history.BoxFloat(value)

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
CONST_1      = ConstInt(1)
CVAL_ZERO    = ConstantValue(CONST_0)
CVAL_ZERO_FLOAT = ConstantValue(ConstFloat(0.0))
llhelper.CVAL_NULLREF = ConstantValue(llhelper.CONST_NULL)
oohelper.CVAL_NULLREF = ConstantValue(oohelper.CONST_NULL)

src/s/y/Sypy-HEAD/jit/backend/x86/regalloc.py   Sypy(Download)
 
import os
from pypy.jit.metainterp.history import (Box, Const, ConstInt, ConstPtr,
                                         ResOperation, BoxPtr, ConstFloat,
                                         BoxFloat, INT, REF, FLOAT,
    def _loc_of_const_longlong(self, value64):
        c = ConstFloat(value64)
        return self.xrm.convert_to_imm(c)
 
    def _consider_llong_from_int(self, op):

src/s/y/Sypy-HEAD/jit/tool/oparser_model.py   Sypy(Download)
    class LoopModel(object):
        from pypy.jit.metainterp.history import TreeLoop, JitCellToken
        from pypy.jit.metainterp.history import Box, BoxInt, BoxFloat
        from pypy.jit.metainterp.history import ConstInt, ConstObj, ConstPtr, ConstFloat
        from pypy.jit.metainterp.history import BasicFailDescr, TargetToken

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
class __extend__(ConstFloat):
    __metaclass__ = extendabletype
 
    def load(self, meth):
        # we cannot invoke il.Emit(Ldc_R8, self.value) directly because

src/s/y/Sypy-HEAD/jit/metainterp/pyjitpl.py   Sypy(Download)
 
from pypy.jit.metainterp import history, compile, resume
from pypy.jit.metainterp.history import Const, ConstInt, ConstPtr, ConstFloat
from pypy.jit.metainterp.history import Box, TargetToken
from pypy.jit.metainterp.resoperation import rop

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
class __extend__(ConstFloat):
    __metaclass__ = extendabletype
 
    def load(self, meth):
        # we cannot invoke il.Emit(Ldc_R8, self.value) directly because

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/logger.py   plexnet(Download)
import os
from pypy.rlib.objectmodel import compute_unique_id
from pypy.jit.metainterp.resoperation import rop
from pypy.jit.metainterp.history import Const, ConstInt, Box, \
     BoxInt, ConstAddr, ConstFloat, BoxFloat, AbstractFailDescr

  1 | 2 | 3  Next