Lines Matching refs:closure

48         const Closure* closure = cpuClosure->mClosure;  in groupRoot()  local
51 rsAssert(closure->mNumArg <= RS_KERNEL_INPUT_LIMIT); in groupRoot()
53 for (size_t i = 0; i < closure->mNumArg; i++) { in groupRoot()
54 const void* arg = closure->mArgs[i]; in groupRoot()
65 mutable_kinfo->inLen = closure->mNumArg; in groupRoot()
67 const Allocation* out = closure->mReturnValue; in groupRoot()
108 const Closure* closure = cpuClosure->mClosure; in conflict() local
110 if (!closure->mIsKernel || !mClosures.front()->mClosure->mIsKernel) { in conflict()
116 const auto& globalDeps = closure->mGlobalDeps; in conflict()
117 const auto& argDeps = closure->mArgDeps; in conflict()
166 for (Closure* closure: mGroup->mClosures) { in CpuScriptGroup2Impl()
168 const IDBase* funcID = closure->mFunctionID.get(); in CpuScriptGroup2Impl()
171 if (closure->mIsKernel) { in CpuScriptGroup2Impl()
174 cc = new CPUClosure(closure, si, (ExpandFuncTy)mtls.kernel); in CpuScriptGroup2Impl()
176 cc = new CPUClosure(closure, si); in CpuScriptGroup2Impl()
311 const Closure& closure, in generateSourceSlot() argument
314 const IDBase* funcID = (const IDBase*)closure.mFunctionID.get(); in generateSourceSlot()
394 for (Closure* closure : mGroup->mClosures) { in compile()
395 const Script* script = closure->mFunctionID.get()->mScript; in compile()
582 const Closure* closure = cpuClosure->mClosure; in setGlobalsForBatch() local
583 const IDBase* funcID = closure->mFunctionID.get(); in setGlobalsForBatch()
585 for (const auto& p : closure->mGlobals) { in setGlobalsForBatch()
670 const Closure* closure = cpuClosure->mClosure; in run() local
672 (const ScriptKernelID*)closure->mFunctionID.get(); in run()
674 (const Allocation**)closure->mArgs, in run()
675 closure->mNumArg, closure->mReturnValue, in run()
680 const Closure* closure = cpuClosure->mClosure; in run() local
683 if (cpuClosure->mSi->forEachMtlsSetup((const Allocation**)closure->mArgs, in run()
684 closure->mNumArg, in run()
685 closure->mReturnValue, in run()
696 const Closure* closure = cpuClosure->mClosure; in run() local
698 (const ScriptKernelID*)closure->mFunctionID.get(); in run()
700 (const Allocation**)closure->mArgs, in run()
701 closure->mNumArg, closure->mReturnValue, in run()