Home | History | Annotate | Download | only in Renderscript

Lines Matching defs:function

30 using llvm::Function;
39 const Function* getInvokeFunction(const Source& source, const int slot,
44 Function* func = newModule->getFunction(functionName);
45 // Materialize the function so that later the caller can inspect its argument
51 const Function*
58 ALOGE("Kernel fusion (module %s slot %d): failed to find kernel function",
64 ALOGE("Kernel fusion (module %s function %s): cannot handle multiple inputs",
73 const Function* function = mergedModule->getFunction(functionName);
75 return function;
144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr);
165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr);
192 Function* fusedKernel =
193 (Function*)(mergedModule->getOrInsertFunction(fusedName, fusedType));
200 Function::arg_iterator argIter = fusedKernel->arg_begin();
231 const Function* inputFunction =
234 // Either failed to find the kernel function, or the function has multiple inputs.
240 ALOGE("Kernel fusion (module %s function %s): not a kernel",
249 ALOGE("Kernel fusion (module %s function %s): expected input, but got null",
264 ALOGE("Kernel fusion (module %s function %s): %s", source->getName().c_str(),
273 ALOGE("Kernel fusion (module %s function %s): function not first in batch takes no input",
321 const llvm::Function* F = getInvokeFunction(*source, slot, module);
331 llvm::Function* newF =
332 llvm::Function::Create(batchFuncTy,
340 llvm::Function::arg_iterator argIter = newF->arg_begin();