Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
        glob = self.staticdata.globaldata
        old_loop_tokens = glob.get_compiled_merge_points(greenkey)
        self.history.record(rop.JUMP, live_arg_boxes[num_green_args:], None)
        loop_token = compile.compile_new_loop(self, old_loop_tokens,
                                              greenkey, start)
        if len(old_loop_tokens) == 0:
            return
        self.history.record(rop.JUMP, live_arg_boxes[num_green_args:], None)
        target_loop_token = compile.compile_new_bridge(self, old_loop_tokens,
                                                       self.resumekey)
        else:
            assert False
        self.history.record(rop.JUMP, exits, None)
        target_loop_token = compile.compile_new_bridge(self, loop_tokens,
                                                       self.resumekey)
    def compile_exit_frame_with_exception(self, valuebox):
        self.gen_store_back_in_virtualizable()
        # temporarily put a JUMP to a pseudo-loop
        self.history.record(rop.JUMP, [valuebox], None)
        loop_tokens = compile.loop_tokens_exit_frame_with_exception_ref

src/s/y/Sypy-HEAD/jit/metainterp/pyjitpl.py   Sypy(Download)
            return
 
        self.history.record(rop.JUMP, live_arg_boxes[num_green_args:], None,
                            descr=target_jitcell_token)
        try:

src/s/y/Sypy-HEAD/jit/metainterp/optimizeopt/unroll.py   Sypy(Download)
 
        jumpop = loop.operations[-1]
        if jumpop.getopnum() == rop.JUMP or jumpop.getopnum() == rop.LABEL:
            loop.operations = loop.operations[:-1]
        else:
 
 
        if jumpop.getopnum() == rop.JUMP:
            if self.jump_to_already_compiled_trace(jumpop):
                # Found a compiled trace to jump to
            if start_label and self.jump_to_start_label(start_label, stop_label):
                # Initial label matches, jump to it
                jumpop = ResOperation(rop.JUMP, stop_label.getarglist(), None,
                                      descr=start_label.getdescr())
                if self.short:
            i += 1
            newoperations = self.optimizer.get_newoperations()
        self.short.append(ResOperation(rop.JUMP, short_jumpargs, None, descr=start_label.getdescr()))
        self.finilize_short_preamble(start_label)
 
        jumpop.initarglist(jumpargs)
        self.optimizer.send_extra_operation(jumpop)
        self.short.append(ResOperation(rop.JUMP, short_jumpargs, None, descr=jumpop.getdescr()))
 
        # Verify that the virtual state at the end of the loop is one

src/s/y/Sypy-HEAD/jit/metainterp/compile.py   Sypy(Download)
        part.operations = [part.operations[-1]] + \
                          [inliner.inline_op(h_ops[i]) for i in range(start, len(h_ops))] + \
                          [ResOperation(rop.JUMP, [inliner.inline_arg(a) for a in jumpargs],
                                        None, descr=jitcell_token)]
        target_token = part.operations[0].getdescr()
    part.operations = [partial_trace.operations[-1]] + \
                      [h_ops[i].clone() for i in range(start, len(h_ops))] + \
                      [ResOperation(rop.JUMP, jumpargs, None, descr=loop_jitcell_token)]
    label = part.operations[0]
    orignial_label = label.clone()
        assert target_token.exported_state
        part.operations = [orignial_label] + \
                          [ResOperation(rop.JUMP, inputargs[:],
                                        None, descr=loop_jitcell_token)]
        try:

src/s/y/Sypy-HEAD/jit/backend/x86/regalloc.py   Sypy(Download)
                if arg not in last_used:
                    last_used[arg] = i
                if opnum != rop.JUMP and opnum != rop.LABEL:
                    if arg not in last_real_usage:
                        last_real_usage[arg] = i
        # at where we would like the boxes to be after the jump.
        op = operations[-1]
        if op.getopnum() != rop.JUMP:
            return
        self.final_jump_op = op

src/s/y/Sypy-HEAD/jit/backend/llgraph/llimpl.py   Sypy(Download)
    op.jump_target_opindex = target_opindex
    op.jump_target_inputargs = target_inputargs
    assert op.opnum == rop.JUMP
    assert [v.concretetype for v in op.args] == (
           [v.concretetype for v in target_inputargs])
                self.opindex += 1
                continue
            if op.opnum == rop.JUMP:
                inputargs = op.jump_target_inputargs
                assert len(inputargs) == len(args)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/llimpl.py   plexnet(Download)
    op = loop.operations[-1]
    op.jump_target = loop_target
    assert op.opnum == rop.JUMP
    assert len(op.args) == len(loop_target.inputargs)
    if loop_target == loop:
                opindex += 1
                continue
            if op.opnum == rop.JUMP:
                assert len(op.jump_target.inputargs) == len(args)
                self.env = dict(zip(op.jump_target.inputargs, args))

src/s/y/Sypy-HEAD/jit/backend/llgraph/runner.py   Sypy(Download)
                                         descr.width)
            if isinstance(descr, history.JitCellToken):
                assert op.getopnum() != rop.JUMP
                llimpl.compile_add_loop_token(c, descr)
            if isinstance(descr, history.TargetToken) and op.getopnum() == rop.LABEL:
        op = operations[-1]
        assert op.is_final()
        if op.getopnum() == rop.JUMP:
            targettoken = op.getdescr()
            llimpl.compile_add_jump_target(c, targettoken, clt)

src/s/y/Sypy-HEAD/jit/metainterp/history.py   Sypy(Download)
 
        assert operations[-1].is_final()
        if operations[-1].getopnum() == rop.JUMP:
            target = operations[-1].getdescr()
            if target is not None:
        loop = loops[0]
        jumpop = loop.operations[-1]
        assert jumpop.getopnum() == rop.JUMP
        labels = [op for op in loop.operations if op.getopnum() == rop.LABEL]
        targets = [op._descr_wref() for op in labels]

src/s/y/Sypy-HEAD/jit/tool/oparser.py   Sypy(Download)
                if descr is None and self.invent_fail_descr:
                    descr = self.invent_fail_descr(self.model, fail_args)
            elif opnum == rop.JUMP:
                if descr is None and self.invent_fail_descr:
                    descr = self.original_jitcell_token

  1 | 2 | 3  Next