GPGPU: Pull implementation out of class definition

This will allow us to see the full class definition even after we add
non-trivial implementations of the different member functions.

llvm-svn: 275797
This commit is contained in:
Tobias Grosser 2016-07-18 15:44:25 +00:00
parent d3c284f645
commit 1fb9b64dc0
1 changed files with 7 additions and 4 deletions

View File

@ -92,12 +92,15 @@ private:
/// - Kernel: A GPU kernel call (TODO)
/// - Data-Transfer: A GPU <-> CPU data-transfer (TODO)
///
virtual void createUser(__isl_take isl_ast_node *User) {
isl_ast_node_free(User);
return;
}
/// @param UserStmt The ast node to generate code for.
virtual void createUser(__isl_take isl_ast_node *UserStmt);
};
void GPUNodeBuilder::createUser(__isl_take isl_ast_node *UserStmt) {
isl_ast_node_free(UserStmt);
return;
}
namespace {
class PPCGCodeGeneration : public ScopPass {
public: