Lines Matching refs:Function
30 using llvm::Function;
39 const Function* getInvokeFunction(const Source& source, const int slot,
44 Function* func = newModule->getFunction(functionName);
51 const Function*
73 const Function* function = mergedModule->getFunction(functionName);
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 =
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();