search for: conditionprofil

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

Did you mean: conditionprofile
2010 Jun 04
3
[LLVMdev] Inserting a function call into bitcode
...thing else altogether? Thanks, Nehal. -----Original Message----- From: Nick Lewycky [mailto:nicholas at mxc.ca] Sent: Friday, June 04, 2010 2:29 AM To: Nehal Gandhi Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Inserting a function call into bitcode Have you tried running the verifier after ConditionProfile runs? Just add it to the pass manager to run right afterwards and see what it picks up. Nick
2010 Jun 04
5
[LLVMdev] Inserting a function call into bitcode
...nd does not have any other method except runOnModule. Am I missing something during call insertion or bitcode modification? I am using LLVM-2.6. The same code in LLVM-2.5 works correctly. (except Type::getInt32Ty, llvm-2.5 has Type::Int32Ty and no LLVMContext object) Thanks, Nehal bool ConditionProfile::runOnModule(Module &M) { // Iterates through all functions of the module for(Module::iterator mi = M.begin(), me = M.end(); mi!=me; mi++) { // Iterates through all basic blocks of the function for(Function::iterator fi = mi...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
Have you tried running the verifier after ConditionProfile runs? Just add it to the pass manager to run right afterwards and see what it picks up. Nick Nehal Gandhi wrote: > > > Hi All, > > I am trying to write code for simple instrumentation. What I want to do > is to insert a call to an external function for result of each > cond...
2010 Jun 05
0
[LLVMdev] Inserting a function call into bitcode
...; > -----Original Message----- > From: Nick Lewycky [mailto:nicholas at mxc.ca] > Sent: Friday, June 04, 2010 2:29 AM > To: Nehal Gandhi > Cc: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] Inserting a function call into bitcode > > Have you tried running the verifier after ConditionProfile runs? Just > add it to the pass manager to run right afterwards and see what it picks up. > > Nick > > >
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
...I missing something during call > insertion or bitcode modification? I am using LLVM-2.6. The same code in > LLVM-2.5 works correctly. (except Type::getInt32Ty, llvm-2.5 has > Type::Int32Ty and no LLVMContext object) > > > > Thanks, > > Nehal > > > >     bool ConditionProfile::runOnModule(Module &M) > >     { > >         // Iterates through all functions of the module > >         for(Module::iterator mi = M.begin(), me = M.end(); mi!=me; mi++) > >         { > >             // Iterates through all basic blocks of the function > >...