Lines Matching refs:GPUNodeBuilder
325 class GPUNodeBuilder : public IslNodeBuilder { class
327 GPUNodeBuilder(PollyIRBuilder &Builder, ScopAnnotator &Annotator, in GPUNodeBuilder() function in GPUNodeBuilder
742 std::string GPUNodeBuilder::getKernelFuncName(int Kernel_id) { in getKernelFuncName()
747 void GPUNodeBuilder::initializeAfterRTH() { in initializeAfterRTH()
761 void GPUNodeBuilder::finalize() { in finalize()
769 void GPUNodeBuilder::allocateDeviceArrays() { in allocateDeviceArrays()
809 void GPUNodeBuilder::prepareManagedDeviceArrays() { in prepareManagedDeviceArrays()
835 void GPUNodeBuilder::addCUDAAnnotations(Module *M, Value *BlockDimX, in addCUDAAnnotations()
856 void GPUNodeBuilder::freeDeviceArrays() { in freeDeviceArrays()
862 Value *GPUNodeBuilder::createCallGetKernel(Value *Buffer, Value *Entry) { in createCallGetKernel()
880 Value *GPUNodeBuilder::createCallGetDevicePtr(Value *Allocation) { in createCallGetDevicePtr()
897 void GPUNodeBuilder::createCallLaunchKernel(Value *GPUKernel, Value *GridDimX, in createCallLaunchKernel()
924 void GPUNodeBuilder::createCallFreeKernel(Value *GPUKernel) { in createCallFreeKernel()
941 void GPUNodeBuilder::createCallFreeDeviceMemory(Value *Array) { in createCallFreeDeviceMemory()
961 Value *GPUNodeBuilder::createCallAllocateMemoryForDevice(Value *Size) { in createCallAllocateMemoryForDevice()
981 void GPUNodeBuilder::createCallCopyFromHostToDevice(Value *HostData, in createCallCopyFromHostToDevice()
1005 void GPUNodeBuilder::createCallCopyFromDeviceToHost(Value *DeviceData, in createCallCopyFromDeviceToHost()
1029 void GPUNodeBuilder::createCallSynchronizeDevice() { in createCallSynchronizeDevice()
1046 Value *GPUNodeBuilder::createCallInitContext() { in createCallInitContext()
1072 void GPUNodeBuilder::createCallFreeContext(Value *Context) { in createCallFreeContext()
1097 Value *GPUNodeBuilder::getArraySize(gpu_array_info *Array) { in getArraySize()
1121 Value *GPUNodeBuilder::getArrayOffset(gpu_array_info *Array) { in getArrayOffset()
1155 Value *GPUNodeBuilder::getManagedDeviceArray(gpu_array_info *Array, in getManagedDeviceArray()
1167 void GPUNodeBuilder::createDataTransfer(__isl_take isl_ast_node *TransferStmt, in createDataTransfer()
1213 void GPUNodeBuilder::createUser(__isl_take isl_ast_node *UserStmt) { in createUser()
1286 void GPUNodeBuilder::createFor(__isl_take isl_ast_node *Node) { in createFor()
1290 void GPUNodeBuilder::createKernelCopy(ppcg_kernel_stmt *KernelStmt) { in createKernelCopy()
1307 void GPUNodeBuilder::createScopStmt(isl_ast_expr *Expr, in createScopStmt()
1323 void GPUNodeBuilder::createKernelSync() { in createKernelSync()
1462 GPUNodeBuilder::getReferencesInKernel(ppcg_kernel *Kernel) { in getReferencesInKernel()
1540 void GPUNodeBuilder::clearDominators(Function *F) { in clearDominators()
1550 void GPUNodeBuilder::clearScalarEvolution(Function *F) { in clearScalarEvolution()
1558 void GPUNodeBuilder::clearLoops(Function *F) { in clearLoops()
1569 std::tuple<Value *, Value *> GPUNodeBuilder::getGridSizes(ppcg_kernel *Kernel) { in getGridSizes()
1589 GPUNodeBuilder::getBlockSizes(ppcg_kernel *Kernel) { in getBlockSizes()
1603 void GPUNodeBuilder::insertStoreParameter(Instruction *Parameters, in insertStoreParameter()
1612 GPUNodeBuilder::createLaunchParameters(ppcg_kernel *Kernel, Function *F, in createLaunchParameters()
1762 void GPUNodeBuilder::setupKernelSubtreeFunctions( in setupKernelSubtreeFunctions()
1777 void GPUNodeBuilder::createKernel(__isl_take isl_ast_node *KernelStmt) { in createKernel()
1915 GPUNodeBuilder::createKernelFunctionDecl(ppcg_kernel *Kernel, in createKernelFunctionDecl()
2058 void GPUNodeBuilder::insertKernelIntrinsics(ppcg_kernel *Kernel) { in insertKernelIntrinsics()
2097 void GPUNodeBuilder::insertKernelCallsSPIR(ppcg_kernel *Kernel, in insertKernelCallsSPIR()
2137 void GPUNodeBuilder::prepareKernelArguments(ppcg_kernel *Kernel, Function *FN) { in prepareKernelArguments()
2167 void GPUNodeBuilder::finalizeKernelArguments(ppcg_kernel *Kernel) { in finalizeKernelArguments()
2216 void GPUNodeBuilder::createKernelVariables(ppcg_kernel *Kernel, Function *FN) { in createKernelVariables()
2267 void GPUNodeBuilder::createKernelFunction( in createKernelFunction()
2320 std::string GPUNodeBuilder::createKernelASM() { in createKernelASM()
2385 bool GPUNodeBuilder::requiresCUDALibDevice() { in requiresCUDALibDevice()
2414 void GPUNodeBuilder::addCUDALibDevice() { in addCUDALibDevice()
2442 std::string GPUNodeBuilder::finalizeKernelFunction() { in finalizeKernelFunction()
3473 GPUNodeBuilder NodeBuilder(Builder, Annotator, *DL, *LI, *SE, *DT, *S, in generateCode()