From 4023a23083ec6d0f55e01510f7ecb897b99551bb Mon Sep 17 00:00:00 2001 From: akashk4 <akashk4@illinois.edu> Date: Wed, 8 Jan 2020 19:21:17 -0600 Subject: [PATCH] Uncommenting printing of FunctionCallees -- need to be removed --- hpvm/lib/Transforms/GenVISC/GenVISC.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp index 9c53862469..ae2cfe7025 100644 --- a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp +++ b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp @@ -819,15 +819,15 @@ bool GenVISC::runOnModule(Module &M) { llvm_visc_initializeTimerSet = M.getOrInsertFunction("llvm_visc_initializeTimerSet", runtimeModule->getFunction("llvm_visc_initializeTimerSet")->getFunctionType()); - DEBUG(errs() << *llvm_visc_initializeTimerSet); + //DEBUG(errs() << *llvm_visc_initializeTimerSet); llvm_visc_switchToTimer = M.getOrInsertFunction("llvm_visc_switchToTimer", runtimeModule->getFunction("llvm_visc_switchToTimer")->getFunctionType()); - DEBUG(errs() << *llvm_visc_switchToTimer); + // DEBUG(errs() << *llvm_visc_switchToTimer); llvm_visc_printTimerSet = M.getOrInsertFunction("llvm_visc_printTimerSet", runtimeModule->getFunction("llvm_visc_printTimerSet")->getFunctionType()); - DEBUG(errs() << *llvm_visc_printTimerSet); + //DEBUG(errs() << *llvm_visc_printTimerSet); // Insert init context in main DEBUG(errs() << "Locate __visc__init()\n"); @@ -1544,7 +1544,7 @@ void GenVISC::initializeTimerSet(Instruction* InsertBefore) { Constant::getNullValue(Type::getInt8PtrTy(M->getContext())), "viscTimerSet_GenVISC")); DEBUG(errs() << "Inserting GV: " << *TimerSet->getType() << *TimerSet << "\n"); - DEBUG(errs() << "Inserting call to: " << *llvm_visc_initializeTimerSet << "\n"); + //DEBUG(errs() << "Inserting call to: " << *llvm_visc_initializeTimerSet << "\n"); TIMER(TimerSetAddr = CallInst::Create(llvm_visc_initializeTimerSet, None, -- GitLab