diff --git a/hpvm/test/regressionTests/BuildDFG/AllocationNode.ll b/hpvm/test/hpvm_pass/BuildDFG/AllocationNode.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/AllocationNode.ll
rename to hpvm/test/hpvm_pass/BuildDFG/AllocationNode.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/CreateNode.ll b/hpvm/test/hpvm_pass/BuildDFG/CreateNode.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/CreateNode.ll
rename to hpvm/test/hpvm_pass/BuildDFG/CreateNode.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/CreateNodeAndEdge.ll b/hpvm/test/hpvm_pass/BuildDFG/CreateNodeAndEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/CreateNodeAndEdge.ll
rename to hpvm/test/hpvm_pass/BuildDFG/CreateNodeAndEdge.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/LeafBindEdge.ll b/hpvm/test/hpvm_pass/BuildDFG/LeafBindEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/LeafBindEdge.ll
rename to hpvm/test/hpvm_pass/BuildDFG/LeafBindEdge.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/LeafInComingBindEdge.ll b/hpvm/test/hpvm_pass/BuildDFG/LeafInComingBindEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/LeafInComingBindEdge.ll
rename to hpvm/test/hpvm_pass/BuildDFG/LeafInComingBindEdge.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/LeafNodeGetters.ll b/hpvm/test/hpvm_pass/BuildDFG/LeafNodeGetters.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/LeafNodeGetters.ll
rename to hpvm/test/hpvm_pass/BuildDFG/LeafNodeGetters.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/OneRoot.ll b/hpvm/test/hpvm_pass/BuildDFG/OneRoot.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/OneRoot.ll
rename to hpvm/test/hpvm_pass/BuildDFG/OneRoot.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/ThreeLevel.ll b/hpvm/test/hpvm_pass/BuildDFG/ThreeLevel.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/ThreeLevel.ll
rename to hpvm/test/hpvm_pass/BuildDFG/ThreeLevel.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/ThreeLevelEdge.ll b/hpvm/test/hpvm_pass/BuildDFG/ThreeLevelEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/ThreeLevelEdge.ll
rename to hpvm/test/hpvm_pass/BuildDFG/ThreeLevelEdge.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/TwoLaunch.ll b/hpvm/test/hpvm_pass/BuildDFG/TwoLaunch.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/TwoLaunch.ll
rename to hpvm/test/hpvm_pass/BuildDFG/TwoLaunch.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/TwoLevel.ll b/hpvm/test/hpvm_pass/BuildDFG/TwoLevel.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/TwoLevel.ll
rename to hpvm/test/hpvm_pass/BuildDFG/TwoLevel.ll
diff --git a/hpvm/test/regressionTests/BuildDFG/TwoLevelGraph.ll b/hpvm/test/hpvm_pass/BuildDFG/TwoLevelGraph.ll
similarity index 100%
rename from hpvm/test/regressionTests/BuildDFG/TwoLevelGraph.ll
rename to hpvm/test/hpvm_pass/BuildDFG/TwoLevelGraph.ll
diff --git a/hpvm/test/regressionTests/ClearDFG/ThreeLevel.CPU.ll b/hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.CPU.ll
similarity index 100%
rename from hpvm/test/regressionTests/ClearDFG/ThreeLevel.CPU.ll
rename to hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.CPU.ll
diff --git a/hpvm/test/regressionTests/ClearDFG/ThreeLevel.OpenCLToCPU.ll b/hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.OpenCLToCPU.ll
similarity index 100%
rename from hpvm/test/regressionTests/ClearDFG/ThreeLevel.OpenCLToCPU.ll
rename to hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.OpenCLToCPU.ll
diff --git a/hpvm/test/regressionTests/ClearDFG/ThreeLevel.constmem.OpenCLToCPU.ll b/hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.constmem.OpenCLToCPU.ll
similarity index 100%
rename from hpvm/test/regressionTests/ClearDFG/ThreeLevel.constmem.OpenCLToCPU.ll
rename to hpvm/test/hpvm_pass/ClearDFG/ThreeLevel.constmem.OpenCLToCPU.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/OneLevel.codeGen.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/OneLevel.codeGen.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/OneLevel.codeGen.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/OneLevel.codeGen.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/OneRootBasic.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/OneRootBasic.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/OneRootBasic.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/OneRootBasic.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.OpenCL.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.OpenCL.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.OpenCL.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.OpenCL.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.codeGen.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.codeGen.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.codeGen.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.codeGen.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.cond.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.cond.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.cond.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.cond.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.constmem.OpenCL.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.constmem.OpenCL.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/ThreeLevel.constmem.OpenCL.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/ThreeLevel.constmem.OpenCL.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/TwoLevel.codeGen.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/TwoLevel.codeGen.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/TwoLevel.codeGen.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/TwoLevel.codeGen.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CPU/TwoRoot.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CPU/TwoRoot.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CPU/TwoRoot.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CPU/TwoRoot.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CUDNN/batchNorm.hpvm.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/batchNorm.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CUDNN/batchNorm.hpvm.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/batchNorm.hpvm.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CUDNN/matMul.hpvm.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/matMul.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CUDNN/matMul.hpvm.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/matMul.hpvm.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CUDNN/meanPoolWithSoftmax.hpvm.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/meanPoolWithSoftmax.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CUDNN/meanPoolWithSoftmax.hpvm.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/meanPoolWithSoftmax.hpvm.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_CUDNN/singleConvLayer.hpvm.ll b/hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/singleConvLayer.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_CUDNN/singleConvLayer.hpvm.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_CUDNN/singleConvLayer.hpvm.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.atomic.ll b/hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.atomic.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.atomic.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.atomic.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.cond.const.ll b/hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.cond.const.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.cond.const.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.cond.const.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.cond.ll b/hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.cond.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.cond.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.cond.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.constmem.ll b/hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.constmem.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.constmem.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.constmem.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.ll b/hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_OPENCL/ThreeLevel.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_OPENCL/ThreeLevel.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapAddTanh.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapAddTanh.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapConv.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapConv.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapGroupPoolSoftmax.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapGroupPoolSoftmax.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapGroupPoolSoftmax.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapGroupPoolSoftmax.ll
diff --git a/hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapMatMul.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll
similarity index 100%
rename from hpvm/test/regressionTests/DFG2LLVM_WrapperAPI/wrapMatMul.ll
rename to hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll
diff --git a/hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseConv.hpvm.ll b/hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseConv.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseConv.hpvm.ll
rename to hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseConv.hpvm.ll
diff --git a/hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseConvNoPool.hpvm.ll b/hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseConvNoPool.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseConvNoPool.hpvm.ll
rename to hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseConvNoPool.hpvm.ll
diff --git a/hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseDiffTargets.hpvm.ll b/hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseDiffTargets.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseDiffTargets.hpvm.ll
rename to hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseDiffTargets.hpvm.ll
diff --git a/hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseMatMul.hpvm.ll b/hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseMatMul.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/FuseHPVMTensorNodes/fuseMatMul.hpvm.ll
rename to hpvm/test/hpvm_pass/FuseHPVMTensorNodes/fuseMatMul.hpvm.ll
diff --git a/hpvm/test/regressionTests/FuseHPVMTensorNodes/multiLaunch.hpvm.ll b/hpvm/test/hpvm_pass/FuseHPVMTensorNodes/multiLaunch.hpvm.ll
similarity index 100%
rename from hpvm/test/regressionTests/FuseHPVMTensorNodes/multiLaunch.hpvm.ll
rename to hpvm/test/hpvm_pass/FuseHPVMTensorNodes/multiLaunch.hpvm.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/AllocationNode.ll b/hpvm/test/hpvm_pass/GenHPVM/AllocationNode.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/AllocationNode.ll
rename to hpvm/test/hpvm_pass/GenHPVM/AllocationNode.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/CreateNode.ll b/hpvm/test/hpvm_pass/GenHPVM/CreateNode.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/CreateNode.ll
rename to hpvm/test/hpvm_pass/GenHPVM/CreateNode.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/CreateNodeAndEdge.ll b/hpvm/test/hpvm_pass/GenHPVM/CreateNodeAndEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/CreateNodeAndEdge.ll
rename to hpvm/test/hpvm_pass/GenHPVM/CreateNodeAndEdge.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/LeafBindEdge.ll b/hpvm/test/hpvm_pass/GenHPVM/LeafBindEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/LeafBindEdge.ll
rename to hpvm/test/hpvm_pass/GenHPVM/LeafBindEdge.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/LeafNodeGetters.ll b/hpvm/test/hpvm_pass/GenHPVM/LeafNodeGetters.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/LeafNodeGetters.ll
rename to hpvm/test/hpvm_pass/GenHPVM/LeafNodeGetters.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/PopAndPush.ll b/hpvm/test/hpvm_pass/GenHPVM/PopAndPush.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/PopAndPush.ll
rename to hpvm/test/hpvm_pass/GenHPVM/PopAndPush.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/ThreeLevel.ll b/hpvm/test/hpvm_pass/GenHPVM/ThreeLevel.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/ThreeLevel.ll
rename to hpvm/test/hpvm_pass/GenHPVM/ThreeLevel.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/ThreeLevelEdge.ll b/hpvm/test/hpvm_pass/GenHPVM/ThreeLevelEdge.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/ThreeLevelEdge.ll
rename to hpvm/test/hpvm_pass/GenHPVM/ThreeLevelEdge.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/TwoLaunch.ll b/hpvm/test/hpvm_pass/GenHPVM/TwoLaunch.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/TwoLaunch.ll
rename to hpvm/test/hpvm_pass/GenHPVM/TwoLaunch.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/TwoLevel.ll b/hpvm/test/hpvm_pass/GenHPVM/TwoLevel.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/TwoLevel.ll
rename to hpvm/test/hpvm_pass/GenHPVM/TwoLevel.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/oneLaunchAlloca.ll b/hpvm/test/hpvm_pass/GenHPVM/oneLaunchAlloca.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/oneLaunchAlloca.ll
rename to hpvm/test/hpvm_pass/GenHPVM/oneLaunchAlloca.ll
diff --git a/hpvm/test/regressionTests/GenHPVM/oneLaunchMalloc.ll b/hpvm/test/hpvm_pass/GenHPVM/oneLaunchMalloc.ll
similarity index 100%
rename from hpvm/test/regressionTests/GenHPVM/oneLaunchMalloc.ll
rename to hpvm/test/hpvm_pass/GenHPVM/oneLaunchMalloc.ll
diff --git a/hpvm/test/unitTests/ThreeLevel.ll b/hpvm/test/hpvm_pass/unitTests/ThreeLevel.ll
similarity index 100%
rename from hpvm/test/unitTests/ThreeLevel.ll
rename to hpvm/test/hpvm_pass/unitTests/ThreeLevel.ll
diff --git a/hpvm/test/unitTests/ThreeLevel.opt.ll b/hpvm/test/hpvm_pass/unitTests/ThreeLevel.opt.ll
similarity index 100%
rename from hpvm/test/unitTests/ThreeLevel.opt.ll
rename to hpvm/test/hpvm_pass/unitTests/ThreeLevel.opt.ll
diff --git a/hpvm/test/unitTests/TwoLevel.ll b/hpvm/test/hpvm_pass/unitTests/TwoLevel.ll
similarity index 100%
rename from hpvm/test/unitTests/TwoLevel.ll
rename to hpvm/test/hpvm_pass/unitTests/TwoLevel.ll