Uses of Class
org.impulsegraph.vm.VmQueryContext
Packages that use VmQueryContext
-
Uses of VmQueryContext in org.impulsegraph.vm
Methods in org.impulsegraph.vm that return VmQueryContextModifier and TypeMethodDescriptionstatic VmQueryContextVmQueryContext.acquire(ImpulseGraphSnapshot snapshot, Arena arena) Acquire a thread-localVmQueryContextfor zero-allocation hot-path execution, falling back to a fresh instance if the current thread is already executing a query re-entrantly.Methods in org.impulsegraph.vm with parameters of type VmQueryContextModifier and TypeMethodDescriptionstatic voidShaderOps.cmpEq(int sDst, int low, int high, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.cmpGt(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.cmpLt(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.cmpNeq(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.commitTarget(VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static byte[]VmContextHash.computeStateHash(MemorySegment state, int statusCode, VmQueryContext ctx) static StringVmContextHash.computeStateHashHex(MemorySegment state, int statusCode, VmQueryContext ctx) voidVmLaneFrontier.copyEdgeTripMasksFrom(VmQueryContext ctx, VmLaneFrontier src) long[]VmLaneFrontier.ensureEdgeTripMask(VmQueryContext ctx, int relId, int minEdges) JitDriver.execute(VmQueryContext ctx, MemorySegment state, Object input, long maxPc) static voidVmHandlers.executeCsrWalk(MemorySegment state, VmQueryContext ctx, int dstReg, int srcReg, int relId) static voidVmHandlers.executeCsrWalk(MemorySegment state, VmQueryContext ctx, int dstReg, int srcReg, int relId, byte flags, Object input) static voidVmHandlers.executeCsrWalk2Hop(MemorySegment state, VmQueryContext ctx, int dstReg, int srcReg, int relId1, int relId2, byte flags, Object input) static intImpulseMethodHandleCompiler.executeDecoded(MemorySegment programSeg, long instructionCount, VmHandlers.Instruction instr, VmQueryContext ctx, MemorySegment state, Object input, int pc) static intImpulseMethodHandleCompiler.fallbackExecute(MemorySegment programSeg, long instructionCount, VmQueryContext ctx, MemorySegment state, Object input, int pc) static voidShaderOps.filter(int sDst, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidVmHandlers.handleAdaptiveWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleAllocScratch(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleAssertFinite(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleAssertScratchBytes(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleBrandesBackward(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleBrandesForward(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleBrinZoneSkip(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCcAfforest(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCcHookCompress(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCelEdgeWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCoalesce(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCollectArray(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleCollectBitset(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleCollectBitset(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleCollectValueMap(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCompiledStreamWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, MethodHandle compiledShader, long instructionCount) static voidVmHandlers.handleCooWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCooWalkDirectStore(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCooWalkFiltered(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCooWalkReduce(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCreateScratchIndex(MemorySegment state, VmHandlers.Instruction inst, VmQueryContext ctx) static voidVmHandlers.handleCscWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCscWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleCscWalkDirectStore(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrDegree(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleCsrWalk2Hop(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleCsrWalkDenseStream(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkDirectStore(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkFiltered(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkPredicate(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkReduce(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkReduceSum(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleCsrWalkState(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleDeltaStepRelax(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleDenseWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleDenseWalkBitmatrix(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleDenseWalkDirectStore(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleDenseWalkReduce(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleEwiseAdd(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleEwiseMult(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleExtractValidity(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleFixpointKleeneStar(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleFloatVectorScale(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleFrontierDiff(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleGatherEdgeAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleGatherNodeAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleGraphIsomorphism(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleHasCoo(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleHasCsc(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleHasCsr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleHasKeyCatalog(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleInitInputNode(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleInitInputSet(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleInitMockAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleInitMockGraph(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleInitMockNodeAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleIslandDetect(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleKcoreDecomposition(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleL1NormDiff(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLoadColumnVector(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLoadIndirect(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLoadInlineArray(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLoadInlineIntArray(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLoadInlineSet(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleLouvainModularity(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMapDenseToKeys(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMapKeysToDense(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMaskAnd(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMaskNot(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMaskOr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMotifMatch3(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleMov(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmMultiLaneHandlers.handleMultiLaneOpcode(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, int pc) static voidVmHandlers.handleMxv(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleNodeFilter(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleNodeFilter(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, Object input) static voidVmHandlers.handleProjectState(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleReadEdgeWeight(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleReduce(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleRoaringBitmapAnd(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleRoaringBitmapAndNot(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleRoaringBitmapOr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSetCardinality(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSetDifference(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSetIntersect(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSetMaxDop(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSetUnion(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleSparseMatvec(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleStableCheck(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleStreamWalk(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr, MemorySegment programSeg, long instructionCount) static voidVmHandlers.handleTcSweepBatch(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecBlend(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecCmpBetween(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecCmpEq(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecCmpGt(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecCmpLt(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecMathBinary(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecMathTernary(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVecMathUnary(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVectorDiv(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVectorLoadAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVectorMulAttr(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceArgMax(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceArgMin(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceMax(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceMin(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceMul(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static ObjectVmHandlers.handleVectorReduceSum(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVectorStrConcat(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVectorTimeValidAt(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidVmHandlers.handleVxm(MemorySegment state, VmQueryContext ctx, VmHandlers.Instruction instr) static voidShaderOps.loadConst(int sDst, int payload, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.loadEdge(int dst, int edgeAttr, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.loadEdgeId(int dst, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.loadSrc(int dst, int srcAttr, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.loadSrcId(int dst, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.loadTgt(int dst, int tgtAttr, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.loadTgtId(int sDst, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.logicAnd(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.logicNot(int dst, int src, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.logicOr(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.mathAdd(int sDst, int low, int high, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.mathDiv(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.mathMod(int sDst, int low, int high, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.mathMul(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.mathSub(int dst, int src1, int src2, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.mathUnary(int dst, int src, int type, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static voidShaderOps.reduce(int sDst, int globalReg, int monoid, Set<Long> ignored, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.reduce(int sDst, int globalReg, int monoid, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.reduceArgMax(int sDst, int valReg, int argReg, Set<Long> ignored, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static voidShaderOps.reduceArgMin(int sDst, int valReg, int argReg, Set<Long> ignored, VmQueryContext ctx, MemorySegment state, int src, int tgt, int eIdx, float[] regs, ImpulseBitSet outBs) static VmLaneFrontierVmMultiLaneHandlers.requireLaneFrontier(MemorySegment state, VmQueryContext ctx, int regIndex) Exhaustive, compiler-checked multi-lane frontier extractor.static voidShaderOps.select(int dst, int cond, int trueVal, int falseVal, VmQueryContext ctx, MemorySegment state, int srcId, int tgtId, int edgeId, float[] fRegs, ImpulseBitSet outBs) static intImpulseMethodHandleCompiler.skipHandler(VmQueryContext ctx, MemorySegment state, Object input, int currentPc) static VmRegTypeVmHandlers.validateNodeSource(MemorySegment state, VmQueryContext ctx, int regIndex) static VmRegTypeVmHandlers.validateSetOperand(MemorySegment state, VmQueryContext ctx, int regIndex) Exhaustive, compiler-checked validation thatregIndexholds a valid single-lane node source (T_NULL,T_NODE_ID,T_INT64,T_BITSET_HANDLE,T_NODE_VECTOR, orT_UINT64_VECTOR) and that any referenced handle is allocated inctx.static voidVmInvariants.verifyPostStep(MemorySegment state, VmQueryContext ctx) Verifies all normative VM state invariants after an instruction retires.static intImpulseMethodHandleCompiler.voidWrapper(MethodHandle voidMh, int nextPc, VmQueryContext ctx, MemorySegment state, Object input, int currentPc)