/home/travis/build/MoarVM/MoarVM/src/jit/interface.h
Line | Count | Source |
1 | | /* Function for getting effective (JIT/specialized/original) bytecode. */ |
2 | 17.6M | MVM_STATIC_INLINE MVMuint8 * MVM_frame_effective_bytecode(MVMFrame *f) { |
3 | 17.6M | MVMSpeshCandidate *spesh_cand = f->spesh_cand; |
4 | 17.6M | if (spesh_cand) |
5 | 6.27M | return spesh_cand->jitcode ? spesh_cand->jitcode->bytecode : spesh_cand->bytecode; |
6 | 11.4M | return f->static_info->body.bytecode; |
7 | 17.6M | } Unexecuted instantiation: facts.c:MVM_frame_effective_bytecode Unexecuted instantiation: sc.c:MVM_frame_effective_bytecode Unexecuted instantiation: serialization.c:MVM_frame_effective_bytecode Unexecuted instantiation: compiler.c:MVM_frame_effective_bytecode Unexecuted instantiation: driver.c:MVM_frame_effective_bytecode Unexecuted instantiation: dump.c:MVM_frame_effective_bytecode Unexecuted instantiation: graph.c:MVM_frame_effective_bytecode Unexecuted instantiation: codegen.c:MVM_frame_effective_bytecode Unexecuted instantiation: candidate.c:MVM_frame_effective_bytecode Unexecuted instantiation: manipulate.c:MVM_frame_effective_bytecode Unexecuted instantiation: bootstrap.c:MVM_frame_effective_bytecode Unexecuted instantiation: optimize.c:MVM_frame_effective_bytecode Unexecuted instantiation: dead_bb_elimination.c:MVM_frame_effective_bytecode Unexecuted instantiation: deopt.c:MVM_frame_effective_bytecode Unexecuted instantiation: log.c:MVM_frame_effective_bytecode Unexecuted instantiation: threshold.c:MVM_frame_effective_bytecode Unexecuted instantiation: inline.c:MVM_frame_effective_bytecode Unexecuted instantiation: osr.c:MVM_frame_effective_bytecode Unexecuted instantiation: lookup.c:MVM_frame_effective_bytecode Unexecuted instantiation: iterator.c:MVM_frame_effective_bytecode Unexecuted instantiation: ConcBlockingQueue.c:MVM_frame_effective_bytecode Unexecuted instantiation: NativeCall.c:MVM_frame_effective_bytecode Unexecuted instantiation: CPointer.c:MVM_frame_effective_bytecode Unexecuted instantiation: CStr.c:MVM_frame_effective_bytecode Unexecuted instantiation: CArray.c:MVM_frame_effective_bytecode Unexecuted instantiation: CStruct.c:MVM_frame_effective_bytecode Unexecuted instantiation: CUnion.c:MVM_frame_effective_bytecode Unexecuted instantiation: ReentrantMutex.c:MVM_frame_effective_bytecode Unexecuted instantiation: ConditionVariable.c:MVM_frame_effective_bytecode Unexecuted instantiation: Semaphore.c:MVM_frame_effective_bytecode Unexecuted instantiation: worker.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMAsyncTask.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMNull.c:MVM_frame_effective_bytecode Unexecuted instantiation: CPPStruct.c:MVM_frame_effective_bytecode Unexecuted instantiation: NativeRef.c:MVM_frame_effective_bytecode Unexecuted instantiation: MultiDimArray.c:MVM_frame_effective_bytecode Unexecuted instantiation: Decoder.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMSpeshLog.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMStaticFrameSpesh.c:MVM_frame_effective_bytecode Unexecuted instantiation: 6model.c:MVM_frame_effective_bytecode Unexecuted instantiation: mmap.c:MVM_frame_effective_bytecode Unexecuted instantiation: profile.c:MVM_frame_effective_bytecode Unexecuted instantiation: heapsnapshot.c:MVM_frame_effective_bytecode Unexecuted instantiation: telemeh.c:MVM_frame_effective_bytecode Unexecuted instantiation: crossthreadwrite.c:MVM_frame_effective_bytecode Unexecuted instantiation: line_coverage.c:MVM_frame_effective_bytecode Unexecuted instantiation: sys.c:MVM_frame_effective_bytecode Unexecuted instantiation: random.c:MVM_frame_effective_bytecode Unexecuted instantiation: memmem32.c:MVM_frame_effective_bytecode Unexecuted instantiation: moar.c:MVM_frame_effective_bytecode Unexecuted instantiation: instrument.c:MVM_frame_effective_bytecode Unexecuted instantiation: time.c:MVM_frame_effective_bytecode Unexecuted instantiation: label.c:MVM_frame_effective_bytecode Unexecuted instantiation: compile.c:MVM_frame_effective_bytecode Unexecuted instantiation: expr.c:MVM_frame_effective_bytecode Unexecuted instantiation: tile.c:MVM_frame_effective_bytecode Unexecuted instantiation: linear_scan.c:MVM_frame_effective_bytecode Unexecuted instantiation: interface.c:MVM_frame_effective_bytecode Unexecuted instantiation: emit.c:MVM_frame_effective_bytecode Unexecuted instantiation: arch.c:MVM_frame_effective_bytecode Unexecuted instantiation: nfg.c:MVM_frame_effective_bytecode Unexecuted instantiation: stats.c:MVM_frame_effective_bytecode Unexecuted instantiation: plan.c:MVM_frame_effective_bytecode Unexecuted instantiation: arg_guard.c:MVM_frame_effective_bytecode Unexecuted instantiation: plugin.c:MVM_frame_effective_bytecode Unexecuted instantiation: decode_stream.c:MVM_frame_effective_bytecode Unexecuted instantiation: ascii.c:MVM_frame_effective_bytecode Unexecuted instantiation: parse_num.c:MVM_frame_effective_bytecode Unexecuted instantiation: utf8.c:MVM_frame_effective_bytecode Unexecuted instantiation: utf8_c8.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMContinuation.c:MVM_frame_effective_bytecode Unexecuted instantiation: unicode.c:MVM_frame_effective_bytecode Unexecuted instantiation: normalize.c:MVM_frame_effective_bytecode Unexecuted instantiation: latin1.c:MVM_frame_effective_bytecode Unexecuted instantiation: utf16.c:MVM_frame_effective_bytecode Unexecuted instantiation: windows1252.c:MVM_frame_effective_bytecode Unexecuted instantiation: shiftjis.c:MVM_frame_effective_bytecode Unexecuted instantiation: shiftjis_codeindex.c:MVM_frame_effective_bytecode Unexecuted instantiation: bigintops.c:MVM_frame_effective_bytecode Unexecuted instantiation: roots.c:MVM_frame_effective_bytecode continuation.c:MVM_frame_effective_bytecode Line | Count | Source | 2 | 41 | MVM_STATIC_INLINE MVMuint8 * MVM_frame_effective_bytecode(MVMFrame *f) { | 3 | 41 | MVMSpeshCandidate *spesh_cand = f->spesh_cand; | 4 | 41 | if (spesh_cand) | 5 | 0 | return spesh_cand->jitcode ? spesh_cand->jitcode->bytecode : spesh_cand->bytecode; | 6 | 41 | return f->static_info->body.bytecode; | 7 | 41 | } |
Unexecuted instantiation: intcache.c:MVM_frame_effective_bytecode Unexecuted instantiation: fixedsizealloc.c:MVM_frame_effective_bytecode Unexecuted instantiation: regionalloc.c:MVM_frame_effective_bytecode Unexecuted instantiation: debugserver.c:MVM_frame_effective_bytecode Unexecuted instantiation: config.c:MVM_frame_effective_bytecode Unexecuted instantiation: orchestrate.c:MVM_frame_effective_bytecode Unexecuted instantiation: allocation.c:MVM_frame_effective_bytecode Unexecuted instantiation: worklist.c:MVM_frame_effective_bytecode Unexecuted instantiation: nativecall_dyncall.c:MVM_frame_effective_bytecode Unexecuted instantiation: collect.c:MVM_frame_effective_bytecode Unexecuted instantiation: gen2.c:MVM_frame_effective_bytecode Unexecuted instantiation: wb.c:MVM_frame_effective_bytecode Unexecuted instantiation: objectid.c:MVM_frame_effective_bytecode Unexecuted instantiation: finalize.c:MVM_frame_effective_bytecode Unexecuted instantiation: debug.c:MVM_frame_effective_bytecode Unexecuted instantiation: io.c:MVM_frame_effective_bytecode Unexecuted instantiation: eventloop.c:MVM_frame_effective_bytecode Unexecuted instantiation: syncfile.c:MVM_frame_effective_bytecode Unexecuted instantiation: bytecodedump.c:MVM_frame_effective_bytecode Unexecuted instantiation: args.c:MVM_frame_effective_bytecode exceptions.c:MVM_frame_effective_bytecode Line | Count | Source | 2 | 3.21k | MVM_STATIC_INLINE MVMuint8 * MVM_frame_effective_bytecode(MVMFrame *f) { | 3 | 3.21k | MVMSpeshCandidate *spesh_cand = f->spesh_cand; | 4 | 3.21k | if (spesh_cand) | 5 | 1.25k | return spesh_cand->jitcode ? spesh_cand->jitcode->bytecode : spesh_cand->bytecode; | 6 | 1.96k | return f->static_info->body.bytecode; | 7 | 3.21k | } |
Unexecuted instantiation: interp.c:MVM_frame_effective_bytecode Unexecuted instantiation: threadcontext.c:MVM_frame_effective_bytecode Unexecuted instantiation: compunit.c:MVM_frame_effective_bytecode Unexecuted instantiation: bytecode.c:MVM_frame_effective_bytecode frame.c:MVM_frame_effective_bytecode Line | Count | Source | 2 | 17.6M | MVM_STATIC_INLINE MVMuint8 * MVM_frame_effective_bytecode(MVMFrame *f) { | 3 | 17.6M | MVMSpeshCandidate *spesh_cand = f->spesh_cand; | 4 | 17.6M | if (spesh_cand) | 5 | 6.27M | return spesh_cand->jitcode ? spesh_cand->jitcode->bytecode : spesh_cand->bytecode; | 6 | 11.4M | return f->static_info->body.bytecode; | 7 | 17.6M | } |
Unexecuted instantiation: callstack.c:MVM_frame_effective_bytecode Unexecuted instantiation: validation.c:MVM_frame_effective_bytecode Unexecuted instantiation: syncsocket.c:MVM_frame_effective_bytecode Unexecuted instantiation: threads.c:MVM_frame_effective_bytecode Unexecuted instantiation: ops.c:MVM_frame_effective_bytecode Unexecuted instantiation: hll.c:MVM_frame_effective_bytecode Unexecuted instantiation: loadbytecode.c:MVM_frame_effective_bytecode Unexecuted instantiation: num.c:MVM_frame_effective_bytecode Unexecuted instantiation: coerce.c:MVM_frame_effective_bytecode Unexecuted instantiation: dll.c:MVM_frame_effective_bytecode Unexecuted instantiation: ext.c:MVM_frame_effective_bytecode Unexecuted instantiation: nativecall.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMThread.c:MVM_frame_effective_bytecode Unexecuted instantiation: P6opaque.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMCode.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMOSHandle.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMCompUnit.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMStaticFrame.c:MVM_frame_effective_bytecode Unexecuted instantiation: P6int.c:MVM_frame_effective_bytecode Unexecuted instantiation: P6num.c:MVM_frame_effective_bytecode Unexecuted instantiation: Uninstantiable.c:MVM_frame_effective_bytecode Unexecuted instantiation: HashAttrStore.c:MVM_frame_effective_bytecode Unexecuted instantiation: P6str.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMIter.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMContext.c:MVM_frame_effective_bytecode Unexecuted instantiation: SCRef.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMCallCapture.c:MVM_frame_effective_bytecode Unexecuted instantiation: P6bigint.c:MVM_frame_effective_bytecode Unexecuted instantiation: NFA.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMException.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMDLLSym.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMMultiCache.c:MVM_frame_effective_bytecode Unexecuted instantiation: reprconv.c:MVM_frame_effective_bytecode Unexecuted instantiation: fileops.c:MVM_frame_effective_bytecode Unexecuted instantiation: dirops.c:MVM_frame_effective_bytecode Unexecuted instantiation: procops.c:MVM_frame_effective_bytecode Unexecuted instantiation: timers.c:MVM_frame_effective_bytecode Unexecuted instantiation: filewatchers.c:MVM_frame_effective_bytecode Unexecuted instantiation: signals.c:MVM_frame_effective_bytecode Unexecuted instantiation: asyncsocket.c:MVM_frame_effective_bytecode Unexecuted instantiation: asyncsocketudp.c:MVM_frame_effective_bytecode Unexecuted instantiation: reprs.c:MVM_frame_effective_bytecode Unexecuted instantiation: callsite.c:MVM_frame_effective_bytecode Unexecuted instantiation: containers.c:MVM_frame_effective_bytecode Unexecuted instantiation: parametric.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMString.c:MVM_frame_effective_bytecode Unexecuted instantiation: VMArray.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMHash.c:MVM_frame_effective_bytecode Unexecuted instantiation: MVMCFunction.c:MVM_frame_effective_bytecode Unexecuted instantiation: KnowHOWREPR.c:MVM_frame_effective_bytecode Unexecuted instantiation: KnowHOWAttributeREPR.c:MVM_frame_effective_bytecode |
8 | | |
9 | | void MVM_jit_code_enter(MVMThreadContext *tc, MVMJitCode *code, MVMCompUnit *cu); |
10 | | void * MVM_jit_code_get_current_position(MVMThreadContext *tc, MVMJitCode *code, MVMFrame *frame); |
11 | | void MVM_jit_code_set_current_position(MVMThreadContext *tc, MVMJitCode *code, MVMFrame *frame, void *position); |
12 | | MVMint32 MVM_jit_code_get_active_deopt_idx(MVMThreadContext *tc, MVMJitCode *code, MVMFrame *frame); |
13 | | /* split iterators because we don't want to allocate on this path */ |
14 | | MVMint32 MVM_jit_code_get_active_handlers(MVMThreadContext *tc, MVMJitCode *code, void *current_position, MVMint32 i); |
15 | | MVMint32 MVM_jit_code_get_active_inlines(MVMThreadContext *tc, MVMJitCode *code, void *current_position, MVMint32 i); |
16 | | |
17 | | /* hackish interface */ |
18 | | void MVM_jit_code_trampoline(MVMThreadContext *tc); |