diff --git a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp index 9c538624699bc61934d08421fc47e921c4c26abf..ae2cfe7025d7d0f8cd8b74cc44fb7eea34c62d20 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,