From 7328d872f1469006d7cc30164778d7625855aa36 Mon Sep 17 00:00:00 2001
From: akashk4 <akashk4@illinois.edu>
Date: Tue, 28 Jan 2020 08:29:27 -0600
Subject: [PATCH] Adding description for BuildDFG pass in BuildDFG.cpp

---
 hpvm/lib/Transforms/BuildDFG/BuildDFG.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/hpvm/lib/Transforms/BuildDFG/BuildDFG.cpp b/hpvm/lib/Transforms/BuildDFG/BuildDFG.cpp
index be3e6cae3d..25f5cd0870 100644
--- a/hpvm/lib/Transforms/BuildDFG/BuildDFG.cpp
+++ b/hpvm/lib/Transforms/BuildDFG/BuildDFG.cpp
@@ -6,6 +6,15 @@
 // License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
+//
+// BuildDFG pass is responsible for constructing dataflow graph from a textual
+// representation of HPVM IR with HPVM intrinsics from GenHPVM pass. This pass
+// makes use of three crutial abstractions: graph itself, dataflow nodes repre-
+// -senting functions and data edges representing tranfer of data between 
+// the functions (or nodes in the graph). This pass is part of HPVM frontend 
+// and does not make any changes to the textual representation of the IR.
+//
+//===----------------------------------------------------------------------===//
 
 #define DEBUG_TYPE "buildDFG"
 #include "BuildDFG/BuildDFG.h"
-- 
GitLab