Lines Matching refs:Function
30 using llvm::Function;
39 const Function* getInvokeFunction(const Source& source, const int slot, in getInvokeFunction()
44 Function* func = newModule->getFunction(functionName); in getInvokeFunction()
51 const Function*
73 const Function* function = mergedModule->getFunction(functionName); in getFunction()
144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr); in getFusedFuncType()
165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr); in getFusedFuncType()
192 Function* fusedKernel = in fuseKernels()
193 (Function*)(mergedModule->getOrInsertFunction(fusedName, fusedType)); in fuseKernels()
200 Function::arg_iterator argIter = fusedKernel->arg_begin(); in fuseKernels()
231 const Function* inputFunction = in fuseKernels()
321 const llvm::Function* F = getInvokeFunction(*source, slot, module); in renameInvoke()
331 llvm::Function* newF = in renameInvoke()
332 llvm::Function::Create(batchFuncTy, in renameInvoke()
340 llvm::Function::arg_iterator argIter = newF->arg_begin(); in renameInvoke()