diff options
author | Tobias Grosser <tobias@grosser.es> | 2016-07-18 11:56:39 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2016-07-18 11:56:39 +0000 |
commit | 38fc0aed08853fbad0aa55764dd01def682550b6 (patch) | |
tree | 90c54f8b0a6f7c469d3180a8e39075431413c99c /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 52bd8012bd0f440e21ddec0c1d6ed89605adbb3b (diff) | |
download | bcm5719-llvm-38fc0aed08853fbad0aa55764dd01def682550b6.tar.gz bcm5719-llvm-38fc0aed08853fbad0aa55764dd01def682550b6.zip |
GPGPU: Create host control flow
Create LLVM-IR for all host-side control flow of a given GPU AST. We implement
this by introducing a new GPUNodeBuilder class derived from IslNodeBuilder. The
IslNodeBuilder will take care of generating all general-purpose ast nodes, but
we provide our own createUser implementation to handle the different GPU
specific user statements. For now, we just skip any user statement and only
generate a host-code sceleton, but in subsequent commits we will add handling of
normal ScopStmt's performing computations, kernel calls, as well as host-device
data transfers. We will also introduce run-time check generation and LICM in
subsequent commits.
llvm-svn: 275783
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions