Skip to content

Commit

Permalink
astyle format
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Sep 28, 2024
1 parent 86dd7c3 commit d995b47
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/c/weaver/weave/perfflow_weave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ bool WeavingPass::insertBefore(Module &m, Function &f, StringRef &a,
return true;
}


/******************************************************************************
* *
* Public Methods of WeavingPass Class *
Expand All @@ -209,10 +210,10 @@ bool WeavingPass::doInitialization(Module &m)
AttributeList::FunctionIndex, AB);
#ifdef PERFFLOWASPECT_WITH_CALIPER
// Insert Functions on the module
CaliBeginRegion = m.getOrInsertFunction(
"cali_begin_region", Attrs, IRB.getVoidTy(), IRB.getInt8PtrTy());
CaliEndRegion = m.getOrInsertFunction("cali_end_region", Attrs,
IRB.getVoidTy(), IRB.getInt8PtrTy());
CaliBeginRegion = m.getOrInsertFunction("cali_begin_region", Attrs,
IRB.getVoidTy(), IRB.getInt8PtrTy());
CaliEndRegion = m.getOrInsertFunction("cali_end_region", Attrs, IRB.getVoidTy(),
IRB.getInt8PtrTy());
#endif

bool changed = false;
Expand Down

0 comments on commit d995b47

Please sign in to comment.