search for: tracebasicblocks

Displaying 5 results from an estimated 5 matches for "tracebasicblocks".

2004 May 21
1
[LLVMdev] Re: LLVMdev digest, Vol 1 #292 - 4 msgs
Hi, Thank Brian Gaeke so much. Following TraceBasicBlocks.cpp, I modified the code as below and could insert instruction or function I need into anywhere in Module. But it works well without BB->getInstList().push_back(InstrCall), and if I add the BB->getInstList().push_back() following new CallInst(), I got error information when runing opt. What i...
2004 May 19
0
[LLVMdev] Question about insert function or instruction.
> What I want to do is to insert a call funcation into each basic > block, which is for statistic some information. I recommend that you look at the various pieces of code under llvm/lib/Transforms/Instrumentation, e.g. BlockProfiling.cpp and TraceBasicBlocks.cpp. They do essentially the same thing as you are trying to do. > 1) I implement call function in another c/cpp file and > can I insert the external call function to existed > bytecode ? if it is valid. Can you give me a simple > example to show how to do it or just give me a url >...
2004 May 19
2
[LLVMdev] Question about insert function or instruction.
Hi llvmer, I am trying to learn how to use llvm. My question is described as the following, there has already a testcase code, and I get bytecode by using llvmgcc. What I want to do is to insert a call funcation into each basic block, which is for statistic some information. 1) I implement call function in another c/cpp file and can I insert the external call function to existed bytecode ? if it
2005 Apr 22
0
[LLVMdev] tabs
...ndex: lib/Target/X86/X86ISelPattern.cpp Index: lib/Target/X86/X86ISelSimple.cpp Index: lib/Target/X86/X86PeepholeOpt.cpp Index: lib/Target/X86/X86RegisterInfo.cpp Index: lib/Target/X86/X86TargetMachine.cpp Index: lib/Transforms/Instrumentation/EmitFunctions.cpp Index: lib/Transforms/Instrumentation/TraceBasicBlocks.cpp Index: lib/Transforms/Instrumentation/TraceValues.cpp Index: lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp Index: lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp Index: lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp Index: lib/Transforms/Instrumentation/ProfilePa...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...ib\Transforms\Instrumentation\ProfilingUtils.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Instrumentation\ProfilingUtils.h"> > </File> > <File > RelativePath="..\..\lib\Transforms\Instrumentation\TraceBasicBlocks.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Instrumentation\TraceValues.cpp"> > </File> > <Filter > Name="ProfilePaths" > Filter=""> > <File > Relat...